> For the complete documentation index, see [llms.txt](https://docs.avoautomation.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.avoautomation.com/avo-assure/actions/generic/other-operations/verify-objects.md).

# Verify Objects

This is a pre-built Action located under the **@Generic Element**. The functionality of this Action in Avo Assure is to verify whether the XML blocks provided in input field are equivalent. The result is stored in the given dynamic variable for further use during test execution.

{% hint style="info" %}
**Note**: The **Verify Objects** action supports only XML blocks. The input value must contain two XML blocks that are compared during execution.
{% endhint %}

## Syntax

**Input Value**: `<Dynamic Variable>;<Dynamic Variable>`

| Argument                                    | Description                                                                  |
| ------------------------------------------- | ---------------------------------------------------------------------------- |
| <p>\<Dynamic variable></p><p>(Required)</p> | Provide the first XML block which you want to compare with second XML block. |
| <p>\<Dynamic Variable></p><p>(Required)</p> | Provide the second XML block which you want to compare with first XML block. |

**Output Value**: N/A

| Argument | Description    |
| -------- | -------------- |
| N/A      | Not Applicable |

### **Example: Verifying Whether Two XML Blocks Match**

In this example, we explain how to verify whether two XML structures are identical by comparing them during test execution.

* **Action**: Verify Objects
* **Input Value**: \<Employee>\<ID>101\</ID>\<Name>Helen Powell>;\<Employee>\<ID>101\</ID>\<Name>Helen Powell>
  * The argument (**\<Employee>\<ID>101\</ID>\<Name>Helen Powell\</Name>\</Employee> ; \<Employee>\<ID>101\</ID>\<Name>Helen Powell\</Name>\</Employee>**) specifies the two XML blocks separated by a semicolon. This action compares the two XML blocks to verify whether their structure and content match exactly.
* **Output Value**: N/A
  * This action does not require any input value in the **Output Value** column.
* **Logical Explanation**: The **Verify Objects** action reads the two XML blocks from the **Input Value** column (**\<Employee>\<ID>101\</ID>\<Name>Helen Powell>;\<Employee>\<ID>101\</ID>\<Name>Helen Powell>**). It treats them as two XML blocks and compares their structure and values to check if both matches exactly.

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


---

# 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 dynamically by asking a question.

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

```
GET https://docs.avoautomation.com/avo-assure/actions/generic/other-operations/verify-objects.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
