Skip to main content
Version: 1.x

Function: getTableCellValue()

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

Defined in: src/modules/table.ts:311

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>

Intent

Read the display text of a cell at a specific row and column 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);`