I have a calendar as in the attached image.
i am able to select the month and year from the weblists but i am confused as to how the date can be selected.
what you are seeing for the dates part in the image is a webtable of size 7X7. each date is a webelement with innertext as the date number
dates of previous month and next month (gray color) are NOT disabled.
can some one help me with some logic?
this isnt working as there can be 2 webelements in the table with date 4.
Instead of that I think use the Link Property to select the date, if it is getting identified.
Eg: Browser("name:=Calendar").Page("name:=Calendar").L ink("text:=4").Click
you can parameterize the value 4 in this.