SetState Method (CheckBox)

Class

CheckBox class.

Action

Sets the state of the check box.

Syntax

checkbox.SetState (bState)
Variable Description
bState TRUE to check the check box, FALSE to not check the check box. BOOLEAN.

Notes

SetState sets the selection state of the specified check box by generating a mouse click on the box if it is not already in the appropriate state.

After setting the state, Silk Test Classic checks to see that the state was actually reached, and raises the exception E_CONTROL_NOT_RESPONDING if it was not.

Example

Find.CaseSensitive.SetState (TRUE)