Click or drag to resize
Ranorex

AdapterClick Method (MouseButtons, Int32, Duration)

Clicks on 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
Syntax
public void Click(
	MouseButtons buttons,
	int times,
	Duration moveTime
)

Parameters

buttons
Type: System.Windows.FormsMouseButtons
A bit-wise combination of MouseButtons values that specify the mouse buttons for this action.
times
Type: SystemInt32
The number of times to click.
moveTime
Type: RanorexDuration
The time after which the mouse should be at the specified position.
Remarks
If this method is invoked on a mobile element, Touch will be called internally and the arguments will not be considered.
See Also