Classes Object Methods

Applies to TestComplete 15.44, last modified on November 10, 2022

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.

The Classes object contains the following methods:

Method List

Name Description
Clear Deletes all the existing classes from the collection.
Declare Creates a new class and returns it as the Class object.
Delete Deletes a class from the collection of classes.
New Creates a new instance of the class and returns this instance as an Object object.
New_ Calls New to create a new instance of the class and returns this instance as an Object object.
NewArray Creates a new ArrayObject object.

See Also

Classes Object

Highlight search results