Integration with QTM

You can upload the QAS execution results to other products of QMetry product suite - QMetry Test Management. First you need to integrate QMetry Automation Studio with QMetry Test Management.

QAS allows users to enable integration with QTM (Cloud & Server) and update the test execution details directly into QTM.

Create a New TCM Integration

Users can configure QTM Integration to export the QAS test execution results to QTM.

Steps:

1. Go to Project Settings.

2. Select TCM Integrations.

The TCM Integrations screen opens. If you already have integrations created before, they will be listed on the screen. If you do not have any integrations created yet, you can start creating the first one.

3. Click on the Create button on the screen.

The Create New Integration panel opens.

4. Enter the following details to create new integration for project:

  • Name: Enter integration name.

  • Type: Select either from the options: QTM Cloud, QTM Server.

The QTM Integration is added on the TCM Integrations screen. You can enable/disable the integration on the screen.

5. To configure parameters for the newly created integration, click on the Key.

The configuration screen opens with the list of properties.

6. Configure the QTM properties as per your QTM instance.

Refer to https://qmetrysupport.atlassian.net/wiki/spaces/QPro/pages/377094257 for more details on configuration parameters.

Activate QTM Integration

Make sure you activate/enable the QTM Integration that you want to use to import the test execution into QTM.

If you have multiple integrations, you can mark multiple integration enabled. While execution/publishing the test results, you will be asked to select either of them.

Auto Publish Test Cycle Execution Result

You can link an existing active QTM integration with individual test cycle from the test cycle details page in the Test Cycle module. Only those integrations, which are enabled in the TCM Integration section, will appear on the list.

The integrations are configured from Project Settings > TCM Integrations.

Once the QTM integration is linked with the test cycle, then the results will be automatically published in respective QTM instance as soon as the execution is complete. Alternatively, you can also link the QTM integration from the Analytics module to publish the individual execution.

Steps:

1. To enable the QTM integration with the test cycle, click on the icon at the top.

If you do not have any integrations done in Project Settings > TCM Integrations, a panel showing the message and navigation link to TCM Integration will open.

 

2. If you have already configuration QTM integrations in Project Settings > TCM Integrations, the active integrations will be displayed on the panel. Select the QTM Integration that you want to use and click on the Save & Enabled button at the bottom.

The success message pops up.

The integration Key for the saved integration is displayed at the top.

You can also unlink the linked integration from the test cycle details screen.

Now run the job or the cycle.

The success message pops up indicating the execution has been started.

Publish Existing Test Cycle Execution Results to QTM

Users can publish the execution result against the integration from Analytics.

Steps:

1. Now go to the Analytics module.

2. Select the job/cycle execution from the panel.

The execution details for job/cycle are displayed on the screen at right. You can see the icon to publish to TCM Integration.

3. Click on the icon, it asks to select integration from all the active integrations.

4. Select the required QTM Integration and click Publish at the bottom.

The success message pops up indicating the result has been published successfully.

View Test Results Published to QTM

1. Open the QTM instance that you configured for integration in QAS.

2. Open the Test Suites module and check the newly added test suite in the records.

Delete Integration

To delete an integration, first disable the integration status of that integration.

Hover over the record, and click on the Delete icon for the integration.

The confirmation message pops up.

Click Yes to proceed.

View History

You can view the audit logs or history for the integration used by the test cycles from the TCM Integration screen.

Go to Project Settings > Select TCM Integrations.