Publishing existing test suite results to HCL OneTest™ Server
You can publish existing test suite result reports in HCL OneTest™ API that are not yet published to HCL OneTest™ Server without running the tests again. You can publish the test result reports to HCL OneTest™ Server so that others can view it from the web browser.
Before you begin
- Installed HCL OneTest™ Server and configured a project.
- Logged in to HCL OneTest™ Server and copied the offline user token generated by using the Create 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 HCL OneTest™ Server Documentation.
- Configured HCL OneTest™ API to publish test reports 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
- Choose from the following options and complete the task:
- Open the Results Gallery in HCL OneTest™ API, and select the test result instance from the list in the Instance field for the selected test suite.
-
Click the Publish to HCL OneTest
Server icon.
The Publish to HCL OneTest Server window is displayed.
-
Optionally, if you want to edit the result name or to add a label to the
report, complete the following steps:
-
Click Publish.
The selected test result report is published to the selected project on HCL OneTest™ Server.
-
Click HCL OneTest™ API.
in
The Select Suite Runs window is displayed.
- Select one or more test suites in the Selected Suites panel.
-
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.
- Select All to select all result instances
existing for the Test Suite.
-
Click OK.
The result reports that are available for the selected option are displayed.
-
Optionally, if you want to edit the result name or to add a label to the
report, complete the following steps:
-
Optionally, select and delete the published report instances that you do not
want to republish by completing the following steps:
- Select the report instance individually or select all the existing published reports by clicking the icon.
- Click the Delete icon .
- Click Publish.
Results
The selected existing test result reports are published to the configured project on HCL OneTest™ Server from HCL OneTest™ API.
What to do next
You can view the test result reports published to HCL OneTest™ Server. See Viewing reports published to HCL OneTest Server.