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.
Ensure that you have completed the previous lessons in this tutorial.
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.
-
Right-click on the Click Edit text – Employee Id step and click
Select.
Checkboxes appear next to the steps.
-
Select multiple steps, such as duplicate Click Edit text – Employee Id
steps.
-
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.
-
Right-click the duplicate Click Edit text – Employee Id step and click
Disable to disable it to temporarily skip it during
test run.
Alternatively, click the Click Edit text – Employee Id step,
click the Advanced tab, and select the
Disable checkbox.
-
Right-click the disabled step and click Enable to enable
the step again.
-
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.
-
Right-click the Click Edit text – Employee Id step and click
Copy.
-
Right-click another step and click Paste.
The copied Employee Id step is pasted immediately after the
selected step.
-
Right-click the extra step and click Delete to
permanently remove it from the test.
-
Click Save.
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.
In the next lesson, you will learn how to add a new test
step from the Catalog. See Lesson 6.