Hi,

I'm working with yahoo mail and my intent is to click on a certain mail with
the "Subject<something>"

The following code works fine, if the mail subject is unique.



Browser("name:=Inbox.*").Page("title:=Inbox.*").Link("text:="&linkName).Click



But when the subject repeats, I need to click on the latest mail (ie 1st from
the web table) so I tried the following code.



rowCount=Browser("Inbox (19) - Yahoo! Mail").Page("Inbox (19) - Yahoo!
Mail").WebTable("Inbox").GetROProperty("Rows")



For i=2 to rowCount

If  Browser("Inbox (19) - Yahoo! Mail").Page("Inbox (19) - Yahoo!
Mail").WebTable("Inbox").GetCellData(i,7)=linkName Then

...........

I'm stuck here.



Please suggest me a method to click on the link available in the web table

Please correct me if I’m wrong



Thanks and regards,

Avinash

-- 
You received this message because you are subscribed to the Google
"QTP - HP Quick Test Professional - Automated Software Testing"
group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/MercuryQTP?hl=en

Reply via email to