Back to QMetry All Products Help Page
Generate Test Case Details and Steps in Existing Test Cases
Introduction
The 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. Furthermore, 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 an existing version or create a new version.
This document describes the feature of generating test case details and steps in an existing test case by either updating the current version or creating a new version.
→ Prerequisite: 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 settings should be enabled under Apps > Manage your apps > QI Configuration as described in the article Auto-Generate Test Cases and Test Steps using QMetry Intelligence (QI).
→ 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)
Settings | Description |
Enabled | Users can use the AI-enabled feature to update the test case details and steps of the existing test case. They can opt to update the existing version of the test case or create a new version of the test case. |
Disabled | Users can not access the AI-enabled feature to update the existing test case version or create a new version by updating the test case details and steps. |
To create effective test cases, some guidelines should be considered while drafting the Story description.
Guidelines for Story Description
The Story should have sufficient description details to let the QI analyze the requirements, identify the critical scenarios, and generate test cases out of it. You can modify the Story description to ensure the maximum requirement coverage by test cases.
The Story should include a clear and well-structured explanation of the feature.
The Story description should cover the acceptance criteria to define the feature’s expected behavior. The decomposed stories give better results.
Note: If users are generating details and steps from the test case detail page and the story description is lengthy, QI recommends selecting a story with a description decomposed up to 500 words or providing a description ranging from a minimum of 30 to a maximum of 500 words for complete coverage of all potential scenarios. Otherwise, QI suggests creating test cases directly from either the Story Page or the Test Case module instead of consolidating all steps into a single test case.
Generate Test Case Details and Steps
Once you configure the required settings for QI, you will be able to see the Generate Details and Steps with QI button on the test case detail page.
You can generate test case details and test steps with QI using -
(A) Currently Linked Story
(B) Story
(C) Description
(A) Generate Test Case Details and Test Steps from Currently Linked Story
If you want to create test cases from a story that is currently linked to the test case, follow the steps mentioned below.
(i) Open the Select Currently Linked Story tab.
Stories linked to the test case are listed on the screen.
(ii) Select the Story from which you want to generate the test case details and test steps.
(B) Generate Test Case Details and Test Steps from Other Story
If you want to create test cases from a story that is not yet linked to the test case, follow the steps mentioned below.
(i) Open the Select Story tab.
The screen displays entities as per the configuration done for the Story issue type for the project under Project Settings > QMetry Project Settings > Issue Type.
You can select the Story of the cross-project to generate test cases.
You can also apply filters on Issue Type, Priority, and Status to narrow down the entity search.
(ii) Select a Story from which you want to generate probable test cases.
(C) Generate Test Case Details and Test Steps from Description
If you want to create test cases from the Description of Requirement, follow the steps mentioned below.
(i) Open the Enter Description tab.
The screen displays a text box to enter the description.
(ii) Enter the description for the requirement in the text box.
Note: The description of requirements will be utilized to generate test cases. To produce high-quality test cases, the requirement description should consist of a minimum of 30 words and a maximum of 1500 words.
Once you select either of the ways (A), (B), or (C) to generate the details, you can then opt either to update the current test case version or to create a new version of the existing test case.
The Test Data column for steps remains hidden by default. If you want to make the column visible, open the Hide/Show/Re-arrange Columns menu and select the Test Data column to display on the screen.
Generate Test Steps in Existing Test Cases
You can generate test steps for existing test cases using QMetry Intelligence. The feature accelerates the creation of test steps, saving time and reducing manual effort. It ensures uniformity in test ste