You can add Wait as a step in the recorded test for a specified
duration. You can specify the wait time in milliseconds, seconds, minutes, or hours. Adding a
Wait step gives the application the required time to load the UI
elements and update the screen.
Procedure
-
Click the
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.
-
Select an existing edit branch or create a new edit branch.
-
Drag and drop the Wait element under any test step as required
from the General catalog in the Catalog
tab.
-
Click the Wait step.
The step details pane is displayed.
-
Perform the following steps in the step details pane:
- Specify the amount of time that the step must pause in
Duration.
- Select the unit of time for the timeout in Unit.
- Alternatively, you can select the Code checkbox to enter the
time and unit in the Duration text box.
- Optional: Enter a message to indicate the reason for the pause in the
Note text box.
Results
You have added a Wait step to pause the
test for a specific duration from the General catalog.