Converting dynamic test object

You can covert an existing mapped object to a dynamic test objects. By converting existing test objects to dynamic test objects you can anchor a test object as a descendant to its parent. This ensures that the playback does not fail even if the hierarchy of a test object in the object map changes.

To convert a mapped object to a dynamic test object:


Procedure

  1. From the test object map menu, right-click in the test object map, and click Convert To Dynamic Test Object ().

    The administrative property displays an additional descriptionobject property. To convert a dynamic test object to a mapped test object, set the descriptionobject property to false. However, ensure that the test object is a mappable child of its parent. The Convert To Dynamic Test Object window opens.

  2. In the Convert To Dynamic Test Object dialog box, select Select the parent to anchor in the object hierarchy. By selecting Select the parent to anchor in the object hierarchy, you make the new object a descendant of its parent. You can edit the recognition properties by double-clicking the object properties.

  3. Select the object to convert, and click Finish.


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

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

Editing 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

Add dynamic test object

Convert dynamic test object

+

Search Tips   |   Advanced Search