Micro Focus QTP (UFT) Forums
java script enabled calendar - 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: UFT / QTP Others (https://www.learnqtp.com/forums/Forum-UFT-QTP-Others)
+--- Thread: java script enabled calendar (/Thread-java-script-enabled-calendar)



java script enabled calendar - lnviswa - 08-04-2008

How to deal with java script enabled calendar in a webpage
The situation is
Start date: I have checked the field properties the object is in disabled stage.(So DP is not helping me)
Only way user can input a date click on start date calendar appears
select the required date and close it.
Please help me!


RE: java script enabled calendar - surya_7mar - 08-05-2008

I am doing it in my project as of now. But this is specific to the application. if i can see your application ican give you the code


RE: java script enabled calendar - lnviswa - 08-06-2008

Hi Surya
Thanks for the quick response !,
I am sending you the screen shot of the same and its related properties,
Please find the attached screen shot.
properties:The field type is text, but is in disabled condition
So i am unable to add any data by using DP.

For entering the data i have to click on the app, see screen shot to see how it appears.

Thanks for the help !


RE: java script enabled calendar - Rajashekar Gouda - 08-07-2008

Hi Pls find that attachement which explains the answer.Hope it may help to u[attachment=92]


RE: java script enabled calendar - nageshpv - 08-19-2008

Hi lnviswa..is this working, please let me know.
and again, if we need to select some other day, month, how to proceed?
I have the same kind of Java calender in my AUT.


RE: java script enabled calendar - lnviswa - 08-26-2008

Hi nagesh.
this didnt worked for me instead, i went in the following way,
I used java add in it started recognising,
the ">>" -- - >years and ">" - -- - >months which are used for changing the dates manually,
I had written a programm which will press ">>" for wanted number of years, and ">" for wanted number of months.
Hope i am clear.