Department_of_TContributor11 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 Hero11 years agoyour XPath expression should be something like //xpath > 1and the expected result should be trueDepartment_of_TContributor11 years agoBrilliant, thanks this works!!
SiKingCommunity Hero11 years agoyour XPath expression should be something like //xpath > 1and the expected result should be true
Recent DiscussionsTestcase Report in teardown scriptReadyAPI 3.65 – Confirmation of bundled Log4j version and remediation guidanceNo license found on floating license server
Related ContentRe: Comparing JDBC resultsRe: Groovy for assertion not contain and json pathGroovy assert called test step's result