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

    Function setDateRangeSelection

    • Sets a date range on a sap.m.DateRangeSelection control.

      Parameters

      • page: DatePage

        Playwright Page (or compatible subset).

      • controlId: string

        The ID of the DateRangeSelection control.

      • startDate: DateInput

        The start date.

      • endDate: DateInput

        The end date.

      • Optionaloptions: DateOptions

        Optional date operation settings.

      Returns Promise<void>

      ControlError if startDate is after endDate.

      await setDateRangeSelection(page, 'range1', '2024-01-01', '2024-01-31');