Publishing test result to HCL OneTest™ Server
The test result indicate the quality of the application under test. There could be different stakeholders to the application who do not have the product installed but want to check the quality of application. You, as the user of the product, can publish the test result to HCL OneTest™ Server so that others can view it from the web browser.
Before you begin
- You must have installed the HCL OneTest™ Server and started it. The server is part of the product package. For more information about HCL OneTest™ Server, see the Information Center.
- If the HCL OneTest™ Server server is behind a firewall, you might not be able to connect to it. You must configure the firewall so that it can allow connections on ports 5443 and 7828.
About this task
To play back Web UI tests and generate reports in HCL OneTest™ Server, you must configure HCL OneTest™ Server from the Web UI Test perspective. To play back Functional tests and generate reports in HCL OneTest™ Server, you must configure HCL OneTest™ Server from the Functional Test perspective.
You can choose to set the publish parameters once in the Preference page so that you do not have to do it after every run or you can set the parameters every time for the specific result that you want to publish. Based on the publish parameters, the test result is published after the test run. For information about how to publish specific test result, see Publishing specific result to HCL OneTest Server.
Procedure
- Click .
- Type the URL of the server. The format is https://servername:5443 and click Test Connection.
- Specify the offline user token that you created on the server. To create a token on HCL OneTest™ Server, see Generating an offline token.
-
In Publish result after execution, select when to publish test result.
In the initial stage when you are debugging a test, you might not want to publish the test result.
Select one of the options based on your need.
- Select Never to never publish the test results to the server.
- Select Prompt to ask you to publish the test results after every test
run. Note: A command line run will always publish the test results even if the workbench is set to Prompt.
- Select Always to publish the test results after every test execution.
- In Publish to Project, select a project that you are a member of on the server. The test result is published to that project. You cannot create a new project from the desktop client. If there are no projects or you are not a member of any project, create the project or become a member of a project on the server.
- In Reports, select the reports that you want to publish to the server.
- Click Apply and Close.
Results
What to do next
- Log in to the server.
- Click the Results page and then expand the test.
- Click the published report links. The report opens in a new browser.