> For the complete documentation index, see [llms.txt](https://help.autify.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.autify.com/nocode-web/en/autify-university/foundation/test-results/visual-diff-for-test-results.md). Agents can also search and read this documentation through its [MCP server](https://help.autify.com/~gitbook/mcp).

# Visual diff for test results

Do you ever want to see what parts of the screen have changed in appearance compared to the last time you tested? For the second and subsequent tests in the same execution environment, image comparisons can be made if a screenshot of the previous successful test exists at each step of the test results. If you open the **"Diff"** tab for each step, the differences between the two screenshots will be highlighted!

![](https://1964297753-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVdZPTgwISYb3LhjgKnw6%2Fuploads%2Fgit-blob-889cc5460606a26e85fb0a1f3115c7bd28a710f9%2FScreen%20Shot%202022-06-30%20at%207.25.15.png?alt=media)

![](https://1964297753-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVdZPTgwISYb3LhjgKnw6%2Fuploads%2Fgit-blob-e3acc888f78d1245c0bfa84752e513e262b1eee3%2FScreen%20Shot%202022-06-30%20at%207.26.37.png?alt=media)

The percentage difference is calculated based on changes in pixels and colors. We hope this will allow you to verify changes in appearance that were previously difficult to detect.

{% hint style="info" %}
**Diff display period**

The display of the Diff tab is based on the [period for viewing test results (log retention period)](https://help.autify.com/nocode-web/en/faq/faq-test-result/how-long-are-test-results-save.md). Therefore, if the last successful test was outside the viewable period, the Diff tab will not be displayed.
{% endhint %}

{% hint style="warning" %}
**Cases where only the "Base" tab is displayed**

In the following cases, the "Side by Side" tab will not be displayed, and only the "Base" tab will be visible:

* When a JavaScript (JS) step is executed in an environment different from the environment in which it was previously executed.
* When a JavaScript (JS) step has been deleted or modified.
  {% endhint %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

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

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://help.autify.com/nocode-web/en/autify-university/foundation/test-results/visual-diff-for-test-results.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
