SetTime not working properly - UFT, Vbscript, SwfCalendar Object

Viewed 26

I have an object SwfCalendar in which I have to set time in hh:mm format. I am using a code similar to the below one.

VbWindow("Window").SwfCalendar ("datetimepicker").SetTime FormatDateTime(Now,4)

In this case, it sets the time but as soon as it moves to the next object, the time is changed to a default time. Can anyone help me in resolving this issue?

Note : I cannot use Type for some other reasons. So, as much as possible, I will have to fix the issue with SetTime.

0 Answers
Related