05-15-2009, 03:47 PM
Hi ,
Use "Child Item" method and return the link under subject field & then click on the link.
Before doing that u find out what is starting row# of webtable (Say it is 1 & Subject column is 3)
By the above code , irrespective of the number of rows in webtable(MailBox) we can click on the starting mail and it will be opened.
Use "Child Item" method and return the link under subject field & then click on the link.
Before doing that u find out what is starting row# of webtable (Say it is 1 & Subject column is 3)
Code:
Browser(..).Page(..)Webtable(..).childItem(1,3,"Link",0).click
By the above code , irrespective of the number of rows in webtable(MailBox) we can click on the starting mail and it will be opened.