Object library

Use the object library to configure object recognition properties and property weights.

Using the object library, you can configure object recognition properties and the property weights before you record scripts. While recording scripts, the object library is used as a reference for setting object properties and the property weights in the object map. For information about configuring the object recognition properties in the object library, see the related topic on Configuring object properties in the object library.

While you record, the functional test application uses default recognition properties and weights for objects. Test applications might use other properties as key identifiers or use different weights for an object's recognition property. For example, a Java application might require the that the text property that is associated with a javax.swing.JButton object be a recognition property. If you directly add or modify the recognition property of a JButton object using the Object Map Editor, the modification will be limited to that instance of the object only. The next time you record on another JButton object, text property is not included by default. To update all instances of the JButton object, you need not open the Object Map editor. Instead, you can add or modify the object recognition property or its weight using Object Properties Configuration tool.
Related concepts
Test object maps
New test objects in an object map
Searching for objects in a test object map
Regular expressions
Related tasks
Creating and using a test object map to test applications
Creating a new test object map
Merging multiple test object maps
Adding objects to a test object map
Inserting dynamic test object
Using ClearCase with test object maps
Adding a test object to an object map and a script
Editing object properties
Displaying associated scripts
Renewing a name in associated script(s)
Resetting object names to the default names in associated script(s)
Adding test objects to a script
Adding test object descriptions
Editing test object descriptions
Deleting test objects from an object map
Unifying two test objects
Maintaining a test object map
Renaming a test asset
Updating recognition properties
Deleting a test object map
Locating a test object in the application

Feedback