Micro Focus QTP (UFT) Forums

Full Version: Calendar Object
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I am working on descriptive programing i have calendar object in our project but i could not select the date from the object through qtp using descriptive programing. plz give reply as soon as possible

Thanks and Reply

Thomas Vinod
could you please post your code? Please confirm what technology the application is built in (Java, .net....etc).
For Java
you may use "SetDate" method as shown below
Code:
JavaWindow("...").JavaCalendar(".....r").SetDate "07-Jan-2012"

For .net
Code:
Browser("....").Page(".....").WbfCalendar("name:=Calendar1").SetDate "07-Jan-2012"
It is PHP application and the calendar Object is javascript based