Skip to main content
Free plan, no cardStart free
Recording and self-healing 7 min read Updated

Recording your first test

The recorder opens a real browser, you click through a journey, and it captures each step with the element it targeted, the locators available for that element, the network calls the step caused and any assertion you add. The result replays as-is and exports as code.

About this guide

Written for
SDETs and automation engineers · QA leads and test managers · Developers who own their tests

What gets captured on each step

  • The action: click, type, select, navigate, hover, key press.
  • The element, with every locator strategy the recorder could derive for it. This is the raw material self-healing uses later.
  • The network requests the step triggered, with status, timing and size, so an API-level assertion can be added without a second tool.
  • Screenshots along the flow, used by visual regression and by the failure view.
  • A file the page asked for, and a file the page downloaded, each as a step of its own (next section).

Files during a recording

When the page you are recording opens a file chooser, the recorder does not open yours. The request appears in the recording's files panel with two choices: pick a file from Test Files, the library every plan has, or decline. Pick one and the page gets it; the step is recorded with the file's name, so a replay answers the same request with the same file. A request the page stops waiting for says so, and you click the page's upload button again. A folder upload is recorded as one step and replayed as one folder.

A file the page downloads is checked before it is listed under "Files this recording downloaded": save it to your computer, or keep it in Test Files so a later test can use it. A program file is stored but marked, and a file the check withholds is not offered. Each recording keeps up to 50 downloaded files and 512 MiB in total, and only the person who made the recording answers its file requests or reads its downloads.

How long a recording can run

A recording closes after a period of no activity, and stops at a maximum length the page shows while you record (15 minutes). Choosing a file, or declining a file request, counts as activity. Everything captured before the stop is kept, and the limits bar says what is about to happen before it happens.

Adding assertions

Assert on visible text, element state, URL, or a network response while you record. An assertion is a step like any other and can be edited afterwards. Recordings without assertions still replay, but they only prove that the journey did not crash, which is rarely what a release decision needs.

Authentication

Record the sign-in as part of the flow, or sign in once and let the platform store the session state and reuse it on replay. Stored session state is kept server-side and scoped to the recording session. For applications behind SSO, record the SSO steps once with a test identity.

Replaying

Run the recording on demand or on a schedule; to run it in CI, export it as Playwright, Selenium or Robot Framework code. When a step fails, the failure view shows the failing step, the locator it used, the request it made and the screenshot at that moment. When a selector no longer matches, a fallback locator may rescue the step, and the run detail shows the original and the replacement.

Exporting as code

Any recording exports as code: Playwright in TypeScript (a plain test, a page object or a library script) or Python, Selenium in Python, pytest, Robot Framework, a Gherkin .feature file, and Cucumber or pytest-bdd step definitions. The menu marks each target that has no runner on the platform as "export only": the file is generated to run elsewhere. The exported test runs in your own framework without the platform, which is how teams keep an existing framework while using the recorder and its rescued steps to cut maintenance.

What an exported Playwright step looks like (illustrative)
test('checkout', async ({ page }) => {
  await page.goto(env.BASE_URL);
  await page.getByRole('button', { name: 'Add to cart' }).click();   // elem_0004
  await expect(page.getByTestId('cart-count')).toHaveText('1');       // assertion 1
});

Questions people ask about this

Which browsers can I record in?
Chromium, Chrome, Firefox, WebKit and Edge. Network throttling and timezone emulation are only available on the Chromium family.
Does the recorder work with shadow DOM and iframes?
Yes for same-origin frames and open shadow roots. Cross-origin frames are captured as navigation steps; check the first replay and the steps it marks healed.

Source: /documentation/recording-your-first-test, updated 2026-11-16. Answers are checked against the shipped product on that date.

Found something out of date? The people who build the module answer the contact form on the home page, and corrections to this guide are dated above. Tell us.

This guide is about the test recorder and self-healing. Twenty tools, including ours, are compared by job.

Try it against your own app.

Record one flow and get four kinds of evidence back. Judge the results yourself.

  • Free plan, no card
  • 14-day Solo Pro trial
  • Demo replies within one business day
  • Data hosted in India