Ai
Gets the current value from a sap.m.DatePicker control.
sap.m.DatePicker
Playwright Page (or compatible subset).
The ID of the DatePicker control.
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'); Copy
const value = await getDatePickerValue(page, 'datePicker1');
Gets the current value from a
sap.m.DatePickercontrol.