You can run a Web UI test in Test after you record the test,
and to verify that the web application performs as expected.
You must have completed the following tasks:
Ensured that you are assigned a Team Space Owner, Project Owner, or Member
with a Tester role to create or edit a test resource.
Ensured that your project contains a Web UI test in the test navigator
panel.
When you play back the test, the test runs in the browser that is used to record the
test. The progress bar shows the progress of the test, while the three color-coded
boxes display the counts of passed steps, failed steps, and errors. You can view the
step details of the first failed step or error step by clicking the respective
color-coded boxes. As the test runs, you can view checkmarks for the steps that pass
and crossmarks for the steps that fail. After the test run is complete, you can view
the overall results on the Results page.
Log in to Test.
The Projects page of the initial team space is
displayed.
Click My projects > project_name to open the project that contains the test assets.
The Overview page of the project is displayed.
Click Author > Test Editor.
The Test Editor page and the test navigator panel are
displayed.
Click the .yaml file to open the test.
The test steps are displayed on the Test Editor
page.
Perform the following steps to specify the browser that you must use for the
test run:
Click the Configure settings and data
step.
The Configure settings and data panel is displayed.
Select one of the following options from the
Browser drop-down list:
Browser
Device profile
Device from the list of devices for the configured device
cloud
The browser that is used to record the test is selected as the
default browser and the browser specified here modifies the default
browser.
Note: You must have accepted the license agreements for
Google Chrome and Microsoft Edge browsers in the Third-Party
Agreements section after navigating to Account > Account Settings. If the third-party agreements are not yet accepted, the list
options display links so that you can navigate directly to the agreement and
accept the terms.
Click the icon, and then select the Run on Default Cluster
option to begin the test run.
You can also select the Run on Personal Agent option
if the personal agent is in the ready state.
You can view the following
stages during the test run:
In transition: The test setup is in
progress.
Running: The test run is active.
Complete: The test run is completed. This section
also displays the time taken for test run.
During the Running phase, the following step
result indicators are displayed with the time taken to process each
step:
A checkmark appears for the passed step.
An error mark appears for the steps with an error.
A crossmark appears for the failed step.
An info icon appears for the With step that
indicates a new screen or window.
The Results tab displays the test as
In Progress during the test run.
After the test run is completed, the Results tab
displays the test as Pass or Fail.
The Result page supports selecting individual
items from the list. When a row is selected, the corresponding high-level
information is displayed in the top banner of the Test Editor.Figure 1. Running a Web UI test
Click to open the Results page, where you can view the
results, reports, and logs of the completed test run.
The results, reports, and logs on the Results page
after the test completes the run.
The summary of the test run, which includes passed or failed status, count
of passed or failed tests or test steps, and the verification points in the
functional report. See Viewing a Functional Report.