Replay templates
Replay, not author
Section titled “Replay, not author”OttoTester has two kinds of template, and it’s worth keeping them straight:
- A Test Authoring Template creates tests — it runs the planner and generator to produce new test cases.
- A replay template re-runs tests you already have. No planning, no generation — just execute existing scripts.
Use a replay template when the tests exist and you want to run them again: a nightly regression pass, a quick check after a deploy, a scheduled smoke test.
What a template captures
Section titled “What a template captures”A replay template pins two things.
What to run:
- a whole test suite, or
- all tests on the variant, or
- a hand-picked set of test cases.
How to run it:
- Browser —
chromium,firefox, orwebkit. - Heal on failure — whether the healer takes a pass at failed tests.
- Playwright timeout — how long a step may take before it counts as a failure.
- Trace capture —
off,on-failure, oralways. - Video capture: Off, On failure (the default) or Always. See Videos of a run.
- Headed mode — show the browser, or run it hidden.
- Log level — how much detail the run log records.
- File an issue on failure — open a tracker issue automatically when a test fails.
Videos of a run
Section titled “Videos of a run”Video capture sets which tests keep a video of the browser, which you can play from the run’s Detailed report:
- On failure keeps the video of each test that fails. This is the default, and how templates saved before the setting behave.
- Always keeps the video of every test, passing ones too. Use it to show a passing flow to someone.
- Off keeps no video of ordinary tests, even failing ones.
Sign-in and data-setup steps keep their video whatever you choose, so you can see why a setup step that looked fine didn’t work.
Only a test that opens a page in the test’s own browser gets a video. A test that never opens a page, such as one that only calls an API, or one that opens a browser of its own, has none.
A video shows everything that was on the page, so treat it like a screenshot. It is kept as long as the rest of the run, and anyone who can see the run’s report can play it.
The same setting is on Test Authoring Templates, and a change you make in the dialog applies when you click Run, even without saving.
Running a template
Section titled “Running a template”Run a replay template on demand from the runner, or attach it to a scheduled run so the same configuration fires on a cadence. Either way, you get the same report shape as any other run.
Create a separate template when the selection or settings genuinely differ — a “full regression in Firefox” template is distinct from a “quick smoke in Chromium” one. Don’t make near-duplicates; reuse and adjust.
Related
Section titled “Related”- Concept → Tests, Variants, Test Authoring Templates
- Workflow → Schedule recurring runs

