Function: getTimePickerValue()
getTimePickerValue(
page,controlId):Promise<string>
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.
Capability
ui5.date.getTimePicker
Intent
Read the current time string from a TimePicker control.
Guarantee
Returns the raw time string from the control's getValue() method.
Ai Context
Returns the raw string value from getValue().
Sap Module
sap.m.TimePicker — getValue()
Business Context
Read current time values from SAP form fields for assertions.
Example
const time = await getTimePickerValue(page, 'timePicker1');
// '14:30'