How-to

Creating an autotest from a test case

Creating an autotest from a test case

Creating an autotest from a test case builds an autotest card from an existing test case in the same project. In the UI the action is Compile autotest on the test case details page.

Test case steps and autotest steps are different models. Compile tries to turn manual steps into Playwright steps; you almost always need to review and finish the result.

Prerequisites

  1. A team member role with write access to the project.
  2. A test case card is open in the project.
  3. The test case has steps you want as a starting point for an autotest.

Steps

  1. Open the test case in the project.
  2. Click Compile autotest.
  3. Wait for the service response.
  4. If an autotest card opens, ComplexQA created the autotest and navigated to its details.
  5. Open Steps, review each step, and fix Target, Value, and action_name when needed.
  6. Run Check syntax.
  7. Set status READY only when the scenario is ready to run. Only kind CASE with status READY enters the queue.

Step read errors during creation

Compile creates an autotest even when some test case steps fail to convert. The result is a draft: status PENDING.

The UI opens the autotest card. If some steps were skipped, ComplexQA lists them: test case step sort_order and the reason. Converted steps are stored; skipped ones must be added by hand.

SituationWhat to do
Card opens, with a list of skipped stepsTreat creation as done. Review steps, fix or remove bad ones, then Check syntax
Error message and no autotest cardCreation did not finish (no autotest_case_id). Retry later or create an autotest manually: Autotest creation
Empty or incomplete steps after compileFinish steps by hand: Autotest step authoring

Do not set READY or include the autotest in a run until steps after compile are checked.

After creation

Alternatives

Version 1.1.0 · Last updated 2026-09-11

Did this page help?