Function: setTimePickerValue()
setTimePickerValue(
page,controlId,time,options?):Promise<void>
Defined in: src/modules/date.ts:467
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').
options?​
Optional date operation settings.
Returns​
Promise<void>
Throws​
ControlError if the time format is invalid.
Example​
await setTimePickerValue(page, 'timePicker1', '14:30');
await setTimePickerValue(page, 'timePicker1', '14:30:45');