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

    Function navigateToIntent

    • Ai

      Navigates to an SAP intent with optional parameters.

      Parameters

      • page: NavigationPage

        Playwright Page (or compatible subset).

      • intent: NavigationIntent

        Semantic object and action descriptor.

      • Optionalparams: Readonly<Record<string, string>>

        Optional query parameters for the intent.

      • Optionaloptions: NavigationOptions

        Navigation options.

      Returns Promise<void>

      ui5Navigation.navigateToIntent

      Navigate using a structured semantic object + action pair with optional query params. Prefer this over navigateToApp() when parameters need to be passed to the target app.

      On success, the FLP hash is set to the intent with parameters and UI5 is stable.

      Build the intent from the app's cross-navigation inbound config. Parameters are appended as URL query string (e.g., #PurchaseOrder-manage?PurchaseOrder=4500001234).

      sap.ushell.Container — FLP intent-based navigation with parameters

      Cross-app navigation with context parameters in SAP Fiori.

      await navigateToIntent(page, { semanticObject: 'PurchaseOrder', action: 'manage' });