Function: getTableRowCount()
getTableRowCount(
page,tableId,options?):Promise<number>
Ai
Returns the total row count from a UI5 table's binding.
Parameters
page
TablePage
Playwright Page (or compatible subset).
tableId
string
The UI5 control ID.
options?
Table options.
Returns
Promise<number>
Capability
ui5.table.getRowCount
Intent
Get the total number of rows in a table (from binding length or items count).
Guarantee
Returns the row count from the table binding (0 if no binding or no data).
Ai Context
For grid tables, reads binding.getLength(). For responsive tables, reads items.length.
Sap Module
sap.m.Table, sap.ui.table.Table — row binding length
Business Context
Verify expected data volume in a table before proceeding with row operations.
Example
`const count = await getTableRowCount(page, 'myTable');`