![]() |
Not able to identify objects - Printable Version +- Micro Focus QTP (UFT) Forums (https://www.learnqtp.com/forums) +-- Forum: Micro Focus UFT (earlier known as QTP) (https://www.learnqtp.com/forums/Forum-Micro-Focus-UFT-earlier-known-as-QTP) +--- Forum: UFT / QTP Others (https://www.learnqtp.com/forums/Forum-UFT-QTP-Others) +--- Thread: Not able to identify objects (/Thread-Not-able-to-identify-objects) |
Not able to identify objects - Haripotha - 11-25-2008 Hi Ankur, This is in regard of Object Identification... Prerequisites: My Web Application is with Java objects...I got licensed Java Add-in also with QTP 9.5. Problem: QTP is not able to identify the links and editboxes as it should be. Below is the way it is showing while spying. Hierarchy for link: Code: Browser("...").Page("..").Frame("NavbarFrame").ActiveX("...").JavaApplet("...").JavaObject("...").Javatree("..."). Hierarchy of Editbox: Code: Browser("...").Page("..").Frame("NavbarFrame").ActiveX("...").JavaApplet("...").JavaObject("..."). How can i make use of above objects(which are more heirarchy). Please help me out ASAP. Thanks in advance Hari Not able to identify objects - kavithatib - 01-22-2010 Hi, I am trying to automate the windows app. using .NET and the screen has the tree view. I am just trying to click on a link and verifying the form with the label of that page. QTP cannot recognize the Label for that form that has treeview Code: If SwfWindow("Name:=Form1").SwfObject("Name:=panel1").SwfObject("Name:=MainControl").SwfObject("Name:=oWorkBoxPanel").SwfObject("Name:=" & Datatable.Value ("ObjectName",dtGlobalSheet)).SwfLabel("Name:=" & Datatable.Value ("LabelName",dtGlobalSheet)).Exist(2) The script is working for all other forms except the one with the tree view. ANy idea how to make it work or any other way to recognize the object?? THanks, Kavitha RE: Not able to identify objects - Saket - 01-22-2010 Hi Kavita, Please create a new thread for your query. Never divert a thread by putting your different query in between a thread. |