IWinListViewClickItemXY Method (String, Int32, Int32, Int32, ShiftKey) |
Moves the mouse cursor to the item and then simulates a single click at (x, y).
Namespace:
SmartBear.TestLeft.TestObjects.Win
Assembly:
SmartBear.TestLeft (in SmartBear.TestLeft.dll) Version: 14.70.237.11 (14.70.237.11)
Syntax void ClickItemXY(
string itemName,
int subitemIndex,
int x,
int y,
ShiftKey shift
)
Sub ClickItemXY (
itemName As String,
subitemIndex As Integer,
x As Integer,
y As Integer,
shift As ShiftKey
)
Dim instance As IWinListView
Dim itemName As String
Dim subitemIndex As Integer
Dim x As Integer
Dim y As Integer
Dim shift As ShiftKey
instance.ClickItemXY(itemName, subitemIndex,
x, y, shift)
void ClickItemXY(
String^ itemName,
int subitemIndex,
int x,
int y,
ShiftKey shift
)
Parameters
- itemName
- Type: SystemString
The item's name. - subitemIndex
- Type: SystemInt32
The zero-based index of the subitem. - 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 See Also