IWinListViewClickItemRXY Method (String, String, Int32, Int32, ShiftKey) |
Moves the mouse cursor to the item and then simulates a right 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 ClickItemRXY(
string itemName,
string subitemName,
int x,
int y,
ShiftKey shift
)
Sub ClickItemRXY (
itemName As String,
subitemName As String,
x As Integer,
y As Integer,
shift As ShiftKey
)
Dim instance As IWinListView
Dim itemName As String
Dim subitemName As String
Dim x As Integer
Dim y As Integer
Dim shift As ShiftKey
instance.ClickItemRXY(itemName, subitemName,
x, y, shift)
void ClickItemRXY(
String^ itemName,
String^ subitemName,
int x,
int y,
ShiftKey shift
)
Parameters
- itemName
- Type: SystemString
The item's name. - subitemName
- Type: SystemString
The subitem'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 See Also