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
)
Sub CheckItem (
itemName As String,
state As CheckState
)
Dim instance As IBar
Dim itemName As String
Dim state As CheckState
instance.CheckItem(itemName, state)
void CheckItem(
String^ itemName,
CheckState state
)
Parameters
- itemName
- Type: SystemString
The item's name. - state
- Type: SmartBear.TestLeft.TestObjectsCheckState
The new state of the item, which must be Unchecked, Checked or Grayed.
Exceptions See Also