Forum Discussion

kchoudhury's avatar
kchoudhury
Contributor
14 years ago

How to get summary of logs of a Project Suite using a script

I need to obtain a summary of the log result from my project suite containing 5 project items after its completion  :



Summary Result should contain:

1)Count of Executed Test Items

2)Count of Test Items Passed

3)Count of Failures

4)Count of Warning.



What i have already tried:

I am able to parse logs in a specific project and get the above mentioned counts , but during a project suite run the logs are generated under Project Suite hierarchy so these counts are always 0.



Is there any way i can do this?

  • Hello Kaushik,



    Project suite logs cannot be accessed from script. You can export the log at the end of the test execution by using the Log.SaveResults method. Also, we have a suggestion to make it possible to export only the Summary page of the test log in our database, and your request has increased its rating. Thank you.