xml » assertValues(xml,xpath,array,exactOrder)
Description
This command is used to assert the values of the xml elements are in the exact order as expected.
Parameters
- xml - the XML content or file
- xpath - the xpath to extract value of interested XML elements
- array - the expected list of values
- exactOrder -
trueif the extracted values (viaxpath) is expected to be in the same order asarray
Example
Below is the xml file used for example:

Script:

Output:
