Thanks a lot for your answer.
On Dec 24, 4:44 pm, "Dmitry Motevich" <[email protected]> wrote:
> There are only two VISIBLE links.
> You page can contain HIDDEN links too. And your Description ("name:=New
> Page") is not unique.
> That's why you you get an error.
>
> I recommend to use 'Highlight in Application' feature to verify that your
> Description is correct.
> It is explained in this QTP video:
> QTP Descriptive Programming - QTP
> video<http://motevich.blogspot.com/2008/12/qtp-descriptive-programming-qtp-...>
>
>
>
> On Wed, Dec 24, 2008 at 1:57 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
>
> --
> Dmitry Motevich,http://motevich.blogspot.com
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---