Hi Avinash,
>
>  Please try the below code:

It will always click on the first (latest) email:

Browser("name:=Inbox.*").Page("title:=Inbox.*").Link("text:=
"&linkName,"index:=0").Click  'First Email

-- 

With Regards,
JCrown

-- 
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