Clear Method

Applies to TestComplete 15.45, last modified on December 01, 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.

Description

Use the Group.Clear method to delete all existing variables from the group.

Declaration

GroupObj.Clear()

GroupObj An expression, variable or parameter that specifies a reference to a Group object
Result None

Applies To

The method is applied to the following object:

Result Value

None.

See Also

AddVariable Method
DeleteVariable Method

Highlight search results