# Re-recording steps

If your test failed and you need to fix it, it's faster to [record the steps "from here"](https://docs.bugbug.io/recording-tests-steps/record-from-here) rather than [edit them manually](https://docs.bugbug.io/editing-tests/manually-creating-the-test).

1. Find the step that failed
2. Delete it
3. Record from here
4. Record a new step(s)
5. Stop recording

![](https://3168433179-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MKixgeBPbLvnD0l1eiV%2Fuploads%2Fs3g3bXrrCOWExULhfDzc%2FScreenshot%202022-04-11%20at%2016.37.06.png?alt=media\&token=9399cd05-8fb3-4628-addf-a369fc905459)

New recorded steps will have the `NEW` badge. BugBug allows you to record & execute recorded steps in the same session using [edit-and-rewind](https://docs.bugbug.io/workflow-tips/edit-and-rewind "mention") feature.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.bugbug.io/recording-tests-steps/re-recording-steps.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
