Click or drag to resize

IBar.CheckItem Method

Moves the mouse cursor to the specified bar item and clicks it with the left mouse button until the specified state is reached.

Namespace:  SmartBear.TestLeft.TestObjects
Assembly:  SmartBear.TestLeft (in SmartBear.TestLeft.dll) Version: 14.70.237.11 (14.70.237.11)
Syntax
void CheckItem(
	string itemName,
	CheckState state
)

Parameters

itemName
Type: System.String
The item's name.
state
Type: SmartBear.TestLeft.TestObjects.CheckState
The new state of the item, which must be Unchecked, Checked or Grayed.
Exceptions
ExceptionCondition
InvocationExceptionWill be thrown if invocation fails.
WebExceptionWill be thrown if there are network problems.
See Also