Forum Discussion
SmartBear_Suppo
Alumni
15 years agoHello!
The error message says that there is no method runTearDownScript(), and suggests that you might have meant to use the method runTearDownScript( TestSuiteRunContext, TestSuiteRunner ).
You're script might be invoked with these variables -- it depends on where you're script is placed. You want to do something like this:
Regards!
/Henrik
eviware.com
The error message says that there is no method runTearDownScript(), and suggests that you might have meant to use the method runTearDownScript( TestSuiteRunContext, TestSuiteRunner ).
You're script might be invoked with these variables -- it depends on where you're script is placed. You want to do something like this:
project = testRunner.getTestCase().testSuite.getProject()
count = project.getTestSuiteCount()
log.info count
for( int i = 0; i < count; i++)
{
log.info i
log.info project.getTestSuiteAt(i).name
b = project.getTestSuiteAt(i)
b.runTearDownScript( context, testRunner )
}
Regards!
/Henrik
eviware.com