Forum Discussion
SmartBear_Suppo
14 years agoSmartBear Alumni (Retired)
Hi,
You will need to alter the script a bit, try this:
Regards,
Dain
eviware.com
You will need to alter the script a bit, try this:
import com.eviware.soapui.impl.wsdl.panels.support.MockTestSuiteRunner
import com.eviware.soapui.impl.wsdl.panels.support.MockTestSuiteRunContext
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)
mockRunner = new MockTestSuiteRunner( b )
mockContext = new MockTestSuiteRunContext( mockRunner )
b.runTearDownScript( mockContext, mockRunner )
}
Regards,
Dain
eviware.com
Related Content
Recent Discussions
- 22 days ago