Setup/Teardown for Test Suite and Test Case


This is a companion discussion topic for the original entry at


Hi , this is shiva,

I would like to add some more fields to the summary of the Report, is it possible?
If yes, where should I add my customized fields in the code?
Please help me with this.



Hi, this is Akshay,
Can I call testcase from setUp() method? If yes, the how can I call it?


Hi Akshay,
I think you can. I called a test case from setupTestcase() instead of setup(). The code would be:

WebUI.callTestCase(findTestCase(‘path of the test case you want to call’), [:], FailureHandling.STOP_ON_FAILURE)

After you done, remember to change skipped = false instead to activate the code. @SetupTestCase(skipped = false)

Hope this would help!