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!

Can we have some parameter for parallel execution in the @setUP tag?
so that all the testcases will run in parallel mode .

Hi This is Deepa, I have written so many test cases in an individual manner. In my case, Each and every test case will have login and logout procedure, but when consolidating the test cases, I need to use the Login and logout only once. Now, how can I use the Setup and Tear down method?
Can Anyone Please guide me in this?