Forum Discussion
PaulMS
8 years agoSuper Contributor
You could also use 2 separate assertions with XPath expressions //Log/Activity and //Log/Agent
keanesean
8 years agoOccasional Contributor
Yes, I had considered that also, but the xml I provided is only part of the overall response, so would need a lot of assertions :(
- groovyguy8 years agoCommunity Hero
If my test tends to require a lot of XPATH matches, I tend to compile them all into one groovy script test.