Object Model Reference for GUI Testing

Welcome to the OpenText Functional Testing Object Model Reference.

Overview

A test script is a combination of standard statements in VBScript or Python (as defined when you create the test) and statements that use test objects, methods and properties. A test object is an object used to represent an object in your application. Each test object has one or more methods and properties that you can use to perform operations and retrieve values for that object. Each test object also has a number of description properties that can describe the object.

This reference is intended to help you use OpenText Functional Testing test objects, methods, and properties in your tests. Most examples in this help are in VBScript.

If you write tests in VBScript, see Understanding basic VBScript syntax for some basic guidelines. For more details about using VBScript, see the online MSDN VBScript documentation.

If you write tests in Python, refer to the official Python documentation for syntax and guidelines.

Back to top

Using this reference

The Object Model Reference contains one section for each add-in environment available with the installation, as well as special section for Utility and Supplemental objects.

Each section in this reference includes:

  • A description of each test object

  • A list of the methods and properties that can be used as operations for each test object

  • A description and syntax for each method and property

  • An example of usage for each method and property

    Note: Most examples in this help are in VBScript. You can replace programming statements with Python ones. For Object Model steps, you can use the same syntax but make sure all method calls enclose the arguments in parentheses '()' . Use empty parentheses '()' when calling a method with no arguments.

  • A list of the description properties that can be used in test object descriptions, checkpoints, or output values

Back to top