Introduction

Description

The Object Repository automation object model enables you to manipulate shared object repositories and their contents from outside of OpenText Functional Testing. The automation object model enables you to use a scripting tool to access shared object repositories via automation.

Automation programs are especially useful for performing the same tasks multiple times or on multiple shared object repositories. You can write your automation programs in any language and development environment that supports automation. For example, you can use VBScript, JavaScript, Visual Basic, Visual C++, or Visual Studio .NET.

Just as you use the OpenText Functional Testing automation object model to automate your product's operations, you can use the objects and methods of the Object Repository automation object model to write programs that manipulate shared object repositories, instead of performing these operations manually using the Object Repository Manager. For example, you can add, remove, and rename objects, import from and export to XML, and retrieve and copy objects.

After you have retrieved an object, you can manipulate it using the methods and properties available for that test object class. For example, you can use the GetTOProperty or SetTOProperty methods to retrieve and modify its properties. For more information on available test object methods and properties, see the Object Model Reference.

Note: You can use the Object Repository automation object model to manipulate shared object repositories saved in the file system. If you want to manipulate a shared object repository stored in OpenText Application Quality Management, you must download the shared object repository and save it to the file system, before using the Object Repository automation object model to manipulate it.

 

About This Help File

This Help file provides detailed descriptions, syntax information, and examples for the objects and methods in the object repository automation object model.

The Help topic for each automation object includes a list and description of the methods associated with that object. Method Help topics include detailed description, syntax, return value type, and argument value information.

The syntax and examples in this Help file are written in VBScript-style. If you are writing your automation program in another language, the syntax for some methods may differ slightly from what you find in the corresponding help topic. For details on syntax for the language you are using, refer to the documentation included with your development environment or to general documentation for the programming language.