# 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&#x20;

**Input Value**: `<Dynamic Variable>;<Dynamic Variable>`&#x20;

| 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: 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.avoautomation.com/avo-assure/actions/generic/other-operations/verify-objects.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.
