Get Total Row Count
Last updated
Was this helpful?
Last updated
Was this helpful?
This is pre-built Action located under the Table captured from the AUT Element Name. It instructs the Avo Assure Client to retrieve the total count of the rows present in the table and save the result in the given output variable.
Input: N/A
Output: <Dynamic Variable>;<Dynamic Variable>(Optional)
In an e-commerce application, the "Order List" page displays a table of customer orders. Each row represents an individual order, with columns for Order ID, Customer Name, Order Date, Status, and Total Amount. The total number of orders in the system may vary over time, so the test needs to dynamically determine the number of rows in the order table to validate that all orders are displayed correctly. The "Get Total Row Count" Action is used to fetch the total number of rows in the order table.
This Action needs to retrieve the total count of the rows of the captured table and needs to store it in the {result} Output Variable.
The extracted count is stored in the {result} output variable as 24, which can be utilized for display or other purposes.