Running a Web UI test
You can run a Web UI test in HCL DevOps Test Hub (Test Hub) after you record the test, and to verify that the web application performs as expected.
Before you begin
- 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.
About this task
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.
Procedure
-
Log in to Test Hub.
The Projects page of the initial team space is displayed.
-
Click to open the project that contains the test assets.
The Overview page of the project is displayed.
-
Click .
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:
- Chrome
- Edge
- Firefox
Note:You must have accepted the license agreements for Google Chrome and Microsoft Edge browsers in the Third-Party Agreements section after navigating to . 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 Configure settings and data
step.
-
Click the Try Now icon
to begin the test run.
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.
- A checkmark
- 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.
-
Click
to open the Results page, where you can view the
results, reports, and logs of the completed test run.
Results
What to do next
You can view the following information:
- The console output, which includes error messages and logs. See Accessing console output.
- 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.