Micro Focus QTP (UFT) Forums
Calendar Object - Printable Version

+- Micro Focus QTP (UFT) Forums (https://www.learnqtp.com/forums)
+-- Forum: Micro Focus UFT (earlier known as QTP) (https://www.learnqtp.com/forums/Forum-Micro-Focus-UFT-earlier-known-as-QTP)
+--- Forum: VB Scripting/Descriptive Programming (https://www.learnqtp.com/forums/Forum-VB-Scripting-Descriptive-Programming)
+--- Thread: Calendar Object (/Thread-Calendar-Object)



Calendar Object - vinod123 - 01-06-2012

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



RE: Calendar Object - ravi.gajul - 01-07-2012

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"



RE: Calendar Object - vinod123 - 08-27-2014

It is PHP application and the calendar Object is javascript based