SDutta
13 years agoOccasional Contributor
JBDC Reponse and Assertion on the no. of Rows Returned
Hi,
Can some one help me in one assertion.. I have a response for a JDBC request that I am sending...
I want to assert the response to check if the rowNumber for the Row tag is 1 or More than 1.
Can some one help me in one assertion.. I have a response for a JDBC request that I am sending...
<Results>
<ResultSet fetchSize="10">
<Row rowNumber="1">
<ACREATED>2013-06-02 13:00:24.0</ACREATED>
<AEXPIRATION>2013-07-02 13:00:24.0</AEXPIRATION>
<ACOUNT/>
<ADESCRIPTION>Wi-Fi MS Access Monthly</ADESCRIPTION>
<ARESOURCETYPEID>WIFI_Basic</ARESOURCETYPEID>
<APRODUCTID>MS_WIFI001R30D_MONTHLY_HW</APRODUCTID>
<ASTATE>OPEN</ASTATE>
<ASTATE>OPEN</ASTATE>
</Row>
</ResultSet>
</Results>
I want to assert the response to check if the rowNumber for the Row tag is 1 or More than 1.