Skip to main content

Generate Test Cases with AutoTester

Once you’ve finished recording your feature, AutoTester analyses your test flow and instantly suggests test cases using AI.

These test cases cover common success and failure paths, helping you validate app behaviour from the start.


To Generate Test Cases

  1. Select the scenario type – Choose whether the flow should result in success or error.

  2. Define the detection method – Tell AutoTester how to confirm if it worked (e.g., text message, URL change).

  3. Enter the expected message
    Use clear outcome messages for each test case when defining validations (e.g., “Login successful” or “Invalid password”) so AutoTester knows what to look for.

    This helps AutoTester understand what success or failure should look like, making it easy to review your test cases later

  4. Add a selector
    Target the element where this message appears using a valid CSS or XPath selector.

  5. Click “Generate Test Cases”
    AutoTester will instantly create 15–25 basic test cases based on your flow to help you get started quickly.

You can always review, edit, or expand these cases later.
The goal is to quickly generate high-coverage tests that adapt as your product grows.

👇Watch how to generate test cases in AutoTester

note

Well-defined validations help AutoTester know exactly what to check.
Think of the message and selector as your test’s checkpoint.
The clearer they are, the more reliable your test results will be.


⚠️ If Test Cases Aren’t Generating As Expected

  • Nothing happens when you click ‘Generate’?
    Make sure you’ve selected a scenario and added a validation message. These are required fields.

  • Seeing too few test cases?
    Make sure your recording covered the full flow, including the final action (like form submission or confirmation).
    Incomplete flows limit AI’s ability to branch scenarios.

  • Test cases are not generated?
    AutoTester builds test cases based on your recorded flow.
    If steps are missing, try re-recording or click “Regenerate” to let AI attempt again.