Verify Objects
This action in Avo Assure is available under the @Generic element, it instructs the Avo Assure client to Verify XML block in Input 1 and Input 2 are the same.
It gives two inputs, True and false where true means same input value whereas False means different values.
Syntax
Input:
<Dynamic Variable>;<Dynamic Variable>
Supported Input Format:
1. Text
2. Static values/dynamic variables
Output:
N/A

Use case/Example

Scenario: Verification of XML blocks Using the Verify Objects Action
In this scenario, you are testing a verification feature of application. You want to validate the integrity of two XML-Block by comparing them and assessing their equivalence, resulting in a true or false status. So, you can use ‘Verify Objects’ action in Avo Assure to compare specified XML blocks. It ensures the content of these XML blocks matches, indicating that they are consistent and correctly configured.
Input
In the input section, the two blocks of XML content are added.
Input 1= <root>
<person>
<name>John Doe</name>
<age>30</age>
<email>[email protected]</email>
</person>
</root>
Input 2= <root>
<person>
<name>John Doe</name>
<age>30</age>
<email>[email protected]</email>
</person>
</root>
Expected Result
It needs to compare the given chunks.
Output
The output variable {Status}Contains True, which can be utilized for display purpose.
Last updated
Was this helpful?