Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Err: Cannot identify the specified item of the object.
#1
Not Solved
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)
JavaWindow("Books").JavaEdit("Article Nbr:").Activate
JavaWindow("Books").JavaTree("By :").Select "Name Author:(James)"

Please help me to get out of this problem
Reply
#2
Not Solved
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.
Reply
#3
Not Solved

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
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Cannot identify the specified item Beginner 0 2,498 06-22-2017, 04:55 PM
Last Post: Beginner
  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,820 05-11-2016, 12:02 AM
Last Post: korunu
  WinListView set item command Shahino007 0 2,658 10-06-2015, 03:57 PM
Last Post: Shahino007
  QTP "Cannot identify the object" richardpaulhall_2 3 13,621 08-20-2015, 11:46 PM
Last Post: ADITI1992

Forum Jump:


Users browsing this thread: 1 Guest(s)