|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.|
WebCheckBox is a check box control on a Web page.
ClickChecked moves the mouse cursor to the check box and then sets the check box to the state specified by the Checked parameter. If Checked is True, the check box becomes checked; Else - unchecked.
|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 object:
To view this method in the Object Browser panel and in other panels and dialogs, activate the Advanced view mode.
The method has the following parameter:
Specifies the state of the
WebCheckBox to be set.
Chrome browser: TestComplete may fail to record the
ClickChecked method for web controls in Chrome. It will record ordinary coordinate clicks instead. You can replace those clicks with the
ClickChecked method in your tests manually.