Recording and running tests in Test Studio Desktop
Recording and running tests in Test Studio Desktop
Record a journey on your computer, save it as a test case, run approved tests and plans locally, and draft a defect from a failure.
- 1RecordRecord → choose the project and environment, give the journey a title, tick the confirmation and Start recording. Chrome or Edge opens with a fresh profile on the environment’s base URL. Use test accounts. Leaving the allowed hosts pauses recording.
- 2Review on the computerStop and review lists every recorded action and the test it becomes, with warnings such as a missing expected result. Remove actions you don’t want. Checkpoint screenshots show only here.
- 3Save as a test caseSave as a test case sends only the steps and locators, with sensitive values masked, as a draft in TicketResolve. Add expected results there or in the app, then Submit for review; someone else approves it.
- 4Add test dataSettings → Test data and passwords: enter values for the test’s masked fields (for example password). They’re encrypted with the computer’s keychain and never sent.
- 5RunTests → choose the environment → Run on an approved test. Plans → Run untested, or Rerun failures, runs a plan’s automated items one after another. Each result syncs as it finishes; Runs on this computer shows them, with Retry for any that couldn’t sync.
- 6When a test failsOpen the run: failed step, error, failure analysis with its evidence, console errors and failed requests. Show evidence folder opens the screenshot, trace and video. Draft a defect in TicketResolve, ticking Attach the failure screenshot only if it’s safe to share.
Tips & tricks
- Open a Playwright trace with npx playwright show-trace trace.zip, or at trace.playwright.dev, which opens it in your browser without uploading it.
- Settings → Show the browser while tests run is useful when a locator needs fixing.
- Local evidence is deleted after 30 days by default; change it in Settings.