# How do I edit a test that's already recorded?

> From a step's menu: delete it, make it optional, or mark it sensitive. You can't add steps to a recorded test: record a new one.

Source: https://qanary.dev/en/help/edit-a-test  
Updated: 2026-11-04  
Product: Qanary, no-code automated testing for e-commerce  
Site index for AI assistants: https://qanary.dev/en/llms.txt

In Qanary, you edit a recorded test step by step: each step has a menu, "Step actions," to delete it, make it optional, or mark it sensitive. The test itself can be renamed. However, you can't add steps to a test that's already recorded, or re-record part of it.

## Delete a step

**During the recording**: open the step's menu and choose "Delete." Until the test is saved, "Undo delete" puts it back.

**On a recorded test**:

1. Open the test, then the step's menu.
2. Choose "Delete."
3. Confirm: "Are you sure you want to delete this step? This action cannot be undone."

The first step, opening the starting URL, can't be deleted.

## Make a step optional

An optional step can fail without failing the test: Qanary skips it and continues. The result shows it: "Optional step failed, the run continued."

Qanary marks two kinds of steps as optional on its own:

- **the click in a recognized cookie banner**, because the banner doesn't appear on every visit;
- **the hover** added before a click in a dropdown menu.

For the others, choose "Mark as optional" in the step's menu, and "Mark as mandatory" to undo it. Keep this option for steps that are not essential to the journey: an optional step that fails will never alert you.

## Mark a text entry as sensitive

A sensitive step hides the value typed: it is shown as `••••••••` everywhere, in the test, the results, and MCP, and it is stored encrypted. Password fields are marked sensitive automatically. For another entry (a customer code, a test card number), choose "Mark as sensitive" in the step's menu.

Two limitations to know:

- entries that are not marked sensitive are stored in plain text;
- the step's screenshot is not masked: a value typed into an ordinary field can appear in it.

See [Where is my data, and what happens to my passwords?](https://qanary.dev/en/help/your-data-and-passwords).

## Rename a test

Click the test's title, or choose "Rename" in its menu, from the "Tests" list. A name is 100 characters at most.

## Change a test's journey

A recorded test can't be extended: no added step, no added check, no re-recorded section. To change the journey, record a new test, then delete the old one. If the change affects the first steps shared by several tests (a login), a block saves you from redoing everything: see [How do I reuse a login across several tests?](https://qanary.dev/en/help/use-blocks).

## Frequently asked questions

### Can I recover a step deleted from a recorded test?

No. On a recorded test, deleting a step can't be undone. To get the step back, record the journey again in a new test.

### Why does a hover appear in my test when I only clicked?

When you click in a menu that opens on hover, Qanary adds the hover before the click, so that the menu is open on replay. See [How do I record a hover menu, a new tab, or an iframe?](https://qanary.dev/en/help/hover-menus-tabs-iframes).
