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

  1. Open the test object map that you want to customize.

  2. Click Preferences > Test Object Appearance on Tree.

  3. 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

Test object maps

New test objects in an object map

Searching for objects in a test object map

Regular expressions

Object library

Related tasks

Create and using a test object map to test applications

Create a new test object map

Merging multiple test object maps

Add objects to a test object map

Insert dynamic test object

Converting dynamic test object

Use ClearCase with test object maps

Add 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)

Add test objects to a script

Add test object descriptions

Delete test objects from an object map

Unifying two test objects

Maintaining a test object map

Renaming a test asset

Update recognition properties

Delete a test object map

Locating a test object in the application

Related reference

Edit Test Object Appearance dialog box