Praman — AI-First SAP UI5 Test Automation Platform - v1.0.1
    Preparing search index...

    Interface UI5HandlerSlice

    Minimal UI5 interaction API required by core-wrappers.

    Declared as a structural interface so the wrappers can be unit-tested with simple mock objects without importing the full UI5Handler class.

    const ui5: UI5HandlerSlice = {
    control: vi.fn(),
    click: vi.fn(),
    fill: vi.fn(),
    select: vi.fn(),
    getText: vi.fn(),
    waitForUI5: vi.fn(),
    };
    interface UI5HandlerSlice {
        click(selector: UI5Selector): Promise<void>;
        control(
            selector: UI5Selector,
            options?: { timeout?: number },
        ): Promise<unknown>;
        fill(selector: UI5Selector, value: string): Promise<void>;
        getText(selector: UI5Selector): Promise<string>;
        select(selector: UI5Selector, key: string): Promise<void>;
        waitForUI5(timeout?: number): Promise<void>;
    }
    Index

    Methods

    • Discovers a single UI5 control matching the selector.

      Parameters

      • selector: UI5Selector
      • Optionaloptions: { timeout?: number }

      Returns Promise<unknown>

    • Waits for UI5 to reach a stable (idle) state.

      Parameters

      • Optionaltimeout: number

      Returns Promise<void>