Praman — AI-First SAP UI5 Test Automation Platform - v1.0.1
    Preparing search index...

    Function feGetColumnNames

    • Gets all column header names from a UI5 table control.

      Parameters

      • page: FETablePage

        Playwright Page (or compatible subset).

      • tableId: string

        The UI5 control ID of the table.

      Returns Promise<readonly string[]>

      A readonly array of column header strings.

      For responsive tables, reads getHeader().getText() on each column. For grid tables, reads getLabel().getText() or stringifies the label.

      ControlError if the table control is not found.

      const columns = await feGetColumnNames(page, 'myApp--productTable');
      // ['Product', 'Status', 'Price']