Skip to main content
Version: 1.x

Function: setTableCellValue()

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

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

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>

Intent

Write a value to a specific editable table cell by row and column index.

Throws

ControlError if the cell cannot be edited.

Example

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