Skip to main content
Version: 1.x

Function: getTableCellValue()

getTableCellValue(page, tableId, rowIndex, colIndex, options?): Promise<string>

Ai

Returns the text value of a specific table cell.

Parameters

page

TablePage

Playwright Page (or compatible subset).

tableId

string

The UI5 control ID.

rowIndex

number

Zero-based row index.

colIndex

number

Zero-based column index.

options?

TableOptions

Table options.

Returns

Promise<string>

Capability

ui5.table.getCellValue

Intent

Read the display text of a cell at a specific row and column position.

Guarantee

On success, returns the text or value of the cell control at the given position.

Ai Context

Uses getText() or getValue() on the inner cell control. Returns text representation.

Sap Module

sap.m.Table, sap.ui.table.Table — cell control text/value access

Business Context

Extract specific cell values for assertion or data extraction in E2E tests.

Example

`const val = await getTableCellValue(page, 'myTable', 0, 1);`