qtp must have to identify atleast one unique property in order to recognise the object uniquely.
the way QTP works is -it recognize all objects in the AUT, using the set of mandatory properties that it stores. If itis not able to recognize the objects using the set of mandatory properties it uses assistive properties. Incase the assistive properties are also not enough to uniquely identify an object QTP uses the ordinal identifiers ie -index, location and time of creation of the object. If all this fails QTP resorts to the smart identification mechanism.
For your scenario my question will be - how did you add the two objects which are at the same location in OR? I am asking this because QTP will identify the object the way it has learned the object.
makes sense?
the way QTP works is -it recognize all objects in the AUT, using the set of mandatory properties that it stores. If itis not able to recognize the objects using the set of mandatory properties it uses assistive properties. Incase the assistive properties are also not enough to uniquely identify an object QTP uses the ordinal identifiers ie -index, location and time of creation of the object. If all this fails QTP resorts to the smart identification mechanism.
For your scenario my question will be - how did you add the two objects which are at the same location in OR? I am asking this because QTP will identify the object the way it has learned the object.
makes sense?

