Skip to main content

Function: feClickRow()

feClickRow(page, tableId, rowIndex): Promise<void>

Defined in: src/fe/fe-table-helpers.ts:288

Clicks (presses) a row at the specified index in a UI5 table.

Parameters​

page​

FETablePage

Playwright Page (or compatible subset).

tableId​

string

The UI5 control ID of the table.

rowIndex​

number

Zero-based index of the row to click.

Returns​

Promise<void>

Remarks​

For responsive tables, fires the press event on the item or triggers a tap. For grid tables, fires rowSelectionChange or triggers a DOM click on the row element.

Throws​

ControlError with ERR_CONTROL_AGGREGATION if the row index is out of bounds.

Example​

await feClickRow(page, 'myApp--productTable', 0);