Overview
Supatest’s AI capabilities transform how you create tests. The AI workflow uses two agents working together: the Test Planner Agent for planning what to test, and the AI Action Agent for automating test steps.How AI Test Creation Works
AI-Powered Tools
Test Planner Agent
Generate test plans with scenario notes from descriptions
AI Action Agent
Automate scenario notes into executable steps
Test Planner Agent
The Test Planner Agent is the global chat that helps you plan what to test. It generates test cases with scenario notes that describe the test flow.How It Works
- Open the global AI chat
- Describe what you want to test
- Planner creates test cases with scenario notes
- Review and edit the scenario notes
- Use AI Action Agent to automate
Example
You describe:Best For
- Planning multiple test cases at once
- Generating edge cases you might miss
- Creating test scenarios from requirements
- Building comprehensive test suites
AI Action Agent
The AI Action Agent lives inside the test editor. It takes scenario notes and automates them into executable test steps.How It Works
- Open a test case in the editor
- Review the scenario notes
- Click to run AI Action Agent
- Agent performs actions based on scenario notes
- Steps are created as it executes
What AI Action Agent Can Do
| Action Type | Examples |
|---|---|
| Click | Buttons, links, checkboxes, radio buttons |
| Fill | Text inputs, textareas, search fields |
| Select | Dropdowns, option lists |
| Scroll | Page scrolling, element scrolling |
| Navigate | Following links, URL changes |
What AI Action Agent Cannot Do
Requires manual addition:- Verify Text steps
- Verify Visibility steps
- Verify URL steps
- Visual assertions
- Any verification/assertion logic
Example Workflow
Combining Planner and Action Agent
Complete Workflow
-
Plan with Planner Agent
- Open global chat
- Describe your testing goals
- Get test cases with scenario notes
-
Automate with Action Agent
- Open test case in editor
- Run Action Agent on scenario notes
- Watch as steps are created
-
Add Assertions Manually
- Use recorder to capture verification elements
- Add Verify Text, Verify Visibility steps
- Configure expected values
-
Review and Refine
- Run the complete test
- Fix any failing steps
- Adjust locators if needed
Example: Building a Login Test Suite
Step 1: Planner creates testsAI Credit Usage
AI features consume credits from your account:| Feature | Credits |
|---|---|
| Test Planner generation | 1-3 credits per plan |
| AI Action Agent execution | 1 credit per action |
Tips for Better Results
Write Clear Scenario Notes
Be Specific About Elements
Include details that help AI find the right elements:- Button text: “Click the ‘Add to Cart’ button”
- Input labels: “Fill the ‘Email Address’ field”
- Location hints: “Click submit button at the bottom”

