Lesson 5: Manage test steps

In this lesson, you will learn how to modify and manage recorded Web UI test steps by using the right-click menu to reorder, reuse, disable, or delete steps.

Before you begin

Ensure that you have completed the previous lessons in this tutorial.

About this task

This task demonstrates how to manage recorded Web UI test steps by using the right-click menu. You will learn how to reorganize test steps, reuse existing steps, temporarily disable steps, and remove unnecessary or duplicate steps to keep your test flow clean and maintainable.

The examples in this task use the Employee ID step to show how these actions can be performed while editing an existing Web UI test.

Procedure

  1. Right-click on the Click Edit text – Employee Id step and click Select.

    Checkboxes appear next to the steps.

  2. Select multiple steps, such as duplicate Click Edit text – Employee Id steps.
  3. Right-click the selected steps to open the context menu.

    Once the steps are selected, additional options such as Extract Steps, Deselect All, and Disable become available.

  4. Right-click the duplicate Click Edit text – Employee Id step and click Disable to disable it to temporarily skip it during the test run.

    Alternatively, click the Click Edit text – Employee Id step, click the Advanced tab, and select the Disable checkbox.

  5. Right-click the disabled step and click Enable to enable the step again.
  6. Use the Move Up and Move Down options to ensure that the Click Edit text – Employee Id occurs at the correct point in the test sequence. You can reorder the steps using the following options:
    • Right-click a selected step and click to move the step earlier in the test flow.
    • Right-click a selected step and click to move the step later in the test flow.
  7. Right-click the Click Edit text – Employee Id step and click Copy.
  8. Right-click another step and click Paste.

    The copied Employee Id step is pasted immediately after the selected step.

  9. Right-click the extra step and click Delete to permanently remove it from the test.
  10. Click Save.

Results

Duplicate steps are disabled or removed, steps are reordered and copied as needed, and the test is updated with the new step sequence.

You have completed Lesson 5.

What to do next

In the next lesson, you will learn how to add a new test step from the Catalog. See Lesson 6.