05-28-2013, 04:04 PM
Hi I think he handled the situation correctly, Please have a look another time he used inline description program to select the date
Here 'Day(Date)' will generate day from today's date in case if he needs to select a day from his own
Hope this understand...
Code:
Browser("br_xyz").Page("pg_abc").WebElement("innertext:=" &Day(Date),"html tag:=DIV").Click
Here 'Day(Date)' will generate day from today's date in case if he needs to select a day from his own
Code:
iDay = 26
Browser("br_xyz").Page("pg_abc").WebElement("innertext:=" &iDay,"html tag:=DIV").Click