Skip to main content
Version: 1.x

Function: getTableRows()

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

Defined in: src/modules/table.ts:241

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[]>

Intent

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

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