Skip to content
You're viewing the v2 docs. Looking for v1?Go to v1 docs
Docs
Testsigma
Popular questions
↑↓ to navigate↵ to selectesc to close
Book a demo

qTest

qTest integration links qTest test cases to Testsigma test cases and exports run results into qTest. The export runs through a Post Plan Hook or the API.

Prerequisites

  • The qTest Host URL and Bearer Token.
  • A qTest project with test runs and test cases.
  1. Open integrations: From the left navigation bar, go to Settings > Integrations.

  2. Enable the widget: Turn on the toggle on the qTest widget.

  3. Enter the details: In the qTest Details dialog, enter the Host URL and Bearer Token, then click Save & Enable.

qTest is a manual test management tool, so linking pairs each manual qTest case with its Testsigma automation.

  1. Copy the ID: Open the test case in qTest and copy its ID.

  2. Open the mapping panel: In Testsigma, open the test case you want to link and select Manage Test Case from the Utility Panel.

  3. Map it: Select a qTest Project from the dropdown, enter the qTest ID in the input box, and click the link icon.

Repeat these steps for each qTest test case you want to map in Testsigma.

In qTest, activate Automation Integration and map the automation statuses so result tracking stays consistent. See qTest’s Automation Settings documentation.

Automation statusqTest status
PASSEDPassed
FAILEDFailed
INCOMPLETEIncomplete
BLOCKEDBlocked
  1. Assemble the plan: Create a test suite with the linked test cases and add it to a test plan.

  2. Attach the hook: In the Test Plan Settings, select qTest Addon from the Post Plan Hook dropdown.

  3. Fill in the hook fields: Enter the details listed in the table below.

  4. Run the plan: Go to Test Plans and click Run Now. A duplicate test run is created, and results appear when it completes.

  5. Open the qTest results: Click qTest Result Link in the top right corner of the run result.

Test Plan Settings with the qTest Integration post plan hook and its fields

FieldValue
API_KEYA Testsigma API key, copied from Settings > API Keys.
RELEASE_IDThe qTest release ID. Click Release and copy the numeric value after id= in the URL.
CYCLE_IDThe qTest cycle ID. Click Cycle and copy the numeric value after id= in the URL.
OVERRIDE_ON_RERUNtrue pushes rerun results into the original qTest cycle. false creates a new cycle with Rerun #num appended to the original cycle name.
PROJECT_IDThe qTest project ID. Click Project and copy the numeric value after /p/ in the URL.
TEMPLATE_URLOptional. URL of the JUnit template file that configures result data for the run. It must be publicly accessible. For customization requests, contact support@testsigma.com.

You can also trigger qTest test plans through the API. Download the Postman collection to get started.

  • Authorization: Bearer token, copied from Settings > API Keys in Testsigma.
  • Request body:
    • Build Number: the unique identifier for the qTest execution.
    • Hook Data: the Testsigma API Key, the qTest Project ID, and the Template URL of the JUnit template file.
    • Title: a title for the execution.
    • Execution Lab: the environment or lab used for running the test cases.

Was this page helpful?