Unified reports for functional test scripts

HCL OneTest 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:

  • Total number of tests in numerals

  • A doughnut chart with green or red rings

    The green ring represents the tests that passed, and the red ring represents the tests that failed. Additionally, when you hover the mouse pointer over the green ring, the total number of tests that passed is displayed, and when you hover the mouse pointer over the red ring, the total number of tests that failed is displayed.

  • A chart legend with green and red colors

    The total number of tests that passed is represented by the green color, and the total number of tests that failed is represented by the red color.

Summary tab
Displays elements as listed in the following table:
Elements Description
Applications under test Displays the names of all the applications under test
Start time Displays the day, date, and time when the test run began
End time Displays the day, date, and time when the test run completed
Duration Displays the duration of the test run
Tests Displays the number of total, passed, and failed tests
VP Steps Displays the number of total, passed, and failed verification point steps
Resource tab

Displays the following information:

  • Platform

    You can hover the mouse pointer over the platform's icon (for example, ) to view information about the platform that you used for the test run.

  • Application runtime

    You can hover the mouse pointer over the browser's icon (for example, ) to view information about the application runtime environment and the total number of tests in numerals.

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.
The Details panel of a unified report consists of multiple elements and icons with information about the test steps. The following table provides the list of details that HCL OneTest UI displays in the panel:
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:
  • All the tests in a test suite
  • Only the passed tests in a test suite
  • Only the failed tests in a test suite
One of the following results is displayed and the result depends on the item selected in the second field:
  • All the test steps
  • Only the passed steps
  • Only the failed steps
  • Only the passed verification point steps
  • Only the failed verification point steps
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:

  • For Web UI, mobile, and Windows tests: Test steps with details and the corresponding screen captures of steps, if applicable. Steps that failed are highlighted with an exception.
  • For compound tests: Details of the Web UI, mobile, or Windows tests that are contained in the compound test.
  • For the AFT Suite: Details of all the Web UI, mobile, or compound tests that are part of the AFT Suite.
Select a test or test step to view the corresponding details.
View test or step in HCL OneTest UI Displays the specific test or test step in HCL OneTest UI. The selected test step is highlighted. Click the icon.
Type of tests

Displays the type of test that was run as follows:

  • The Icon for single test icon is displayed for a single test.
  • The Icon for compound test icon is displayed for a compound test.
  • The Icon for AFT Test suite icon is displayed for an AFT Suite.
Not applicable
Browser or runtime environment

Displays either of the following icons:

  • Icon of the browser (for example, ) that was used for web-based application
  • Icon of Runtime environment Icon for displaying tool tip for run time environment that was used to run the non-web-based application
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 for screen shot carousel 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:

  • The The number against the icon displays the failed tests in compound tests icon is displayed for compound tests.
  • The The number against the icon displays the failed steps in a single test icon is displayed for a single test.
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:
  • All the tests in a test suite
  • Only the passed tests in a test suite
  • Only the failed tests in a test suite
One of the following results is displayed and the result depends on the item selected in the second field:
  • All the test steps
  • Only the passed steps
  • Only the failed steps
  • Only the passed verification point steps
  • Only the failed verification point steps
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 HCL OneTest UI Displays the specific test script or test step in HCL OneTest UI. The line number of the test script is highlighted. Click the icon.
Browser or runtime environment

Displays either of the following icons:

  • Icon of the browser (for example, ) that was used to run HTML tests
  • Icon of Runtime environment Icon for displaying tool tip for run time environment that was used to run non-HTML tests
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 for screen shot carousel 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 The number against the icon displays the failed steps in a single test 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 HCL OneTest UI before you run the test.

Note: This feature is applicable only when you run the functional tests for HTML applications by using the Web UI engine.

You can set the following preferences in HCL OneTest UI before you run the test:

  • To set the user profile, you can go to Window > Preferences > Test > Test execution > UI Test Playback > Browser, and then select the Browser User Profile checkbox.

    The 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 Window > Preferences > Test > Test execution > UI Test Playback > Desktop, and then select the Clear cache or Clear history checkboxes.

    The 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 HCL OneTest 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.