| || |
Problem with Ajax calender
I am trying to automate an application which has an ajax calender, and is not able to identify the objects correcly
Using QTP 10.00 , while rcording the calender control is identifed as ASPAjaxCalendar, but on replaying an error 'Object disabled' occurs. and with object spy all the calender control objects were ideentified as web elements
Please give me some idea to solve the problem
please find one screenshot below
Perhaps try using .object. and seeing if it uses .SetAttribute() or something like this to communicate with the calendar.
If it exists, you can try: Object.setAttribute("value","2/15/013")
I was in this spot with a calendar object. I showed the devloper of the GUI page what I was trying to do and they told me which function belonging to the object I should try and it worked.
Thanks Kevin, it worked and solved the problem.your suggection was spot on
Browser(" ").Page(" ").ASPAjaxCalendar("calender").Object.setAttri bute "value","15-May-2013"
I'm glad that I could assist you.