This is a migrated thread and some comments may be shown as answers.

Generate a Summary of test ran

2 Answers 53 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Pieter
Top achievements
Rank 1
Pieter asked on 30 Sep 2015, 12:20 PM

Hi,

So I have the following scenario, I have a 'controller' test that runs different sets of tests now they are all called using test as step.

Now I want to create a report based on the following

Steps passed.

Steps not ran.

Step failures.

I did take a look at the documentation at http://docs.telerik.com/teststudio/advanced-topics/coded-samples/general/external-log-file, but that did not help as it only writes the 'controllers' results to the log file and not all the child tests results. I have also tried creating a property on the test and setting it via code but each time the test returns to the 'controller' the property is set to null again (this is rather annoying but gather that you clear all resources from memory once that test is done?) so that did not work for me, not at all.  So I really just want to get the report working for myself, We do and will use the built in report but it does not give me the results I require. Also I have set the test to have a OnAfterTestCompleted and like I said it only gives me the 'controllers' results.

 

2 Answers, 1 is accepted

Sort by
0
Pieter
Top achievements
Rank 1
answered on 02 Oct 2015, 12:36 PM

I managed to Resolve this.

I created a Object where all results are published to after the test is ran.

I can then access the Object after the controller test is run from the OnAfterTestCompleted method and get all results is required.

 Regards

 

0
Ivaylo
Telerik team
answered on 05 Oct 2015, 10:29 AM
Hello Pieter,

Thanks for the update.
Glad to hear you figured it out.

I am closing this case.

Regards,
Ivaylo
Telerik
 
The New Release of Telerik Test Studio Is Here! Download, install,
and send us your feedback!
Tags
General Discussions
Asked by
Pieter
Top achievements
Rank 1
Answers by
Pieter
Top achievements
Rank 1
Ivaylo
Telerik team
Share this question
or