Object library
Use the object library to configure object recognition properties and property weights.
Use 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.
- Configure object properties in the object library
You can customize object recognition properties in the object library before you record scripts. While you record scripts, the customized object library file is used as a reference for setting object recognition properties and the property weights in the object map.- Add objects to the object library
The object properties configuration tool lists the default objects and the customized objects that are used by Functional Tester. If the required test object of the application-under-test is not listed in the object properties configuration tool, you can add the test object to the object library and customize its recognition properties and weights. In the Add Object dialog box, you can also add the recognition properties for the existing test objects that are listed in the object properties configuration tool.- Import objects into an object library
You can import objects along with its recognition properties and weights from an object properties file into the object library. The existing object in the object library will be overwritten if the existing object class name is same as the object that you are importing.- Exporting objects from the object library
You can export objects along with its recognition properties and weights of the object library into an object recognition property file. The file is saved with .rftop extension.
Related concepts
New test objects in an object map
Searching for objects in a test object map
Related tasks
Create and using a test object map to test applications
Merging multiple test object maps
Add objects to a test object map
Converting dynamic test object
Use ClearCase with test object maps
Add a test object to an object map and a script
Renewing a name in associated script(s)
Resetting object names to the default names in associated script(s)
Editing test object descriptions