Lesson 4: Modify test steps
In this lesson, you will learn how to modify an existing Web UI test from the Test Editor view.
Before you begin
Ensure that you have completed the previous lessons in this tutorial.
About this task
In this task, you will learn how to modify an existing recorded test step by changing the action from Click to Double click by using the Smartshot view, without re-recording the test.
User interface changes in an application can alter the behavior of recorded test steps. For example, after a UI update, the Employee ID field might require a double-click instead of a single click to enable editing. As a result, a previously recorded Click action might no longer work as expected.
You will also learn how to update the target UI element and refine object identification to ensure the test continues to work correctly after UI changes.
Smartshot editing is useful when the target element is modified due to UI updates. A target element is a UI element in the application that a test step interacts with during a test run. For example, in the step Click Edit text Employee Id, the Employee Id field is the target element.
Procedure
Results
You have modified the behavior of the recorded tests using Smartshots.
You have completed Lesson 4.
to expand the Smartshot view for better visibility.