Editing test object descriptions
You can customize the text for test objects displayed in the hierarchy tree of the test object map.
To edit test object descriptions:
Procedure
- Open the test object map that you want to customize.
- Click Preferences > Test Object Appearance on Tree.
- In the Edit Test Object Appearance dialog box, edit the description string.
You can add or delete any of the properties of the test object, using the following format for each property you want to add:
%map: property%:
where property is the name of the property as it appears in the property sheet for the object. For administrative properties, the actual property name appears in parentheses after the property description in the property column of the administrative properties table.
For example, you can add the descriptive name to the display.
%map:#name%:
It is a good practice to insert between carets (^) any properties that are not common to all objects or that return a null value. This practice ensures that gaps or punctuation marks do not appear in the descriptions of objects that do not have the property, for example.
^%map:#name%:^
This description is not the same as the one used to create test object helper methods in a test script. To change the way test object helper methods are used, see Customizing a Script Template for information.
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)
Delete test objects from an object map
Locating a test object in the application
Related reference