I need to set the date by clicking the calender popup and choose the date. The date appears in the Webedit box.
How to make QTP click on Todays date from the calender popup.
you can set the date by using set method.
if it is ajax calander control
Technology Tree - Automation: QTP UFT - Dynamic Ajax control (calander) and UFT
Manually type date in web editbox to find correct format accepted by the application. for Example you can type either mm/dd/yyyy, dd/mm/yyyy. Finally you can set date using "Set" method.
Today is always better than Tomorrow
I gave this suggestion in a post a few days ago and it worked.
Problem with Ajax calender
You could derive the date using a combination of VBScript functions (Date(), Mid(), etc), display the calendar, and then use descriptive programming to select the derived target date. There may be easier ways to do this though. I hate date pickers.
Not at the table, Carlos!