Forum Discussion
thatsthat
2 years agoContributor
The issue is KarelHusa the value can appear in a variety of positions .. there is not just 1 amount returned .. there are many .. so i am looking to match the current result 'anywhere' in the previous step's result.
- KarelHusa2 years agoChampion Level 2
XPath assertions work exactly for such purpose.
An XPath expression like //ns2:BuyTotal/ns2:Amount = 742.50 should work for you.
ReadyAPI will help you declare namespaces and set up the XPath expression; please look at XPath Match docs for more detail.
Related Content
- 2 years ago
- 11 months ago
- 9 years ago
- 8 years ago