Forum Discussion
2 Replies
Sort By
- nmraoChampion Level 3Would you mind showing the current script which leading to the mentioned error?
- kishore530Occasional Contributor
Hello Rao, Thanks for your promptness.
this is groovy script i have:
import com.eviware.soapui.*;
// Identify test step
def workspace = testRunner.testCase.testSuite.project.workspace
def testCase = workspace.getProjectByName("project2").testSuites["test suite2"].testCases["test case2"]
def testStep = testCase.testSteps["test step2"]// Run test step
context.x="5";
testStep.run( testRunner, context)i have the above groovy script in project1 and i am launching testrunner on test suite1(present in project1)