Editing a test that uses application designs
You can edit the Web UI tests that were created by using the application designs to add any missing details or actions as required.
Before you begin
- Recorded a Web UI test by using the configured application designs. See Recording a Web UI test by using application designs.
- Read and been familiar with the addition of user actions in a test. See Adding user actions in a test.
Procedure
- Open a Web UI test that was created by using the configured application designs.
-
Check all the test steps to verify whether the object, action, and the associated
content or label are correct.
You can modify the following values for an object:
- Graphic object
- Object's action
- Object identified byNotes:
- If an object is identified by Xpath, you must change the identifier from Xpath to a visibly identifiable property such as Content and then provide the value in the text box.
- If a control has an image associated with a label, then the control is identified as an image rather than the actual control type. Before running the test, you must edit the control type to assign the correct property.
-
Add steps for any missing user actions in the test.
You can add user actions in the Test Contents area or from the SmartShot view.
- Click the Launch application node in the Test Contents area and update the application URL in the Application Details pane as required.
- Save the test.
What to do next
You can perform the following actions:
- Run the test if the web application is deployed and available to run. You must enable self healing or guided healing when you run the test to update the test with the actual screens of the application. See Running a Web UI test.
- Update the test by using the collected data after you run the test. See Updating tests by using the guided healing feature.