Skip to main content

Overview

AI Test Generation enables you to create comprehensive test coverage quickly by leveraging existing test suites, uploading documentation or describing tests in plain language. The AI analyzes your inputs and generates structured, executable tests that match your application’s patterns and testing needs.

What You Can Generate

Test

Create one or more step-by-step tests from various sources including video recordings, Loom links, files or existing suite patterns

Scenario Table

Generate data-driven scenario tables with variations based on your instructions, enabling parameterized testing across multiple data sets

How to Use AI Test Generation

1

Navigate to AI Test Generator under Tests in Spur Dashboard

Aitg 2
2

Choose Your Generation Type

When you open AI Test Generation, select what you want to create - Tests or Scenario Table.Provide context about your application to help Spur generate relevant, accurate results. Include information about your app’s purpose, key features and user workflows.
Screenshot 2026 02 04 At 11 11 07 AM
3

Select Your Generation Method

Choose from three methods for generating tests, each suited to different workflows:
Screenshot 2026 02 04 At 11 26 50 AM
1

a) From Exisiting Suites

Leverage your existing test suite as a foundation for new tests. The AI analyzes your saved suites to understand your testing patterns and generates new tests that follow the same structure and style.
Screenshot2026 02 04at11 22 42AM
2

b) PDF, CSV or Markdown

Upload test requirements, specifications, or documentation files to convert into structured test flows. The AI extracts test scenarios from your documentation and creates executable tests.
Screenshot 2026 02 04 At 11 27 14 AM
3

c) From Text Prompt

Describe your test in plain English and let the AI generate structured test steps. This method offers maximum flexibility for creating tests from scratch.
Screenshot 2026 02 04 At 11 28 36 AM
4

Generate Scenario Tables (Optional)

If you selected Scenario Table in step 2, provide instructions for creating data-driven test variations.Scenario tables enable you to run the same test with multiple data sets, validating different user personas, product categories, or input combinations.
Screenshot 2026 02 04 At 11 31 22 AM
5

Click Generate Tests

The AI processes your inputs and generates structured test steps ready for execution.Review the generated tests, make any necessary adjustments, and click Keep Tests to add them to your test suite.
Aitg Save(1)
6

Choose Test Suite

After generation, select which Test Suite to save your test to.
Screenshot 2026 02 04 At 11 46 59 AM
Your test will now appear in the selected Test Suite, ready for execution.
7

Save Tests

Review the generated test, add or verify the Test URL and click Save.
Screenshot2026 02 04at11 48 39AM
Your test will now appear in the selected Test Suite, ready for execution.

Best Practices

  • Be Specific: Provide detailed descriptions and context for more accurate test generation. Include information about expected behaviors, user flows, and validation points.
  • Reference Existing Suites: When available, reference similar test suites to help the AI understand your testing patterns and preferred structure.
  • Iterate and Refine: Review generated tests and provide feedback through additional instructions to improve results.
  • Start Simple: Begin with straightforward test scenarios before generating complex multi-step flows.
  • Use Descriptive Names: Clear test names improve organization and make results easier to understand.

Limitations

  • Maximum 10 tests per generation run
  • Generated tests may require manual review and adjustment
  • Complex authentication flows may need additional configuration
  • File uploads support PDF, CSV, and Markdown formats only