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

    Function navigateAndSearch

    • Navigates to an SAP app, applies search criteria, then clicks the Go / Search button.

      Parameters

      • ui5: UI5HandlerSlice

        UI5 interaction handler.

      • ui5Nav: { navigateToApp(appId: string, options?: unknown): Promise<void> }

        Navigation API (structural sub-type of UI5NavigationAPI).

      • vocabulary: VocabLookup

        Vocabulary lookup service.

      • appId: string

        FLP semantic-object hash (e.g. 'PurchaseOrder-manage').

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

        Key/value map of field label → search value.

      • Optionaloptions: IntentOptions

        Optional intent options.

      Returns Promise<IntentResult<void>>

      An IntentResult<void> describing the outcome.

      ui5Nav.navigateToApp() is called unless options.skipNavigation is true. Fields in criteria are resolved via vocabulary.getFieldSelector() and filled. The Go button is clicked to trigger the search.

      Navigate to a list app and run a search with the given criteria.

      Reusable across all SAP domain search intents.

      import { navigateAndSearch } from '#intents/core-wrappers.js';

      await navigateAndSearch(ui5, ui5Nav, vocab, 'PurchaseOrder-manage', { Vendor: '100001' });