Praman — AI-First SAP UI5 Test Automation Platform - v1.0.1
    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.

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

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