The object-driven testing (ODT) functionality is deprecated. Do not use it to create new tests. It will be removed from the product in one of the future releases. As an alternative, you can create custom classes in your scripts. For more information, see Alternatives to the ODT functionality.
Use methods and properties of the
ODT object to create custom objects in scripts.
With methods and properties of the
ODT object, you can access other program objects used to work with custom objects and classes in scripts. The hierarchy of these objects is shown below. To read about any object listed in the hierarchy, click the object’s rectangle on the image:
ODT object is available only if your project contains the ODT project item.
The following example obtains the
Data object that provides access to data groups, posts the data groups’ names and the names of the variables stored in the groups to the test log.