> 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/quick-element-update.md). Agents can also search and read this documentation through its [MCP server](https://help.autify.com/~gitbook/mcp).

# Quick Element Update

## What is Quick Element Update?

If there's a step in which the intended element was not selected in your test result, **Quick Element Update** is a feature that allows you to re-select the element from the screenshot of that step, so that the correct element is selected the next time the test is executed. The advantage of Quick Element Update is that you don't have to launch Autify Recorder and replay all preceding steps to update the target step - you can make an update instantly without re-recording.

Quick Element Update can be used when:

* The test was run in an environment other than Safari on iOS
* The step has a target element (i.e., Click Element, Text assertions, etc.)
* The target element you want to select is shown in the screenshot
* The step does not have a locator (CSS Selector) specified
* The target element is not inside an iframe
* The target element is not in Shadow DOM
* The target element does not have a `pointer-events: none;` style

You can use Quick Element Update regardless of whether the step itself is marked as `passed` or `failed`, making it useful in a variety of situations.

## Using Quick Element Update

1. Open the step in the Test Result Details Page where the intended element was not selected.
2. Click `Update Element` button.

   ![](https://1964297753-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVdZPTgwISYb3LhjgKnw6%2Fuploads%2Fgit-blob-483d6538d4681d244d55b0b67ccef5c731d8c782%2FScreen%20Shot%202022-11-28%20at%2015.26.27.png?alt=media)
3. You can now interact with the screenshot. Click the element you want to select, and then click `Update Selected Element`.

   ![](https://1964297753-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVdZPTgwISYb3LhjgKnw6%2Fuploads%2Fgit-blob-fd0576697a3ce76e301ab39f7a3db48ec41a12f9%2FScreen%20Recording%202022-11-24%20at%2020.51.27.gif?alt=media)
4. Close the modal. In the test result, the step will be marked as "Updated".

   ![](https://1964297753-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVdZPTgwISYb3LhjgKnw6%2Fuploads%2Fgit-blob-70e4f2d38887292ab6c6adf9965583a8eea67e1d%2FScreen%20Shot%202022-11-28%20at%2011.46.22.png?alt=media)
5. Run the scenario. If successful, the specified element will be selected in the screenshot.

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

{% hint style="info" %}
**Note**

* If you update the element using Quick Element Update, the element information of the scenario will be updated too. However, the screenshot of the scenario will not be updated.
* If you duplicate the scenario after using Quick Element Update, the update will be inherited by the duplicated scenario. However, if you duplicate the scenario before using Quick Element Update, the update will not be inherited by the duplicated scenario.
* You cannot undo `Update Selected Element`. If you want to select the element that was originally selected, click `Update Selected Element` and select the element again in the screenshot.
* If you update an element of a step within a Step Group, all scenarios that use that Step Group will be affected.
* If there are a large number of elements on a page, the Update Element button may not appear and may not be available.
  {% 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/quick-element-update.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.
