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

    Function waitForTableData

    • Ai

      Waits for table data to load with a minimum row count.

      Parameters

      • page: TablePage

        Playwright Page (or compatible subset).

      • tableId: string

        The UI5 control ID.

      • Optionaloptions: WaitForTableDataOptions

        Wait options.

      Returns Promise<void>

      ui5.table.waitForData

      Wait until the table has loaded at least N rows of data.

      On success, the table binding has at least minRows entries.

      The table must be bound to an OData model that will eventually load data.

      Polls via waitForFunction() until row count meets minRows threshold or timeout. Use after navigation or search to ensure data is loaded before reading cell values.

      sap.m.Table, sap.ui.table.Table — binding length polling

      Wait for OData response to populate table before proceeding with assertions.

      Uses page.waitForFunction() with a browser-side predicate. Throws TimeoutError on timeout.

      `await waitForTableData(page, 'myTable', { minRows: 5 });`