Unified reports for functional test scripts
HCL DevOps Test UI (Test UI) generates unified reports for functional test scripts immediately after test runs. You can view the reports in the default browser window.
You can view multiple elements in a unified report. The following table lists the elements with their description:
Element | Description | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Test Report panel |
Displays the following information:
|
||||||||||||||
Summary tab |
Displays elements as listed in the following table:
|
||||||||||||||
Resource tab |
Displays the following information:
|
||||||||||||||
Export option | Exports the unified report to different file formats when you select this option. You can save the exported file in the required format and view the test details whenever you require. See Exporting unified reports. | ||||||||||||||
Details panel | Displays all the test steps with detailed information. |
Report details | Description | Action |
---|---|---|
Filtered results | Displays two fields that you can use to
filter the passed or failed test results. The filtered results are
displayed in the Test steps section. One of
the following results is displayed and the result depends on the
item selected in the first field: One of the following results is displayed and the
result depends on the item selected in the second field:
|
Select an item from the first field to display filtered test suits and select an item from the second field to display filtered test steps. |
Test steps |
Displays the following details based on the type of test that was run:
|
Select a test or test step to view the corresponding details. |
View test or step in Test UI | Displays the specific test or test step in Test UI. The selected test step is highlighted. | Click the icon. |
Type of tests |
Displays the type of test that was run as follows:
|
Not applicable |
Browser or runtime environment |
Displays either of the following icons:
|
Hover the mouse pointer over the browser icon to view the browser name and version. |
Screen captures | Displays the screen captures as a slide show. | Click the icon. |
Test run information | Displays the test information such as the AUT, host, and duration of the test. | Hover the mouse pointer over the icon. |
Expand view of test steps |
Displays the complete view of details of test steps. |
Click and drag the resize button . Restriction: The Internet Explorer browser does not
display the resize button. |
Failed tests or steps |
Displays the number of tests or steps that failed as follows:
|
Not applicable |
Report details | Description | Action |
---|---|---|
Filtered results | Displays two fields that you can use to
filter the passed or failed test results. The filtered results are
displayed in the Test steps section. One of
the following results is displayed and the result depends on the
item selected in the first field: One of the following results is displayed and the
result depends on the item selected in the second field:
|
Select an item from the first field to display filtered test suits and select an item from the second field to display filtered test steps. |
Test steps |
Displays test steps with details and the corresponding screen captures of steps, if applicable. Steps that failed are highlighted with an exception. |
Select a test or test step to view the corresponding details. |
View test or step in Test UI | Displays the specific test script or test step in Test UI. The line number of the test script is highlighted. | Click the icon. |
Browser or runtime environment |
Displays either of the following icons:
|
Hover the mouse pointer over the browser icon to view the browser name and version. |
Screen captures | Displays the screen captures as a slide show. | Click the icon. |
Test run information | Displays the test information such as the AUT, host, and duration of the test. | Hover the mouse pointer over the icon. |
Expand view of test steps |
Displays the complete view of details of test steps. |
Click and drag the resize button . Restriction: The Internet Explorer browser does not
display the resize button. |
Failed tests or steps |
Displays the icon for the number of steps that failed in a single test. |
Not applicable |
Additional information in Unified reports for HTML applications
You can view additional information in a unified report after a functional test run, if you set preferences in Test UI before you run the test.
You can set the following preferences in Test UI before you run the test:
-
To set the user profile, you can go to Browser User Profile checkbox.
, and then select theThe profile path is displayed in the field. The checkbox is not selected as the default option.
-
To clear cache or browser history, you can go to Clear cache or Clear history checkboxes.
, and then select theThe checkboxes are not selected as the default options.
- To delete cookies, you can add
deleteCookies()
in the test script.
If you configured these preferences earlier and do not want to view the additional information for the current test, you can change the preferences and then run the test.
After you set the preferences in Test UI and run the test, the additional information that you can view in the unified report are listed in the following table:
Additional information | Location in the unified report |
---|---|
Profile name |
The Start application section of the Details panel. The profile path is displayed. |
Clear cache |
The Start application section of the Details panel. Clear cache is displayed as either False (default option) or True. |
Clear history |
The Start application section of the Details panel. Clear history is displayed as either False (default option) or True. |
Delete cookies |
The Details panel. The script about the Delete cookies information is displayed as a step. |