Skip to main content
Version: 1.x

Function: selectTableRow()

selectTableRow(page, tableId, rowIndex, options?): Promise<void>

Ai

Selects a table row by index.

Parameters​

page​

TablePage

Playwright Page (or compatible subset).

tableId​

string

The UI5 control ID.

rowIndex​

number

Zero-based row index.

options?​

TableOptions

Table options.

Returns​

Promise<void>

Capability​

ui5.table.selectRow

Intent​

Select (highlight) a table row by its zero-based index.

Guarantee​

On success, the row is selected in the table's selection model.

Ai Context​

Uses SelectionPlugin for grid tables, setSelectedItem for responsive tables.

Sap Module​

sap.m.Table, sap.ui.table.Table — row selection API

Business Context​

Select a specific row for subsequent actions (delete, edit, navigate).

Example​

`await selectTableRow(page, 'myTable', 0);`