Forum Discussion
SmartBear_Suppo
Alumni
12 years agoHi,
I am sorry since you are using script assertion we have to define the testRunner object,
Thanks,
Jeshtha
I am sorry since you are using script assertion we have to define the testRunner object,
def groovyUtils = new com.eviware.soapui.support.GroovyUtils( context );
def testCase = context.testCase;
//def testStep = context.getTestStepAt(1);
def testStep = testCase.getTestStepByName("TestStep name");
//def testStep = testCase.testSteps["Delay"];
testRunner = new com.eviware.soapui.impl.wsdl.testcase.WsdlTestCaseRunner(testCase, null);
testStepContext = new com.eviware.soapui.impl.wsdl.testcase.WsdlTestRunContext(testStep);
testStep.run(testRunner, testStepContext);
Thanks,
Jeshtha