Forum Discussion

johntaylor's avatar
johntaylor
Occasional Contributor
15 years ago

Test Log Output

Related to my previous threads and other similar threads, what I really want to do is this



Following a Test Run, produce a text file that contains the following.



Lists all tests in the project - whether they passed, failed or were ignored

and the summary sheet at the bottom (as per the current summary sheet).



I have tried writing some script using the examples provided in the Help playing about with the [Logs] collection, but although I can get lots of information out, this has only the tests run and not those ignored.



Something like this



Test Log 03/12/2009 11:06:43



Test        Description        Start        Finish        Status



Test1      xxxxxxxx            11:07      11:10        Passed

Test2      Test 2                -----        -----         Ignored

Test3      Big test              11:11       11:30        Passed



Summary




Total number of project test items: 3

Executed project test items: 2

Project test items executed successfully: 2

Failed project test items: 0

Ignored project test items: 1



Whilst, if you have online access the hierarchy of the Test Output is excellent, if you just want to print something off and stick it in a test folder, it is not obvious (if at all) if this cane be done (easily).



Thanks, John

     

11 Replies