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

    Function setTimePickerValue

    • Sets a time value on a sap.m.TimePicker control.

      Parameters

      • page: DatePage

        Playwright Page (or compatible subset).

      • controlId: string

        The ID of the TimePicker control.

      • time: string

        Time string (e.g., '14:30' or '14:30:00').

      • Optionaloptions: DateOptions

        Optional date operation settings.

      Returns Promise<void>

      ControlError if the time format is invalid.

      await setTimePickerValue(page, 'timePicker1', '14:30');
      await setTimePickerValue(page, 'timePicker1', '14:30:45');