Publishing test results to Unified Reporting

The test result indicates the quality of the application under test. Different stakeholders to the application might want to check the quality of application but do not have the workbench installed. As a user of the workbench, you can publish the test result to HCL Quality Server so that others can view it from the web browser.

Before you begin

  • You must have installed HCL Quality Server on any machine and started it. The server is part of the product package. For more information about HCL Quality Server, see the HCL OneTest™ API documentation.
  • If HCL Quality Server is behind a firewall, you might not be able to connect to it. You must have configured the firewall so that it could allow connections on ports 5443 and 7828.
  • If you have legacy reports, you must have upgraded them to Web Analytics report format. To upgrade the legacy reports, right-click the legacy report and select Upgrade.

About this task

You can publish the Mobile and Web UI Live reports and Statistical reports.

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 parameters, the test result is published after the test run. For information about how to publish specific test result, see Publishing specific results to Unified Reporting.

Procedure

To set the publish parameters:

  1. Click Window > Preferences > Test > HCL Quality Server.
    Important: If you updated the product to version 9.1.1 and start the Streamline Eclipse (not Full Eclipse) flavor of the product, the HCL Quality Server preference will not be displayed. To view the preference in Streamline Eclipse, you must uninstall and then install the product.
  2. In Unified Reporting Server, type the URL of the server. The format is https://servername:5443 and click Test Connection.
  3. 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 following options based on the requirement:
    • Select Never to never publish the test results to the server.
    • Select Prompt to prompt 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.
  4. In Publish to Project, select a project that is in the server. The test result is published to that project. If there are no projects or you want to create a new project, click New Project. The new project will be created in the server.
  5. Click OK.

Results

Depending on the parameters that you have set, the test results will be automatically published to the Unified Reporting Server.

What to do next

To view the test results, click Reports on the HCL Quality Server landing page.

You can also view test results by accessing https://myserver:5443/results from the web browser. From version 9.2.0.1, you can view the Unified Reporting APIs by starting HCL Quality Server and accessing https://myserver:5443/api/explorer?root=/results from the web browser.

Feedback