Skip to main content

Function: findRowByValues()

findRowByValues(page, tableId, columnValues): Promise<number>

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

Finds the first row whose cells match all specified column-value criteria.

Parameters​

page​

TableOperationsPage

Playwright Page (or compatible subset).

tableId​

string

The UI5 control ID.

columnValues​

ColumnValueCriteria

Column name to expected value mapping.

Returns​

Promise<number>

Zero-based row index, or -1 if not found.

Example​

const idx = await findRowByValues(page, 'myTable', { Name: 'Alice' });