Forum Discussion

JackStoneS's avatar
JackStoneS
Occasional Contributor
9 years ago

NullPointerException on XPathContains (JDBC-teststep): why?

I have a JDBC-teststep, requesting some info from a database. I get some rows back, and want to assert their validity with an XPathContains. For the first row, this works: the data matches and the ...
  • nmrao's avatar
    nmrao
    9 years ago
    Glad to know that it worked.

    As mentionedarlier, list order of Rows may get changed.

    Below should have worked too(it is different from initial reply)
    //Results/ResultSet/Row[@rowNumber='2']

    I think you should rely on VISSOORT is DAB.

    Hope this helps. You can close it by accepting the solution if you wish.