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 DiscussionsCom server permission error on Process.startReuse adapted xml file and send in RESTManaging Failures - New vs. Expected/Known Issues
Related ContentRe: Comparing JDBC resultsRe: Groovy for assertion not contain and json pathGroovy assert called test step's result