Department_of_TContributor12 years ago[Res] How can we assert the count of a result?HelloI wish to assert that the value for FIND_PERSON_TXN from a JDBC call is greater than the value of 1. How can this be done using assertions?Count+of+result.png71 KB
2 RepliesReplies sorted by Most LikedSiKingCommunity Hero12 years agoyour XPath expression should be something like //xpath > 1and the expected result should be trueDepartment_of_TContributor12 years agoBrilliant, thanks this works!!
SiKingCommunity Hero12 years agoyour XPath expression should be something like //xpath > 1and the expected result should be true
Recent DiscussionsUnable to authenticate license in Ready API Login button unresponsiveSolvedAssertions Panel issue to update assertions since update 3.63ReadyAPI websocket plugin issue
Related ContentRe: Comparing JDBC resultsRe: Groovy for assertion not contain and json pathGroovy assert called test step's result