Can not identify the object in QTP

qtp

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 result shows:

object not unique (3 objects found) or object not found..

Best Answer

Open the object repository and look at the properties that describe the test object. Now use the object spy to see the values of the same properties on the WebEdit that is displayed in your application. You should find a mismatch, now you have to decide if the new values are what you expect to see (in which case you can use the update from application button) or if both values are acceptable (in which case you should change the values of the properties to regular expression to cover all acceptable cases).

Related Topic