Auto-Generate Test Cases and Steps Using QI
QMetry's Auto-Generate Test Cases and Test Steps (AGT) feature uses AI to automate test case creation from the Requirement module or the Test Case module. It accelerates test case authoring, reduces manual effort, and allows you to focus on test execution and validation.
This AI-powered feature enables you to:
Create new test cases
Generate test case description
Write pre-condition
Generate test steps and details in existing test cases.
After generation, you can review and modify the details as needed. You can either update the current version of the test case or create a new version of the test case.
How Does the QI Model Work?
The QI model extracts relevant context from the requirement description or user-provided descriptions to generate modular test cases with comprehensive coverage.
You can review, modify, and approve or reject the generated test cases before adding them to the test case library.
Note
Best Practices for Generating Accurate Test Cases
To ensure QI generates test cases with higher accuracy, the requirement description should adhere to the following guidelines:
Structured Use Case Format: Present the requirement description in a well-structured use case format to facilitate accurate test case generation.
Acceptance Criteria: Include clear acceptance criteria that define the expected behavior of the feature. Decomposing stories into detailed criteria improves the accuracy of the generated test cases.
Contextual Analysis: Providing these details allows QI to analyze the context and identify relevant test scenarios.
Description Length: Descriptions should be between 30 and 8000 words.
Description Details: Description shall provide sufficient detail for QI to analyze requirements, identify critical scenarios, and generate accurate test cases.
Linking: The system automatically links the test cases to their corresponding requirements.
How to Enable or Disable Auto-Generation of Test Cases?
To activate AGT, the super admin must enable it for the QMetry instance in Customization.
Go to Customizations.
Click General Settings and Audit.
Select AI Configurations.
Note
Only a super admin can access and configure QMetry Intelligence Configuration.
The default setting for the QI feature is disabled.
![]() |
After enabling this feature, refer to the following documents for guidance:
Autogenerate Test Cases: Learn How to generate test cases from the requirement or test case module.
Autogenerate Test Details and Steps: Find instructions for Adding details and steps to an existing test case, either by updating the current version or creating a new one.
View Statistics
Admins can monitor the use of AI features for generating and updating test cases across various projects. Key details include:
Test case created using QI
Test cases updated/versioned using QI
Approximate time saving
Users using the AGT feature
Projects using the AGT feature
Project Settings for Auto-Generation of Test Cases and Steps
Once enabled by the super admin, the project admin can configure this feature at the project level for internal requirements or imported requirements from Jira, Azure, or Rally.
For Internal Requirements: QI auto-generates Test Cases based on the requirement description.

By default, the Description field is set as a precondition for auto-generated test cases. The QI model refers to the requirement description (if the requirement is selected) or the user-entered description (if the user chooses to manually enter a description).
For External Requirements imported from Jira or Azure: Projects integrated with external trackers like Jira and sync stories in QMetry, project admins can configure up to two issue fields as input descriptions to generate test cases. Example – Description, Business Rules, or Acceptance Criteria.
Go to Project Management. Select Integration. Click Requirements. Next, select Configurations.

Users can configure the other field from the Manage Fields option available under Customization.

