Skip to main content

Function: setTableCellValue()

setTableCellValue(page, tableId, rowIndex, colIndex, value): Promise<void>

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

Sets a table cell value via inner control interaction.

Parameters​

page​

TableOperationsPage

Playwright Page (or compatible subset).

tableId​

string

The UI5 control ID.

rowIndex​

number

Zero-based row index.

colIndex​

number

Zero-based column index.

value​

string

The value to set.

Returns​

Promise<void>

Throws​

ControlError if the cell cannot be edited.

Example​

await setTableCellValue(page, 'myTable', 0, 1, 'New Value');