Forum Discussion
SmartBear_Suppo
Alumni
12 years agoHi,
If I understand correctly - you are creating the project and test suites through groovy scripts.
If so - you can use
If you want to set the tear down script for individual test suite then use
I hope this helps.
Best Regards,
Prakash
SmartBear Sweden
If I understand correctly - you are creating the project and test suites through groovy scripts.
If so - you can use
project.setAfterRunScript( script);method to set the tear down script at the location which you have mentioned, link to javadoc: http://www.soapui.org/apidocs/com/eviwa ... .String%29. Just to make it clear - this script will run only once after all the test suites are executed.
If you want to set the tear down script for individual test suite then use
testSuite.setTearDownScript( script ), javadoc: http://www.soapui.org/apidocs/com/eviwa ... .String%29.
I hope this helps.
Best Regards,
Prakash
SmartBear Sweden