Menu

Convert Test Cases

Overview

qTest provides the ability to convert a manual test case to an automated test case:

Prerequisite

Automation Host

You must install the Automation Hostturn on the Automation Integration and complete the Automation Execution Mapping. This allows you to convert manual Test Cases to automation Test Cases (and vice versa) so that your existing manual Test Cases can be tied to your automation test results.

 

qTest Test Case Conversion

Once you have turned on the Automation Integration setting and completed your Automation Execution Mapping, you are ready to get started. 

Conversion Process

There are multiple ways you can convert your manual qTest Test Cases to automation qTest Test Cases.

Convert individually: 

  1. To convert an individual Test Case, select the Convert button on the top left corner of the Test Case Details. 
    qTest - Test Design - Test Case - Convert button
  2. You will need to enter the Automation Content, which is the identifier (Test Class, Test Method) that is used to point automation execution results to a Test Run linked to this Test Case.
    automation_content_field.png
    IMPORTANT: Your Automation Content field should be unique when you want to create new test cases and corresponding test runs. If you want to add a test log to an existing test run, then you must match the Automation Content field.

Convert multiple:

  1. Test Design Tree: To convert multiple Test Cases at one time, select multiple Test Cases from the Test Design tree, right-click and then select the Convert option. If a Module is selected, the Convert option is disabled.

    qTest - Test Design - Test Case - Tree - Context Menu - Convert
  2. Test Cases Data Query Result: 
    • In the Edit, drop-down select the Batch Convert button.
      test_case_data_query_batch_convert.png
    • In the Batch Convert modal, select the Test Case type (manual or automation.)
      batch_convert_modal.png
    • Select the Confirm button to start the converting progress.
    • After the conversion is complete:
      • select OK to close the modal, or...
      • Optional: If a manual test case is converted to an automated test case, select the Input Automation Content button to fill in the Automation Content for converted Test Cases in this modal. Otherwise, you will enter your Automation Content at the Test Case level.
        input_automation_content_button.png
      • The Automation Content is the identifier (Test Class, Test Method) that is used to point automation execution results to a Test Run linked to this Test Case.
        IMPORTANT: Your Automation Content field should be unique when you want to create new test cases and corresponding test runs. If you want to add a test log to an existing test run, then you must match the Automation Content field. 

Note: Once a manual test case is converted to an automated test case, the icon in the Test Design tree changes from a green dot to a blue dot automated_test_case_icon.png . 

Receive Automation Test Results back into qTest

Once you have converted your manual test case to an automated test case, refer to the articles here for integrating qTest with your CI/CD solutions. 

Powered by Zendesk