Prudential_UK_A
16 years agoFrequent Contributor
Xpath Match for multiple nodes
Hi,
I have a situation where I get a set of results elements back, each of which should contain the same birthDate(for example). When I use an Xpath Match assertion and use either //birthDate or //rootElement/*/birthDate, it matches the required birthdate if any of the elements match, not all.
how do I get it check ALL elements match the Expected result?
Regards
Peter
I have a situation where I get a set of results elements back, each of which should contain the same birthDate(for example). When I use an Xpath Match assertion and use either //birthDate or //rootElement/*/birthDate, it matches the required birthdate if any of the elements match, not all.
how do I get it check ALL elements match the Expected result?
Regards
Peter