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

    Function getTimePickerValue

    • Ai

      Gets the current value from a sap.m.TimePicker control.

      Parameters

      • page: DatePage

        Playwright Page (or compatible subset).

      • controlId: string

        The ID of the TimePicker control.

      Returns Promise<string>

      The current time value string.

      ui5.date.getTimePicker

      Read the current time string from a TimePicker control.

      Returns the raw time string from the control's getValue() method.

      Returns the raw string value from getValue().

      sap.m.TimePicker — getValue()

      Read current time values from SAP form fields for assertions.

      const time = await getTimePickerValue(page, 'timePicker1');
      // '14:30'