Try this
Browser("title:=XYZ").Page("title:=ABC").Link("name:=New
Page","index:=0").Click
redg,
mrinal
On Wed, Dec 24, 2008 at 4:27 PM, mabobine <[email protected]> wrote:
>
> Hi,
>
> There are two links on the page say
>
> New Page
> View Page
>
> Using descriptive programming, the script for the New Page is below:
>
> Browser("title:=XYZ").Page("title:=ABC").Link("name:=New Page").Click
>
> When i execute the script, an error is generated,
>
> The "[ Link ]" object's description matches more than one of the
> objects currently displayed in your application. Add additional
> properties to the object description in order to uniquely identify the
> object.
>
> My question is: When there are only two links, how can they match
> when the property to identify the object is unique as well, e.g. in
> the above case, name is unique
>
> >
>
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---