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

    Function isDialogOpen

    • Ai

      Checks whether a specific dialog (by ID) is currently open.

      Parameters

      • page: DialogPage

        Playwright Page (or compatible subset).

      • dialogId: string

        The UI5 control ID of the dialog.

      Returns Promise<boolean>

      true if the dialog exists and is open, false otherwise.

      ui5.dialog.isOpen

      Check if a known dialog is currently open, by its UI5 control ID.

      Returns true if the dialog is open, false otherwise (including when control not found).

      Calls isOpen() on the control. Returns false if the control is not found or not open.

      sap.m.Dialog — isOpen() check

      Assert that a dialog has opened or closed after an action.

      const open = await isDialogOpen(page, 'confirmDialog');