I have an application which is built out of struts 1.2 and jsp and html.
I need to automate this. I have almost hit a dead end with automating the calendar pop up.
This is adentified as a web table and one of the column text is dynamically generated based ont he current month.
My problem here 1) it is only identifying once and the second time it does not work.
2) once i identify it and add it to the repository and when i try to highlight the object it highlights correctly but also it creates another pop up. which is kinda weird.
has anyone come across this scenario or can someone help me solve this.
for the ad-hoc solution i can use coordinates to close the calendar but i believe it is not a good practice to use coordinates.
I have attached the image of the calendar.
I'm looking for quick turn around. So your efforts in answering this is very much appreciated.
BTW - I'm suing UFT 11.53
Try direct method to set value in calender
Thanks for the reply.
I'm happy to bypass the calendar, but the problem here is it doesn't close the calendar if i directly set it : this is the very first option i have tried.
Therefore it can't be done this way. If you read my question you will understand my problem. I don't like to use coordinates to close the calendar.
You can also try few below approaches .
Using UFT DOM set value in TextBox, and immediate to use Sendkey to Close the Calender (like use Tab or Esc keys, check manually what is perfect key to close the Calendar then use that key using Sendkeys.
Another way : Try to identify how Calendar object identified by UFT.
How the month and year is identified and how day is identified- then try with DP.
One More option, just record the object, find how script generating, based on this you code.