Forum Discussion
1 Reply
Sort By
- KarelHusaSuper Contributor
Neha3.,
you can use the and operator from XPath.
An example could be:
exists(//ns:TemperatureInFahrenheit) and ${#TestCase#resultCode} = 200
Hi,
I'm wondering how can I check the 2 conditions together.
For Ex: I want to check if status code of response is 200 && Value of the condition is STOP.
In normal IF condition we write : if(StatusCode == 200 && Condition=="STOP")
How can we do that in ReadyAPI ?
Thank you.
Neha3.,
you can use the and operator from XPath.
An example could be:
exists(//ns:TemperatureInFahrenheit) and ${#TestCase#resultCode} = 200