silverrail
13 years agoOccasional Contributor
[Resolved] Clone multiple TestSteps to another TestCase
In one TestCase, I have 7 consecutive TestSteps that I want to clone into each of the other 5 TestCases in my project. I want the name of each TestStep to be the same in every TestCase.
Today, I cloned each TestStep, one by one, from the original TestCase to each of the other TestCases, a total of 35 individual "Clone" operations. For each TestStep, selecting "Clone TestStep" in the right-mouse menu displays a dialog box in which the proposed TestStep Name is in this form:
That's because the default Target TestCase is the current one, and within a TestCase each TestStep must have a unique name.
So, for each "Clone" operation I must:
(1) Delete the words "Copy of " from the proposed TestStep Name, and
(2) Select the proper Target TestCase
Is there a more efficient way to accomplish this without doing each TestStep individually, removing "Copy of" and selecting the proper Target TestCase?
If not, because this would seem to be a frequent need, I would propose a "Bulk Clone TestSteps" enhancement in which the user first selects the Target TestCase, then chooses the TestSteps to be cloned, and clicks a "Clone" or "OK" button. soapUI would clone all of the selected TestSteps to the specified Target TestCase, without altering the names of these TestSteps.
Today, I cloned each TestStep, one by one, from the original TestCase to each of the other TestCases, a total of 35 individual "Clone" operations. For each TestStep, selecting "Clone TestStep" in the right-mouse menu displays a dialog box in which the proposed TestStep Name is in this form:
Copy of original-TestStep-name
That's because the default Target TestCase is the current one, and within a TestCase each TestStep must have a unique name.
So, for each "Clone" operation I must:
(1) Delete the words "Copy of " from the proposed TestStep Name, and
(2) Select the proper Target TestCase
Is there a more efficient way to accomplish this without doing each TestStep individually, removing "Copy of" and selecting the proper Target TestCase?
If not, because this would seem to be a frequent need, I would propose a "Bulk Clone TestSteps" enhancement in which the user first selects the Target TestCase, then chooses the TestSteps to be cloned, and clicks a "Clone" or "OK" button. soapUI would clone all of the selected TestSteps to the specified Target TestCase, without altering the names of these TestSteps.