Forum Discussion

czetsuya's avatar
Occasional Visitor
7 years ago

Using multiple * wildcard in an xpath assertion throws NPE



I'm currently creating an assertion for an xpath result that contain multiple dates. And so I have:


Which fails, but:




Error I got was:

  • XPathContains assertion failed for path [//return[1]/xxx/yyy[@code="zzz"]] : NullPointerException:null


Seems like multiple instance of * wildcard doesn't work? Is there a workaround?

No RepliesBe the first to reply