Tosca qTest integration

You can integrate Tricentis Tosca and qTest, which allows you to combine the best of both worlds:

  • qTest's Application Lifecycle Management (ALM) integration and release planning.

  • Tricentis Tosca's automation capabilities.

When to use what

Tricentis Tosca is your on-premise automation platform. Here is where you design automated tests and create all necessary links between Tricentis Tosca and qTest.

qTest is available on premise or as a cloud-based product. In qTest, plan your releases and link them to requirements, i.e. your test objectives. You can use the requirements that you specified in your ALM tools, for instance Jira. For more information on working with qTest, see the qTest documentation.

Prerequisites

To integrate Tricentis Tosca and qTest, you must meet the following requirements:

  • You have installed Tricentis Tosca and the Tricentis Tosca Server.

  • You have installed qTest OnDemand 10.2 or OnPremise 10.2.

  • You are an Elite qTest user. Only Elite users have access to qTest Launch, which you need to run your tests.

Basic workflow

To integrate Tricentis Tosca and qTest, perform the following actions:

  • Set up the integration infrastructure.

  • Create the necessary links and run your tests.

Set up the integration infrastructure

To set up the necessary infrastructure, follow the steps below:

  1. In Tricentis Tosca, enable the qTest integration AddIn:

    • Open Tricentis Tosca and go to Project->Options->QTestIntegrationAddin.

    • Select Enabled.

  2. Enable the integration in the Tosca Server REST API Service. To do so, open the REST API Web.config file on the machine that holds Tosca Server.

    By default, the file is located at C:\Program Files (x86)\TRICENTIS\Tosca Server\RESTApi.

  1. In the userSettings section, set the value of the setting QTestIntegrationEnabled to True:

<Tricentis.QTestIntegrationConnector.Properties.Settings>

<setting name="QTestIntegrationEnabled" serializeAs="String">

<value>True</value>

</setting>

</Tricentis.QTestIntegrationConnector.Properties.Settings>

  1. Restart the Tosca Server.

  2. Set up your work environment in Tosca Commander. To do so, create multi-user workspaces as described in chapter "Create multi-user workspaces".

  3. Set up Tosca Distributed Execution without AOS. Choose one of the following setup options:

  4. Create an extra workspace for qTest. qTest uses this workspace to connect to Tosca for updates and triggering test executions.

    Do not treat this workspace as a regular "working" workspace for users. It serves as a background workspace for qTest.

    This workspace must always be closed. If you link or trigger an execution out of qTest and the workspace isn't closed, qTest cannot perform the task.

  5. If you are using qTest OnDemand, ensure that the machine that holds the Tosca Distribution Server accepts requests from the qTest client. You may have to whitelist the qTest AWS IP addresses.

  6. Go to your qTest project and activate the Automation Settings as described in the qTest documentation. Enter the workspace URL of the qTest workspace that you created in step 7.

Create the necessary links and run your tests

To use the integration, follow the steps below:

  1. In qTest, set up your basic release structure:

  2. In Tricentis Tosca, design your automated TestCases:

  3. Link your automated tests with qTest.

    Linking your tests creates the necessary objects in qTest. You can always update or remove links.

    If you already have a working qTest project with existing test cases, you can also link these test cases with Tosca. See the qTest documentation for information on how to do so, compatible versions, and requirements.

  4. In qTest, schedule or trigger your execution.

  5. View your results in qTest.

What's next

Check out chapter "Link with qTest" for information on linking Tosca tests with qTest.