Forum Discussion
SmartBear_Suppo
14 years agoSmartBear Alumni (Retired)
Hello!
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
Related Content
- 8 years ago
Recent Discussions
- 22 days ago