Praman — Agent-First SAP UI5 Test Automation Plugin - v1.2.0
    Preparing search index...

    Function exportTableData

    • Exports visible table data as an array of objects keyed by column header text.

      Parameters

      • page: TableFilterSortPage

        Playwright Page (or compatible subset).

      • tableId: string

        The UI5 control ID.

      • Optionaloptions: TableExportOptions

        Export options (columns to include, etc.).

      Returns Promise<readonly Record<string, string>[]>

      Array of row objects keyed by column header text.

      ui5.table.exportData

      Extract all visible table data as structured JSON objects for assertions or export.

      This does NOT create a file export; it reads cell values as JSON objects.

      const data = await exportTableData(page, 'myTable');
      // [{ Name: 'Alice', Status: 'Active' }, ...]