Ai
Waits for OData data to load by polling a binding path.
Playwright Page (or compatible subset).
Optional
Wait options (timeout, polling, bindingPath, modelName).
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 }); Copy
await waitForODataLoad(page, { bindingPath: '/Products', timeout: 10_000 });
Waits for OData data to load by polling a binding path.