Forum Discussion
PaulMS
10 years agoSuper Contributor
If the order is not significant then you could use the assertion to check the description based on the expected code/s.
The assertion will fail if the code is not found in response or the description is incorrect.
//ns1:status[@code ="400.1009"]/@description
Expected result
yyyyy. Please check your input and try again.
//ns1:status[@code ="400.1109"]/@description
Expected result
xxxxxx Please check your input and try again.