> For the complete documentation index, see [llms.txt](https://docs.dogq.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.dogq.io/documentation/ai-powered-tools/ai-healer.md).

# AI Healer

Test healer is a powerful tool that can help you quickly assess and eliminate mistakes in your tests. When a test run fails, Healer analyzes Scenario and target web page, and tries to understand why the run failed and how to make it pass.

Consider the following basic example. Here we try to click on 'Get Started' button and verify that we've been redirected accordingly. The only issue is, there's been a minor typo - the letter 'd' in the selector is doubled.

<figure><img src="/files/vqSa2klSyKaUPBY1oAfe" alt=""><figcaption></figcaption></figure>

As expected, the test fails and when we go to the test run report for details, here's what we see:

<figure><img src="/files/7n96zW3uNFqWTiPtmpk8" alt=""><figcaption></figcaption></figure>

Not only does it correctly recognize that there are no matches for the mistyped selector and what the right one is, DogQ's Healer also proposes a fix that you can use if you see fit. Clicking on <img src="/files/mq1nhms7h1MzLvUBjMPQ" alt="" data-size="line"> will update the input of the failed step and navigate you back to your Scenario.
