Posts: 9
Threads: 3
Joined: Feb 2012
Reputation:
0
02-09-2012, 10:11 AM
I'm using QTP 9.2. While running script i got this error repeatedly
Cannot identify the object "Login1$Password" (of class WebEdit). Verify that this object's properties match an object currently displayed in your application.
When i run the script for first time it runs perfectly but now this error occurred. I have tried all the possible solution check object properties through object repository and object spy and enable smart identification invokes:
object not unique (3 objects found) or object not found..
There is no mismatch in the properties and i also try changes the values to regular expression and also added ordinal identifier
problem is still there
Posts: 424
Threads: 10
Joined: Aug 2011
Reputation:
0
02-09-2012, 12:57 PM
Can you delete the old object and add the new one? Sometimes you can't figure out what went wrong with the object.
Plz post if you still face the issue.
Posts: 9
Threads: 3
Joined: Feb 2012
Reputation:
0
02-09-2012, 01:11 PM
(This post was last modified: 02-09-2012, 02:32 PM by Anum Saleem.)
I have use the update from application button but it solve the problem in some cases, when i run the script again it generate this error again
Add the new object did not solve the problem
Posts: 424
Threads: 10
Joined: Aug 2011
Reputation:
0
02-09-2012, 03:09 PM
Plz paste ur code and the snapshot of the object spy for that object.
Posts: 424
Threads: 10
Joined: Aug 2011
Reputation:
0
02-10-2012, 11:40 AM
ok.. Disable smart identification.
In OR Test object detail section, click on the '+' sign(green color) and add few more properties of the object such as name, id etc.
I hope this will help. And if you get the error more than one object was found, plz use the index property as well.
Posts: 9
Threads: 3
Joined: Feb 2012
Reputation:
0
02-10-2012, 03:11 PM
Ok Thanks,
Disable smart identification solved the problem for that particular object.
When im recording script for any other form this error occur again or when im running the script for 2nd time it will appear again..Is there any QTP .net add in problem that QTP not recognizing objects??