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.

Procedure

  1. Click the Edit 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.
  2. Select an existing edit branch or create a new edit branch.
  3. Right-click a step or a container and click Select.
    Checkboxes are displayed for each step.
  4. Select the checkboxes to select any step or a container with multiple steps.
  5. Right-click a selected step and click Copy.
  6. 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.
  7. Click the Save icon to save the modifications.

Results

You have copied a set of steps from a Web UI test to another test.