Click or drag to resize

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
)

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
ExceptionCondition
InvocationExceptionWill be thrown if invocation fails.
WebExceptionWill be thrown if there are network problems.
See Also