Activate Automation Integrations

To submit automated execution results back to qTest Manager, make sure to activate the Automation Integration feature within your qTest Manager project. This step is requiredregardless of which automation integration offerings you choose to leverage:

Turning on automation integration settings and mapping execution results requires Project Admin permission.

How to Get Here

To activate Automation Integration Settings for a qTest Project, follow these steps:

  1. Select the Gear icon in the top header.

  2. In the drop-down selectAutomation Settings.

  3. The "Automation Settings" page displays. Select the Integration tab.

  4. In the Automation Integration section, switch ontheActivation Status using the toggle.

  5. Turning on the Automation Integration enables a Convert icon on a Test Case that allows you to convert a manual Test Case to an automation Test Case.

Map Automation Status to Test Run Status

After Automation Integration is turned on for your project,make sure to map your Automation Statuses to qTest Manager statuses:

  1. In the "Automation Settings" page, select+ Add Mapping.

  2. Input the Automation Status in the left column.

  3. Select one of qTest. Manager's statuses in the right column.

  4. You can select theDelete icon to delete an existing mapping.

  5. SelectSave.

Exampleto Map Statuses for UFT.Test Automation Scheduling

PASSED, FAILED, DONE, and WARNING are UFT's default valuesand will report to the Test Step level. PASS and FAIL are the agent values and will report to Test Log level following this logic:

  • If there is no FAILED step, the Test Log is PASS

  • Otherwise, the Test Log is FAIL

Tosca Integration

If you are using Tosca Commander, you can integrate a qTest Project with a Tosca Workspace by converting your manual qTest Test Cases to Tosca Automation Test Cases.

Each qTest Project can be integrated with one Tosca Workspace.

Prerequisites

  • Determine which Tosca Workspace you want to use for the qTest Integration.

  • Install the Tosca Commander REST Webservice (TCRS) using instructions found here. The Tosca Workspace URL used below, is defined through the TCRS.

  • Tosca Distributed Execution must be set up. For more information, refer to this article.

  • Your REST API will have to be accessible for this service to work correctly.

Enable and Configure the Tosca Integration

  1. In the Automation Settings page, turn on the Tosca Integration toggle to activate.

  2. In the Tosca Integration section, enter the:

    • Tosca Workspace URL

      • You will use the {Workspace} GET method highlighted in the example below as the Tosca Workspace URL. The {WORKSPACE} value should be the name of your Tosca Workspace where you want the converted qTest Test Cases to populate.

    • Username for Tosca Workspace Login

    • Passwordfor Tosca Workspace Login

  3. Try Connection.

    The Try Connection may take a few seconds, to a minute to complete, depending on your network. The Tosca Workspace you are integrating with qTest or the RestAPI cannot be open simultaneously when using the 'Try Connection.' If both are open at the same time, the 'Try Connection' option will fail.

  4. Save your integration entries at the top of the window.

  5. You will receive a pop-up confirming the Tosca Integration feature is on. You must refresh your browser for changes to take effect.

MORE INFORMATION: Convert Test Case to Tosca