Toggle Method (CheckBox)

Class

CheckBox class.

Action

Toggles the state of the check box.

Syntax

checkbox.Toggle ( )

Notes

Toggle toggles the selection state of the check box by generating a mouse click on the box, regardless of its present state.

After toggling the selection state, Silk Test Classic checks that the check box changed state, and raises the exception E_CONTROL_NOT_RESPONDING if it did not.

Example

Find.CaseSensitive.Toggle ()