While editing a Web UI
test, you can add or insert browser navigation actions, such as Back, Forward, Close, Maximize,
Refresh, Restore, GoToUrl, and several others.
Before you begin
Ensure that you have created a Web UI test from a recording and have the
test script open in the test editor.
Procedure
-
Open a Web UI test script and in
the Test Contents area, click in the launch app node where you want the
navigation action to be inserted.
-
Click the Insert button and select Navigation action
(Web). Another way is to right-click the selection or click
Options and Insert in the test editor to select
the menu item.
-
In the Test Element Details section, select an item in the list of
object’s actions. You can also enter a value for the timeout.
The new navigation action is inserted before the script item you had initially
selected in the launch node.
-
Save the test.