|This method is not supported in web tests (including cross-platform web tests) that use XPath expressions and CSS selectors to locate web elements. This method can be only used in tests that locate web objects by using internal identification properties provided by TestComplete.|
DoDefaultAction lets you perform the default action associated with the given object. For example, for button controls, the default action is pressing the button; the default action for a check box control is checking or unchecking it (depending on the current state of the check box), and so on.
If the object does not have a default action specified,
DoDefaultAction posts an error message to the test log.
|TestObj||A variable, parameter or expression that specifies a reference to one of the objects listed in the Applies To section|
This method is applied to all the Flex objects.
To view this method in the Object Browser panel and in other panels and dialogs, activate the Advanced view mode.