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

    Interface BTPWorkZoneManager

    Manager for BTP WorkZone dual-frame environments.

    const manager: BTPWorkZoneManager = createWorkZoneManager(page, adapter);
    const isWZ = await manager.detect();
    interface BTPWorkZoneManager {
        detect(): Promise<boolean>;
        enableDualBridge(): Promise<void>;
        getAppFrameForEval(): WorkZoneFrame;
        getCurrentApp(): Promise<string | null>;
        isAppReady(timeout?: number): Promise<boolean>;
        navigateToApp(appId: string): Promise<void>;
        switchToApp(): WorkZoneFrameLocator;
        switchToShell(): WorkZonePage;
    }
    Index

    Methods

    • Detects whether the current page is a WorkZone environment.

      Returns Promise<boolean>

    • Injects bridge in both shell and app frames.

      Returns Promise<void>

    • Gets the current app semantic object string, or null.

      Returns Promise<string | null>

    • Checks if the app in the iframe is ready (UI5 stable).

      Parameters

      • Optionaltimeout: number

      Returns Promise<boolean>

    • Navigates to an app within the WorkZone shell.

      Parameters

      • appId: string

      Returns Promise<void>

    • Returns a FrameLocator for element interactions in the app iframe.

      Returns WorkZoneFrameLocator