Explain how QTP recognizes Objects in AUT.- The objects are recognized through object repository. Object repository file persists the quick test definitions for various applications. While recording the script or test, an entry will be added by quick test at every time interaction. Each object of repository will be identified by a logical name.
- Object is any GUI element the user interacts with. As the user is testing the application, QTP records and stores each item the user interacts with. This is stored in an object repository. Each entry has a logical name and some properties to uniquely identify. Any reference of an object in the script is identified by the logical name. Each line in the quick test script has a reference to the object the user interacted with, a call to the method and parameter if any.
|