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

    Function waitForODataLoad

    • Ai

      Waits for OData data to load by polling a binding path.

      Parameters

      • page: ODataPage

        Playwright Page (or compatible subset).

      • Optionaloptions: WaitForODataLoadOptions

        Wait options (timeout, polling, bindingPath, modelName).

      Returns Promise<void>

      ui5.odata.waitForLoad

      Wait until OData data is loaded at a specific binding path.

      On success, the model has non-null data at the specified path.

      An OData model must be configured on the component.

      Polls the model until getData() returns non-empty data or timeout. Use after navigation or filter changes to wait for backend response.

      sap.ui.model.odata.v2.ODataModel, sap.ui.model.odata.v4.ODataModel

      Wait for SAP backend data to load before asserting on table or form content.

      TimeoutError if data does not load within the timeout.

      await waitForODataLoad(page, { bindingPath: '/Products', timeout: 10_000 });