Add and delete test objects

Relevant for: GUI tests and components

When you create an object repository, you can add test objects to it in various ways:

  • Use the Navigate and Learn option to add objects to a shared object repository

  • Record steps to add objects on which you perform an operation to the local object repository. (This occurs for objects that do not already exist in an associated shared object repository.)

  • Add test objects to the local object repository while editing your test or component. For example, for tests and scripted components, you can add tests objects from the Active Screen.

When you add test objects to an object repository, you can choose to add only a selected test object, to add all test objects of a certain type (such as all button objects), or to add all test objects of a specific class (such as all WebButton objects).

For example, you may find that users need to perform a step on an object that is not in the object repository. You may also find that an additional object was added to the application you are testing after you built the object repository. You can add the object directly to a shared object repository using the Object Repository Manager, so that it is available in all actions and components that use this shared object repository. Alternatively, you can add it to the local object repository of the action or component.

For task details on how to add and delete objects, see Add a test object to an object repository.