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:
- 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.
- Click the
icon.
- 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:
- In the Result Name cell, specify a name of the result that you want to
identify it with.
- 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 (
).
Note: If the report instance you selected to publish already exists as a
published report in the selected project, a warning icon (

) is shown against the report. Selecting this instance republishes the report.
- Click Publish.
The selected test result report is published to HCL OneTest™ Server.
Publish several test suite result reports
- In HCL OneTest™ API, click . The Select Suite Runs window is displayed.
- 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:
- Click OK.
The result reports available for the selected option are displayed in the Unified
Reporting window.
- 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:
- In the Result Name cell, specify a name of the result that you want to
identify it with.
- 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 (
).
Note: If the report instance you selected to publish already exists as a
published report in the selected project, a warning icon (

) is shown against the report. Selecting this instance republishes the report.
- 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
icon, and then click the Delete icon (
).
- 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.