Class Object Properties

Applies to TestComplete 15.20, last modified on January 19, 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 Class object contains the following properties:

Property List

Name Description
MethodCount Returns the total number of methods in the class.
Methods Returns the MethodDeclaration object that represents a class method.
Name Specifies the name of the specified class.
Properties Returns the PropertyDeclaration object that represents a class property.
PropertyCount Returns the total number of properties in the class.
PropValueSet Returns a collection of unique property values that are held in all the objects based on the specified class.

See Also

Class Object

Highlight search results