Auto-Generate Test Cases and Test Steps using QMetry Intelligence (QI)

Introduction

The AI-powered Generate Test Cases and Test Steps using QI feature allows testers to auto-generate functional test cases using QMetry Intelligence (QI) directly from the Story Page or the Test Case Module. In addition, testers can utilize QI to generate the test case description, pre-condition, and test steps in an existing test case, with options to either update the existing version or create a new version. Once the test case details are generated, you can verify and modify them as per your requirements.

Key Benefits

  • The auto-generation feature aims to expedite the test case authoring phase by quickly creating test cases with steps aligned with specified requirements.

  • It effectively reduces the manual efforts required by testers, allowing them to focus more on test case execution and validation.

  • This enhancement ultimately saves valuable time during the testing lifecycle.

How Does the QI Model Work?

  • The QI model extracts relevant details from either the story description or the user-provided description to generate modular functional test cases with adequate coverage.

  • Testers can accept, modify, or reject the generated test cases before approving them for creation into the test case library. For optimal results, the story description must be clear and well-structured.

Enable Generate Test Cases and Test Steps using QI Feature

The feature can be enabled from QMetry Intelligence Configuration. This is a global setting for the QTM4J instance. To activate the Generate Test Cases and Test Steps using QI feature for QMetry users, the Jira administrator needs to enable it for the Jira instance from the QTM4J app global settings.

→ Required Permission: The Jira super administrator can configure QMetry Intelligence Configuration for the Jira instance.

Steps

1. Go to Apps > Manage your apps.

image-20240206-071556.png

2. Select the QI Configuration under the QTM4J section on the navigation bar at the left.

You will see the Generate Test Cases and Test Steps using QI section on the screen. This section has two distinct feature permissions under it.

A. Enable users to generate test cases from either the Story Page or Test Case Module. (Default: Disabled)

If the feature is enabled, you can generate test cases from the Test Case list view and from the Story detail page using the AI-enabled feature.

B. Enable users to generate test case details and steps in an existing test case by either updating the current version or creating a new one. (Default: Disabled)

If the feature is enabled, you can use the AI-enabled feature to update the test case details and steps of the existing test case. You can opt to update the existing version of the test case or create a new version of the test case.

image-20240216-111734.png

Generate Test Cases from Story Page or Test Case Module

Once you enable the Enable users to generate test cases from either the Story Page or Test Case Module feature, you can see the Generate Test Cases with QI button visible in the Test Case module. For more details, refer to https://qmetrysupport.atlassian.net/wiki/spaces/QTM4J/pages/3540287588.

 

Once you enable the Enable users to generate test cases from either the Story Page or Test Case Module feature, you can see the Generate Test Cases with QI button visible on the Story detail page. For more details, refer to https://qmetrysupport.atlassian.net/wiki/spaces/QTM4J/pages/3540287588.

Generate Test Case Details and Steps in Existing Test Cases

Once you enable the Enable users to generate test case details and steps in an existing test case by either updating the current version or creating a new one feature, you can see the Generate Details and Steps with QI button visible on the Test Case detail page. For more details, refer to https://qmetrysupport.atlassian.net/wiki/spaces/QTM4J/pages/3540288109.

 

Note: The Generate Test Cases and Test Steps using QI feature is in its Beta version.