Forum Discussion
PaulMS
8 years agoSuper Contributor
That looks like a defect with XPath match assertion and multiple wildcards in some cases.
Maybe avoid the wildcards by changing the XPath expression to child node bankCoordinates
//paymentMethods/methodOfPayment[bankCoordinates/iban="1313"]/bankCoordinates
You could also add separate assertions to test other child nodes if needed.
Related Content
- 5 years ago
Recent Discussions
- 18 hours ago