Defining Test Object Classes and Test Object Methods

A test object has identification properties and test object methods. Test objects can be simple, with general test object methods, or they can be complex, with specific test object methods that represent business logic.

Define test objects and test object methods that reflect the operations that a user would perform in the application. For example, if an application contains a table made up of edit box cells, use one test object to represent the table, rather than a collection of test objects each representing a cell. Operations on a table test object can be performed on specified rows, columns, or cells, or on the table as a whole.

When defining a test object class, you can specify:

You can also specify:

For more information, see Teaching UFT to Recognize the Testing Environment.