Simulate pressing the mouse button(s).
Press positions the mouse over the control under test and then simulates pressing the specified buttons.
Exception Type | Condition |
---|---|
NotSupportedException | When buttons contains MouseButtons.XButton1 or MouseButtons.XButton2 and the installed mouse does have 4 or 5 buttons, respectively. |
MouseController Class | NUnit.Extensions.Forms Namespace | MouseController.Press Overload List