Skip to main content

Function: getCellByColumnName()

getCellByColumnName(page, tableId, rowIndex, columnName, options?): Promise<string>

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

Returns the cell text at a given row and column name.

Parameters​

page​

TableOperationsPage

Playwright Page (or compatible subset).

tableId​

string

The UI5 control ID.

rowIndex​

number

Zero-based row index.

columnName​

string

Column header text.

options?​

TableOptions

Table options.

Returns​

Promise<string>

Cell text value.

Throws​

ControlError if the column name is not found.

Example​

const val = await getCellByColumnName(page, 'myTable', 0, 'Status');