Need a Feature to Clone a Test Step to Multiple Target Test Cases
In reference to the above thread creating an idea to vote it up and get the feature added to SoapUI. Currently, when cloning, only one target TestCase can be selected. If we have the ability to clone a test step to multiple target test cases, user will not have to perform cloning action multiple times.
This would be nice. In the meantime, have you created a groovy script to do this? I found the following for cloning a test case into multiple test suites and I think all I need to do is add the test step portion (getTestStepByName ??) to complete it.
def slaveTestCase = testRunner.testCase.testSuite.project.getTestSuiteByName("Test Suite").getTestCaseByName("Name") testRunner.testCase.testSuite.project.getTestSuiteByName("Test Suite").cloneTestCase(slaveTestCase,"NewName")
Relate links I found:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.