Skip to main content

Function: feGetCellValue()

feGetCellValue(page, tableId, rowIndex, columnName): Promise<string>

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

Gets the text value of a cell in a UI5 table at the given row index and column name.

Parameters​

page​

FETablePage

Playwright Page (or compatible subset).

tableId​

string

The UI5 control ID of the table.

rowIndex​

number

Zero-based row index.

columnName​

string

The column header text to match.

Returns​

Promise<string>

The text content of the cell.

Remarks​

Looks up the column index by matching header text, then reads the cell value. For responsive tables, uses getItems()[row].getCells()[col]. For grid tables, uses getRows()[row].getCells()[col].

Throws​

ControlError with ERR_CONTROL_AGGREGATION if the column is not found or index is out of bounds.

Example​

const value = await feGetCellValue(page, 'myApp--productTable', 0, 'Product Name');