+1
Usually, you need to give your object(s) more specific properties so that QTP doesn't need to use smart identification to find it.
If you have 2 objects with the same exact properties, QTP won't know which one to pick and will need to invoke smart identification to see which one you wanted.
If you specify a more specific property(s) for the object you want QTP to select, then QTP will know exactly which object to look at without having to invoke smart identification.
What I usually do is when Smart identificaton occurs, I look at the test results and see which property QTP used to identify that object. Then I go to my object repository and assign that property to that particular object so that next time I run the test, smart identification is not needed. This is a simple example but it isn't always that easy.
Usually, you need to give your object(s) more specific properties so that QTP doesn't need to use smart identification to find it.
If you have 2 objects with the same exact properties, QTP won't know which one to pick and will need to invoke smart identification to see which one you wanted.
If you specify a more specific property(s) for the object you want QTP to select, then QTP will know exactly which object to look at without having to invoke smart identification.
What I usually do is when Smart identificaton occurs, I look at the test results and see which property QTP used to identify that object. Then I go to my object repository and assign that property to that particular object so that next time I run the test, smart identification is not needed. This is a simple example but it isn't always that easy.