12 years ago
Externalizing log without TearDown Script ?
Hi
Here's my problem : I have a project with 1 800 TestCase. I would like to externalize the log in a file. I can do it if I use the TearDown Script, but it means to change all of the 1 800 TestCases... so boring.
Is there a solution for doing that in one only script ? I was thinking that testRunner.getResults() would give me all the TestCase's log of the TestSuite, but in fact I only have the log of the current TestCase...
Thank you
Yan.
EDIT : done, i didn't notice that there were a Teardown Script for the TestSuite. See this tutorial :
http://qastrategies.blogspot.fr/2012/05 ... using.html
Here's my problem : I have a project with 1 800 TestCase. I would like to externalize the log in a file. I can do it if I use the TearDown Script, but it means to change all of the 1 800 TestCases... so boring.
Is there a solution for doing that in one only script ? I was thinking that testRunner.getResults() would give me all the TestCase's log of the TestSuite, but in fact I only have the log of the current TestCase...
Thank you
Yan.
EDIT : done, i didn't notice that there were a Teardown Script for the TestSuite. See this tutorial :
http://qastrategies.blogspot.fr/2012/05 ... using.html