Publishing existing test suite results to HCL OneTest™ Server

If you have existing test suite result reports in HCL OneTest™ API that are not yet published to HCL OneTest™ Server, you can publish them without running the tests again. As a user of HCL OneTest™ API, you can publish the test result reports to HCL OneTest™ Server so that others can view it from the web browser.

Before you begin

  • You must have installed HCL OneTest™ Server and configured a project. For more information about HCL OneTest™ Server, see HCL OneTest Server Documentation.
  • You must have logged in to HCL OneTest™ Server and copied the offline user token generated by using the Offline Token option from the menu in the HCL OneTest™ Server Header. You must have copied the offline user token in the HCL OneTest™ API UI. For more information, see Accessing HCL OneTest™ Server.

You must have configured HCL OneTest™ API to publish test reports to HCL OneTest™ Server. For more information, see Publishing test results to HCL OneTest™ Server.

About this task

You can publish a specific test suite result report or publish several test suite result reports from HCL OneTest™ API to the selected project on HCL OneTest™ Server. You can change the name of the result report or add labels to the reports before publishing them. You can also know if the reports are already published and choose to republish those reports.

Procedure

Publish a specific test suite result report by completing the following steps:

  1. In HCL OneTest™ API, open the Results Gallery, select the test result instance from the list in the Instance field for the selected test suite.
  2. Click the image of the unified reporting icon. icon.
  3. In the Unified Reporting window, if you want to edit the result name or to add a label to the report, select the report row and then edit any or all the following fields:
    1. In the Result Name cell, specify a name of the result that you want to identify it with.
    2. In the Labels cell, specify tag names or comments to associate with the results. You can also add a label to the selected report by using the Add Labels icon (image of the icon).
    Note: If the report instance you selected to publish already exists as a published report in the selected project, a warning icon (image of the icon) is shown against the report. Selecting this instance republishes the report.
  4. Click Publish.

    The selected test result report is published to HCL OneTest™ Server.

Publish several test suite result reports

  1. In HCL OneTest™ API, click Tools > Publish to Unified Reporting. The Select Suite Runs window is displayed.
  2. In the Select Suite Runs window, you must select one or more Test Suite in the Selected Suites panel. Then you must select the test result report instances for any the following options:
    • Select All to select all result instances existing for the Test Suite.
      Note: This option is selected by default.
    • Select Date Range to select all result instances created in the selected date range.
    • Select Only run by me to select result instances that were created by the tests you executed.
      Note: This option is selected by default.
  3. Click OK.

    The result reports available for the selected option are displayed in the Unified Reporting window.

  4. In the Unified Reporting window, if you want to edit the result name or to add a label to the report, select the report row and then edit any or all the following fields:
    1. In the Result Name cell, specify a name of the result that you want to identify it with.
    2. In the Labels cell, specify tag names or comments to associate with the results. You can also add a label to the selected report by using the Add Labels icon (image of the icon).
    Note: If the report instance you selected to publish already exists as a published report in the selected project, a warning icon (image of the icon) is shown against the report. Selecting this instance republishes the report.
  5. If you do not want to republish the reports, you can select the report instance individually, or select all the existing published reports by clicking the image of the icon icon, and then click the Delete icon (image of the icon).
  6. Click Publish.

    The selected test result report is published to HCL OneTest™ Server.

Results

The selected existing test result reports are published to HCL OneTest™ Server from HCL OneTest™ API.

What to do next

You can proceed to view the test result reports published to HCL OneTest™ Server. For instructions, see Viewing reports published to HCL OneTest™ Server.

Feedback