All Categories


Pages

cegonsoft review | Types of Object Repositories in QTP

Types of Object Repositories in QTP

QuickTest has two types of repository object to maintain information about the item: shared object repositories files and action object repositories. You can choose the type of repository object you want to use the default type for new tests, and you can change the default setting, if necessary, for each new test. The object repository per-action mode is the default. In this mode, QuickTest automatically creates an entry in the file for each operation of the test, so you can create and test creation, selection, or editing files repository object. However, if you change the values ​​in the object repository, your changes will not affect other operations. So if the same test object occurs in a series of actions and change the values ​​of object properties in a single operation, you may make the same change in every action (and any test), which contains the element.

To choose the default object repository mode and the appropriate object repository mode for each test, you must understand the differences between the two modes. Generally, the object repository per-action is simplest mode to use when creating simple registration and testing, in particular the following conditions: You have only one or very few, tests that correspond to an application, a given interface, or set of objects. You should not expect to frequently modify the properties of test objects. In general, you create a simple test action. Conversely, shared object repository mode is generally the preferred mode when: You have several tests that test elements of the same application, interface, or set of objects. You expect the properties of objects in your application to change from time to time and / or you regularly need to update or modify test object properties.You often work with multiple action tests and regularly use the Insert Copy of Action and Insert Call options for action.




About the Author

felix climent

Looked at The Growth of IT Industry in 2010? Get to Know More about the Indian Economy and Growth from cegonsoft pvt ltd. The Article Specially designed by cegonsoft foundation.


Most Viewed - All Categories