Forum Discussion
1 Reply
- AaronliuFrequent ContributorHi,
if you wanted to call a test case before current test case running, maybe you can try to copy the code below into your related test script (just need to replace name of test case you invoked)
import com.eviware.soapui.support.types.StringToObjectMap
def tsr = context.getProperty( "#TestSuiteRunner#" )
if( tsr != null ){
testRunner.testCase.testSuite.getTestCaseByName("TestCaseName").run(new StringToObjectMap(context), false)
}