Forum Discussion
I don't believe that you can write just a subsection of a log out to a file. However, while it doesn't give you seperate files, what you can do is use Log.AppendFolder and Log.PopLogFolder as wrappers around your User Stories. What that will do is give a visual separation in your commulative log of how the user stories are broken out. So, something like:
Log.AppendLogFolder('User story 1');
// run all your tests
Log.PopLogFolder();
Log.AppendLogFolder("User story 2');
//run all you tests
Log.PopLogFolder();
I've attached a Script Extension I wrote that combines that code with push/pop code for the indicator so that there is an on screen indicator of the different user stories as they run. The methods should be self explanatory but feel free to ask questions.
Thanks Robert!
- tristaanogre10 years agoEsteemed Contributor
No problem! Glad to help. If you use the extension, let me know if you like it and what features/additions you would like added to it. I'm always looking for more ways to enhance my own TestComplete usage.