Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Object not found
#2
Solved: 11 Years, 3 Months, 2 Weeks ago
I have had similar problems when I do not identify the object type. Is "Valider" actually just a WebElement, or is it specific type like "WebEdit", "WebList", etc? If so, try using the actual object type name in place of WebElement. For example, "WebList("name:=Valider, innertext:=Valider, index:=1").

If it -is- just a WebElement, you may need to specify the type of HTML object. For example, if I'm searching for objects within "<DIV></DIV>" tags, I would have to specify an html class or a QTP object class like in the example below:

Code:
Browser("title:=American Express.*").Page("title:=American Express.*").WebElement("micclass":="WebElement", "html tag":="DIV" "name:=Valider,innertext:=Valider,index:=1").Click
Reply


Messages In This Thread
Object not found - by SarodeGirish - 01-13-2011, 05:16 PM
RE: Object not found - by tdevick - 02-23-2011, 01:07 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  QC Test not found error or not executing remote tests zaira_p 5 9,897 08-04-2015, 10:22 PM
Last Post: mitsuy
  wants to Automate Mainframe app, but at start QTP throws "HLLAPI.dll not found". shirish.ganjewar 0 5,211 10-14-2010, 01:06 PM
Last Post: shirish.ganjewar

Forum Jump:


Users browsing this thread: 3 Guest(s)