Err: Cannot identify the specified item of the object. - 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 Beginners (https://www.learnqtp.com/forums/Forum-UFT-QTP-Beginners) +--- Thread: Err: Cannot identify the specified item of the object. (/Thread-Err-Cannot-identify-the-specified-item-of-the-object) |
Err: Cannot identify the specified item of the object. - nikku - 08-01-2011 Hi, I am new to the QTP when I am trying to write a small code I am getting following error message : Cannot identify the specified item of the By : object. Confirm that the specified item is included in the object's item collection. Line (3): Code: "JavaWindow("Books").JavaTree("By :").Select "Name Author:(James)"". piece of code for which I am getting this error:- Code: JavaWindow("Books").JavaEdit("Article Nbr:").Set DataTable("Article_Number", dtGlobalSheet) Please help me to get out of this problem RE: Err: Cannot identify the specified item of the object. - SpeedyAkron - 08-27-2011 Try doing the following: 1. Navigate to the page where the script is failing. 2. Open the object repository. 3. Change the properties QTP is using to identify the "By :" object. The properties you are currently using do not match any objects on the screen. Make sure you can highlight the object before continuing. RE: Err: Cannot identify the specified item of the object. - nikku - 08-28-2011 Hi Thank u for the reply but * can u tell me the way to change the properties, as i am not able to do that * Also is their any other way to select the node any Tree. Please let me know Thank u |