Forum Discussion

sastowe's avatar
sastowe
Super Contributor
13 years ago

understanding the features of the log

My requirements when creating and running automated tests are different than my requirements for reporting on the tests. For creating and running, I have one big ol' suite. I have reusable components that I share within the suite. My suite is organized by functional area of the software into projects. Within each project are test items that represent tests of certain functionality. When it is time to run, I click run and go away. When I come back, everything is done. I have a log file that is sorted in a tree by suite/project/test item. Lovely. This works great for regression.



Sometimes for new development, the best way to do a test is by automation. I need a single log gile for a single test item no matter where it is in the suite or project. It is possible to pop that log to the top folder level along with the suite node or at teh same level as the suite? Then save just that node of the tree?



Thanks



S

2 Replies


  • Hi Stephanie,


     


    As far as I understand, you want to extract the log of a specific test item from the entirely test log from script, right? Currently, there is no built-in feature to do this. Please refer to this post to learn how to overcome this - you will have to create your own log parser.

  • I think that you can also try to export the desired branch of a log to the MHT file (that can be viewed in Internet Explorer only) or to unpacked storage (that can be viewed in any web browser by opening index.htm file) and save the exported log next to the project suite.