Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Recognition of JavaButton and WebButton
#2
Solved: 11 Years, 3 Months, 2 Weeks ago
Hi Prabhat ,

I don't think so its a good idea to identify objects using there Tag names.
Let's take your scenario , suppose if i add another Java button into your application with name say "Button1" we have two Java buttons with the same name in that case your script fails because there is no additional property mentioned to uniquely identify the object hence it becomes ambiguous for QTP to understand what has to be done and on what object , so u have to use a property which is unique across objects and index is one among them. And the reason why you are getting this error "there are more than one objects satisfying the criteria" might be because QTP is intelligent enough to identify that the object property you have mentioned is not going to be unique for a long time , i am not sure of the exact cause though. Let's wait for others comments.
Reply


Messages In This Thread
RE: Recognition of JavaButton and WebButton - by balaji4u - 08-23-2010, 11:17 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Problems with Text color recognition Treirk 0 1,091 06-17-2019, 12:19 PM
Last Post: Treirk
  Not able to click on webbutton Zalavadia86 3 2,277 10-24-2016, 11:32 PM
Last Post: frebuffi
  object recognition issue by qtp 11.0 shipu 1 2,515 07-24-2014, 05:57 PM
Last Post: Ankesh
  QTP 11 and VB Object Recognition LauraShadle 0 1,910 06-10-2013, 08:27 PM
Last Post: LauraShadle
  Cannot find the "[ WebButton ]" object's parent "[ Page ]" (class Page) sumitparolkar@gmail.com 4 5,052 05-03-2013, 11:53 PM
Last Post: agarwl.anurag

Forum Jump:


Users browsing this thread: 2 Guest(s)