Smart way,
For i=0 to 10 ''' check how much we have
browser("").Page("").Link("name:=XXX","index:=&"i).highlight '''
a=browser("").Page("").Link("index:=+"i).getroproerty("name") // will give
you the exact name of the link. here you can find the difference of each
and every link avail.
msgbox "index of link name-"&a&" with location-"&i ////
exact name with its location.
next
We have other options or direct method avail. Let me know, if this doesnot
work.
On Thursday, June 9, 2016 at 6:24:20 PM UTC+2, [email protected] wrote:
>
> hi frnds............say fr example there are four links with same name
> then i want to fetch the index of all those elements..how can i achieve
> this pls let me know
>
--
--
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
---
You received this message because you are subscribed to the Google Groups "QTP
- HP Quick Test Professional - Automated Software Testing" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.