What does QTP do, If a run time object doesn't match with any object in Repository?
What does QTP do, If a run time object doesn't match with any object in Repository?
There is an error popup of "Object not found in Object Repository".
Note: The Error Message is a standard one with Logical Name of the object.
If the object does not exist in the OR at all, then yes, what Nawab said.
But if the Object exists and the run-time properties changed, noting it a Web-App, it depends on the (on/off) status of Smart Identification and the way it has been set up.
If a run time object doesn't match with any object in repository what QTP do?
Answer:- Nothing if you have no action statement for that object.
And if you have a test object, on which some method is defined then QTP try to identify the respected run time object, and If it is unable to verify, it will use smart identification with optional properties to identify it and use the ordinal no. if required.
If it found no unique property, then it will give error msg, unable to identify the object.
Regards,
Brijesh Jain
---------------------------------------------------------
Connect with me on Skype: jainbrijesh
Google Plus : jainbrijeshji
Hi
QTP will throw and error and Error will be "Object Not Found".
Also if you have not instructed QTP to handle such situations that QTP will do nothing and will just throw an error.
Cheers
SYCHO
Certified HP QuickTest Professional 9.2 Software