Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
QTP "Cannot identify the object"
#2
Solved: 11 Years, 5 Months ago
I stay as far away from the object repositories as I can so I'm no real authority on them. That said, if I were faced with this problem I would try a different method of identifying the WebList object - Descriptive Programming. Using the Object Spy on it I would grab some properties and values to uniquely identify it such as "name", "html id", and maybe "class". Then you can use:

Code:
Browser("obj").Page("obj").WebList("name:=namevalue", "html id:=htmlidvalue", "class:=classvalue").Select("HHH")

The Browser and Page objects can be the items from your repository, but the WebList descriptive key/value pairs provide you with a measure of control over how to identify the WebList object directly in your code.
Reply


Messages In This Thread
RE: QTP "Cannot identify the object" - by rnickerson - 12-13-2008, 04:52 AM
RE: QTP "Cannot identify the object" - by balak89 - 08-05-2015, 04:11 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Cannot identify the object "Webtable" korunu 1 2,552 06-29-2016, 05:28 PM
Last Post: Ankesh
  Cannot identify the object "Webtable" korunu 0 1,821 05-11-2016, 12:02 AM
Last Post: korunu
  What is the criteria of identify the object based on Base & option filter properties Suma Parimal 2 3,207 01-28-2014, 06:35 PM
Last Post: Suma Parimal
  Cannot identify image of win object Salem 0 2,252 06-14-2013, 12:32 PM
Last Post: Salem
  unable to identify Checkbox Property inside the WinList Object tech.savy987@gmail.com 2 4,346 07-20-2012, 10:18 AM
Last Post: Shridevi.Salagare

Forum Jump:


Users browsing this thread: 2 Guest(s)