Click or drag to resize

IBarClickItemMXY Method (String, Int32, Int32, ShiftKey)

Simulates a click of the middle mouse button at (X,Y) inside item specified by index, from 0, or by name. The top-left coordinate of the item rectangle is (0,0).

Namespace:  SmartBear.TestLeft.TestObjects
Assembly:  SmartBear.TestLeft (in SmartBear.TestLeft.dll) Version: 14.70.237.11 (14.70.237.11)
Syntax
void ClickItemMXY(
	string itemName,
	int x,
	int y,
	ShiftKey shift
)

Parameters

itemName
Type: SystemString
The item's name.
x
Type: SystemInt32
The X coordinate of the click.
y
Type: SystemInt32
The Y coordinate of the click.
shift
Type: SmartBear.TestLeft.TestObjectsShiftKey
The button that is pressed when a click is performed.
Exceptions
ExceptionCondition
InvocationExceptionWill be thrown if invocation fails.
WebExceptionWill be thrown if there are network problems.
See Also