Forum Discussion
Nastya_Khovrina
8 years agoSmartBear Alumni (Retired)
Hi Sachin,
You need to use the cloneStep(com.eviware.soapui.impl.wsdl.teststeps.WsdlTestStep, java.lang.String) method.
Please see a sample script:
def sourceStep = testRunner.testCase.testSuite.project.getTestSuiteByName("Test Suite 1").getTestCaseByName("Test Case 1").getTestStepByName("Test Step 1"); testRunner.testCase.testSuite.project.getTestSuiteByName("Test Suite 2").getTestCaseByName("Test Case 2").cloneStep(sourceStep,"NewTestStepName");
Related Content
- 12 years ago
Recent Discussions
- 15 years ago