Copying test steps from one test to another
When a set of steps in a test is required in another test, you can copy them and paste them into an existing test or an empty test. You can select the required steps from a test to copy, although they are not in a sequence. If there are any variables associated with the selected step, they are also copied with the step.
Before you begin
You must have completed the following tasks:
- Ensured that you are assigned a Team Space Owner, Project Owner, or Member with a Tester role to create or edit a test resource.
- Read and understood the information in Edit branch overview and Create or select an Edit branch.
- Ensured that your project contains a Web UI test.
- Opened the test in Test Editor. See Editing a Web UI test.
Procedure
-
Click the
button displayed on the Test
Editor page.
The Edit button appears only when no active edit branch is selected.
Alternatively, right-click the test in the test navigator panel and select Edit.
The Edit branch dialog is displayed.If the Edit branch dialog is not displayed, then go to step 3. - Select an existing edit branch or create a new edit branch.
-
Right-click a step or a container and click
Select.
Checkboxes are displayed for each step.
- Select the checkboxes to select any step or a container with multiple steps.
- Right-click a selected step and click Copy.
-
Perform one of the following steps:
- Open a test, right-click a step where the copied steps are required, and then select Paste.
- Open an empty test, right-click the Configure settings and data step, and then select Paste.
-
Click the Save icon
to save the
modifications.