Turning a recording into a test case

Turning a recording into a test case

Submit a recording, check the preview and convert it into a draft test case.

Engineering Intelligence Open in TR-AI4 min
  1. 1
    Record the journey
    Do the journey once, adding checkpoints for what should be true (a confirmation message, the page you land on). Recordings arrive under Recordings.
  2. 2
    Read the preview
    Open the recording: the steps, their locators and every warning (unstable locators, steps that change data, missing expected results) are shown before anything is saved.
  3. 3
    Convert it
    Give it a title and convert it. It becomes a draft test case (version 1) with a Playwright script, linked to the recording.
  4. 4
    Fix what the warnings say
    Edit steps: accept or change suggested assertions, add a cleanup step, reorder or delete steps. Each save is a new version with a note.
Tips & tricks
  • Masked values become test-data variables; secrets are supplied at run time.
  • A test with no confirmed expected result can’t be submitted.