Skip to main content

Generate Tests With AI

AI generation helps you turn readable test intent into runnable browser automation.

In TestVibe, generation usually starts from a Gherkin feature or a new feature idea. The selected AI agent uses your instructions, target site, and project settings to create or update test output in your project.

What You Can Generate

What AI Generation Does

It can help withWhat that means
Drafting feature behaviorTurn a user goal into clearer Gherkin scenarios.
Generating Playwright codeCreate executable browser automation from saved test intent.
Using target site contextInspect or interact with the site while building the test.
Producing progress evidenceShow sections, steps, screenshots, run status, and generated paths.
Iterating on testsRegenerate after you improve the instructions or setup.

What AI Generation Does Not Replace

AI generation does not remove the need to review tests.

You still decide:

  • whether the Gherkin describes the right behavior
  • whether the generated code checks the right outcome
  • whether test data and credentials are safe and repeatable
  • whether a failure means the app is broken, the test is wrong, or the setup is incomplete

Before You Generate

Make sure the project has:

RequirementWhy it matters
Saved feature intentGeneration needs clear behavior to turn into code.
Target site URLThe agent and the cloud test session need a site to inspect or run against.
Available creditsGeneration runs on TestVibe’s metered AI service and stops when the balance runs out.
Site reachabilityThe cloud test session must be able to reach the target site.

Start Here

New to generation? Read How AI generation works, then continue to Generate Playwright code.