Skip to main content
Version: 1.x

Function: getTableRows()

getTableRows(page, tableId, options?): Promise<readonly string[]>

Ai

Returns row IDs from a UI5 table.

Parameters

page

TablePage

Playwright Page (or compatible subset).

tableId

string

The UI5 control ID.

options?

TableOptions

Table options.

Returns

Promise<readonly string[]>

Capability

ui5.table.getRows

Intent

Retrieve the UI5 control IDs of all visible rows in a table.

Guarantee

Returns an array of UI5 control IDs for visible rows (empty array if no rows).

Ai Context

Returns DOM row IDs (not OData keys). Use for iterating rows or passing to other APIs.

Sap Module

sap.m.Table, sap.ui.table.Table — getItems() / getRows() aggregation

Business Context

Read table row references for subsequent row-level operations.

Example

`const rows = await getTableRows(page, 'myTable');`