NUnitForms Class Library

MouseController.Click Method (Single, Single)

Simulate clicking at the specified x and y-coordinate.

[Visual Basic]
Overloads Public Sub Click( _
   ByVal x As Single, _
   ByVal y As Single _
)
[C#]
public void Click(
   float x,
   float y
);

Parameters

x
The Single x-coordinate, relative to the control under test, to move the mouse to.
y
The Single y-coordinate, relative to the control under test, to move the mouse to.

Remarks

Click positions the mouse over the control under test at the specified point (x, y) and then presses and releases the left mouse button.

See Also

MouseController Class | NUnit.Extensions.Forms Namespace | MouseController.Click Overload List