Skip to main content
Version: 1.x

Function: getListReportTable()

getListReportTable(page, options?): Promise<string>

Defined in: src/fe/list-report.ts:104

Finds the main table on a List Report page (SmartTable first, then MDC Table).

Parameters

page

ListReportPage

Playwright Page (or compatible subset).

options?

ListReportOptions

Optional timeout settings.

Returns

Promise<string>

The control ID of the table.

Intent

Discover the main table control on a Fiori Elements List Report page.

Throws

ControlError if no table control is found.

Example

const tableId = await getListReportTable(page);