IMenuCheck Method (String, Boolean) |
Checks or unchecks the specified menu item.
Namespace:
SmartBear.TestLeft.TestObjects
Assembly:
SmartBear.TestLeft (in SmartBear.TestLeft.dll) Version: 14.70.237.11 (14.70.237.11)
Syntax void Check(
string itemPath,
bool check
)
Sub Check (
itemPath As String,
check As Boolean
)
Dim instance As IMenu
Dim itemPath As String
Dim check As Boolean
instance.Check(itemPath, check)
void Check(
String^ itemPath,
bool check
)
Parameters
- itemPath
- Type: SystemString
Specifies the item you want to click. Submenu items should be specified by the "full path" starting from the top-level menu. To separate items in the "path", use a pipe character ("|"). - check
- Type: SystemBoolean
Specifies whether the specified item should be checked (true) or unchecked (false).
Exceptions See Also