|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.|
This action moves the input focus to the given object. If the object cannot obtain the input focus, the method does nothing.
|TestObj||A variable, parameter or expression that specifies a reference to one of the objects listed in the Applies To section|
The method is applied to the following objects:
To view this method in the Object Browser panel and in other panels and dialogs, activate the Advanced view mode.
SetFocus method may be absent in some objects listed in the Applies To section and may be present in other objects. This depends on the implementation of the
IAccessible.Select method on a particular object.