 | AdapterClick Method (MouseButtons, Location, Int32, Duration) |
Clicks at the specified location relative to the adapter with the specified mouse
buttons the specified number of times.
Namespace:
Ranorex
Assembly:
Ranorex.Core (in Ranorex.Core.dll) Version: 12.7.4-git.38314c06
Syntaxpublic void Click(
MouseButtons buttons,
Location location,
int times,
Duration moveTime
)
Public Sub Click (
buttons As MouseButtons,
location As Location,
times As Integer,
moveTime As Duration
)
Parameters
- buttons
- Type: System.Windows.FormsMouseButtons
A bit-wise combination of MouseButtons values
that specify the mouse buttons for this action. - location
- Type: RanorexLocation
The location relative to the upper-left corner of the element
to click on. - times
- Type: SystemInt32
The number of times to click. - moveTime
- Type: RanorexDuration
The time after which the mouse should be at the specified position.
RemarksIf this method is invoked on a mobile element,
Touch(Location) will be called
internally and only the
location argument will be considered.
See Also