Generate test cases with AI Copilot using test design techniques
Last updated
Was this helpful?
Last updated
Was this helpful?
With the latest update to aqua AI Copilot, you can now quickly generate a set of test cases based on proven test design techniques — helping you cover more ground with less manual effort.
This feature uses the data you provide (requirement, test case, file or just a promt in plan language) and applies test design logic to create high-quality, structured test cases.
This technique focuses on the values at the edges of input ranges where errors often occur.
How it works in aqua:
When you provide some context with a numeric input range (e.g., min = 1, max = 100), once you select this test design technique, the AI can generate test cases that include:
The minimum and maximum values
The just above and below boundary values (e.g., 0, 1, 2, 99, 100, 101)
Any invalid or out-of-range values (optional)
Ideal for:
Numeric input fields
Validations with strict value constraints (e.g., age, weight, quantity)
This technique divides input data into valid and invalid partitions where each partition is expected to behave similarly.
How it works in aqua:
You define the valid and invalid input ranges or categories (e.g., postal codes, age groups, membership types), and AI can generate:
Test cases per valid partition
Test cases per invalid partition
Ideal for:
Form inputs with categories
Business rules based on input types
This technique uses a table of conditions and actions to generate all meaningful test combinations.
How it works in aqua:
You provide:
Input conditions (e.g., isMember, discountCodeApplied, paymentMethod)
Expected outcomes or rules
AI builds on the backgrpund a decision matrix and creates test cases for each combination that leads to a different result.
Ideal for:
Complex business logic
Systems with multiple decision rules
First, select the option to generate test cases either from the navigation page or from the requirements page.
Once a modal appears, provide some context, upload the file or select a requirement that you want to cover.
Then, select the style for the generation and choose 'Multiple' option.
When you select it, then the option to choose the test design technique appearts.
All you need to do is to select the desired technique:
Boundary Value Analysis
Equivalence Partitioning
Decision Table Testing
Click Generate Test Cases — and let AI do the rest.
When AI generate test cases, you can still preview them, regenerate them and select only those that you want to keep.
When AI Copilot generates test cases based on the selected test design technique, it also generates the test data sets and inject variables into all test cases
So when you start testing, you can select the needed value set and perform the testing.
Hence, during the testing there will be the proper variables inserted and indication what value set is being used.
Provide clear and structured input values (e.g., value ranges, option lists, condition-outcome pairs).
Use decision table format (e.g., CSV or list format) for faster setup.
Review and edit generated cases to match edge scenarios specific to your project.