ankitaT
15 years agoContributor
Verify XPath Match assertion against more than 1 value
Hi,
I want to compare my received response to 2 values.
I am using XPath match assertion.
However, I can compare it to only one value and in that case one of the two assertions fail.
Suppose I receive the value of URI tag, I want to verify that the value should be either URI1 or URI2.
How can I achieve this? Can I use something like OR operator in the expected result field? Or should I use some other assertion?
I want to compare my received response to 2 values.
I am using XPath match assertion.
However, I can compare it to only one value and in that case one of the two assertions fail.
Suppose I receive the value of URI tag, I want to verify that the value should be either URI1 or URI2.
How can I achieve this? Can I use something like OR operator in the expected result field? Or should I use some other assertion?