Skip to main content
Version: 1.x

Function: getRowCount()

getRowCount(page, tableId, options?): Promise<number>

Returns the total row count from a UI5 table.

Parameters​

page​

TableOperationsPage

Playwright Page (or compatible subset).

tableId​

string

The UI5 control ID.

options?​

TableOptions

Table options.

Returns​

Promise<number>

Total number of rows.

Capability​

ui5.table.getRowCountAlt

Intent​

Read the total number of rows currently loaded in a UI5 table.

Remarks​

Convenience wrapper around getTableRowCount from table.ts.

Example​

const count = await getRowCount(page, 'myTable');