Skip to main content
Version: 1.x

Function: getRowCount()

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

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

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.

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');