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

    Function getDatePickerValue

    • Ai

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

      Parameters

      • page: DatePage

        Playwright Page (or compatible subset).

      • controlId: string

        The ID of the DatePicker control.

      Returns Promise<string>

      The current date value string.

      ui5.date.getDatePicker

      Read the current date string from a DatePicker control.

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

      Returns the raw string value from getValue(). Format depends on the control's valueFormat.

      sap.m.DatePicker — getValue()

      Read current date values from SAP form fields for assertions.

      const value = await getDatePickerValue(page, 'datePicker1');