Gets the number of rows in a UI5 table control.
Playwright Page (or compatible subset).
The UI5 control ID of the table.
The number of rows in the table.
Supports responsive tables (sap.m.Table) via getItems() and grid tables (sap.ui.table.Table and variants) via getBinding('rows').getLength().
sap.m.Table
getItems()
sap.ui.table.Table
getBinding('rows').getLength()
ControlError if the table control is not found.
const count = await feGetTableRowCount(page, 'myApp--productTable'); Copy
const count = await feGetTableRowCount(page, 'myApp--productTable');
Gets the number of rows in a UI5 table control.