LogoLogo
  • Overview
    • Quickstart
    • FAQ
    • Overview
    • Pricing
    • Comparison
    • Discord
  • Pro Setup
    • Book a Demo
    • 30x30 Promotion
  • Guides
    • Generate a Test Suite
    • Local Agent Setup
    • Prompting
    • Getting an API Key
    • GitHub Actions
      • GitHub Action Setup
      • Prerun Scripts
      • Environment Config
      • Parallel Testing
      • Storing Secrets
      • Optimizing Performance
      • Action Output
      • Examples
        • Test Generation
        • Parallel Testing
        • Importing Tests
        • Desktop Apps
        • Secure Log In
    • Debugging Test Runs
    • Monitoring Performance
  • Reference
    • Test Steps
      • assert
      • exec
      • focus-application
      • hover-image
      • match-image
      • hover-text
      • if
      • press-keys
      • remember
      • run
      • scroll
      • scroll-until-image
      • scroll-until-text
      • type
      • wait
      • wait-for-image
      • wait-for-text
    • Interactive Commands
      • /assert
      • /undo
      • /save
      • /run
      • /generate
    • CLI
      • testdriverai init
      • testdriverai [file]
      • testdriverai run [file]
  • Security & Privacy
    • Agent
    • Action
    • Dashboard
  • FAQ
    • Screen Recording Permissions (Mac Only)
    • Status Page
Powered by GitBook
On this page
  • The fastest way to get started with TestDriver
  • Demo
  • Reviewing Pull Requests
  • Debugging Pull Requests
  • Making Changes
  • Deploying Your Test (Requires Upgrade)
  • Where to go from here?

Was this helpful?

Export as PDF
  1. Guides

Generate a Test Suite

TestDriver Test Generation will explore your app and generate tests.

Previous30x30 PromotionNextLocal Agent Setup

Last updated 1 month ago

Was this helpful?

Test Generation works best with publicly accessible web apps.

The fastest way to get started with TestDriver

TestDriver will crawl your app and generate tests. It interacts with each element and continues to come up with new ideas.

TestDriver can generate 1,000s of tests automatically. Tests are opened as Pull Requests. All you need ot do is review the created tests and merge them into your test suite!

Demo

The easiest way to generate tests for your app is to use the form below. This will generate up to 10 tests for you in a new GitHub repository.

Reviewing Pull Requests

TestDriver will generate tests for your app. Each pull request description will contain:

  1. The Interactive Commands used to generate the test (description)

  2. The test result

The pull request will also contain a Test Steps. Here is an example of a generated test

Debugging Pull Requests

Click on the Dashcam preview to see a video of the AI completing the test as well as the AI logs, console logs, and network requests. For more on reviewing test results, see #Debugging Test Runs.

Making Changes

TestDriver may try multiple times to accomplish a goal.

Not every test will complete the objective entirely, but the steps that do complete successfully make great regression tests and it usually only takes a little modification to make a successful test!

We recommend:

  1. Deleting the test steps that did not complete successfully.

  2. Modifying the test steps if required. See Test Steps for details on each TestDriver command

You can clone this repository and run the tests locally using the TestDriver CLI.

Deploying Your Test (Requires Upgrade)

This repository is set up to automatically run any merged regression tests! You'll need an API key to do so, and you can only get one by upgrading your account to Pro or higher.

Where to go from here?

  • Read the GitHub Actions guide for more information on integrating with GitHub.

  • Scan the Action Output to learn how to send emails and Slack notifications on test failures

  • Check out the Interactive Commands for details on the high level commands TestDriver uses to generate tests or learn about regression tests in Test Steps

  • Follow the Local Agent Setup guide to create and debug tests on your local machine

A video recording to review (with logs and network requests) on

On've you've acquired an API key, create a named TESTDRIVER_API_KEYand use the key as the value.

Dashcam
Getting an API Key
new GitHub secret
TestDriver.ai / Generate Test / test-contact-us-link by github-actions[bot] · Pull Request #6 · testdriverbot/pubnubcom-1729121039116GitHub
Page cover image
Logo