IWinToolBarClickItemRXY Method (Int32, Int32, Int32, Boolean, ShiftKey) |
Simulates a double-click of the right mouse button at position (X, Y) inside item. The top-left coordinate of the item rectangle is (0,0).
Namespace:
SmartBear.TestLeft.TestObjects.Win
Assembly:
SmartBear.TestLeft (in SmartBear.TestLeft.dll) Version: 14.70.237.11 (14.70.237.11)
Syntax void ClickItemRXY(
int itemIndex,
int x,
int y,
bool byposition,
ShiftKey shift
)
Sub ClickItemRXY (
itemIndex As Integer,
x As Integer,
y As Integer,
byposition As Boolean,
shift As ShiftKey
)
Dim instance As IWinToolBar
Dim itemIndex As Integer
Dim x As Integer
Dim y As Integer
Dim byposition As Boolean
Dim shift As ShiftKey
instance.ClickItemRXY(itemIndex, x, y,
byposition, shift)
void ClickItemRXY(
int itemIndex,
int x,
int y,
bool byposition,
ShiftKey shift
)
Parameters
- itemIndex
- Type: SystemInt32
The zero-based index of the item. - x
- Type: SystemInt32
The X coordinate of the click. - y
- Type: SystemInt32
The Y coordinate of the click. - byposition
- Type: SystemBoolean
Indicates whether the item parameter specifies the item's identifier or position. - shift
- Type: SmartBear.TestLeft.TestObjectsShiftKey
The button that is pressed when a click is performed.
Exceptions See Also