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

    Function getFilterBarFieldValue

    • Gets the current value of a filter field on the filter bar.

      Parameters

      • page: ListReportPage

        Playwright Page (or compatible subset).

      • filterBarId: string

        The UI5 control ID of the filter bar.

      • fieldName: string

        The name/key of the filter field.

      Returns Promise<string>

      The current value of the filter field, or empty string if not set.

      Read the current value of a filter field on the filter bar.

      fe.listReport.getFilterValue

      const value = await getFilterBarFieldValue(page, 'app--filterBar', 'CompanyCode');