Skip to main content

Function: getRowCount()

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

Defined in: src/modules/table-operations.ts:317

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.

Remarks​

Convenience wrapper around getTableRowCount from table.ts.

Example​

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