08-01-2011, 10:04 AM
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):
piece of code for which I am getting this error:-
Please help me to get out of this problem
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