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

    Function getColumnNames

    • Returns the column header names from a UI5 table.

      Parameters

      • page: TableOperationsPage

        Playwright Page (or compatible subset).

      • tableId: string

        The UI5 control ID.

      Returns Promise<readonly string[]>

      Ordered array of column header texts.

      const cols = await getColumnNames(page, 'myTable');
      // ['Name', 'Status', 'Amount']