Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

Mouse.Click Method

 

Clicks the mouse button.

Namespace:   Microsoft.VisualStudio.TestTools.UITesting
Assembly:  Microsoft.VisualStudio.TestTools.UITesting (in Microsoft.VisualStudio.TestTools.UITesting.dll)

NameDescription
System_CAPS_pubmethodSystem_CAPS_staticClick()

Clicks the default mouse button.

System_CAPS_pubmethodSystem_CAPS_staticClick(ModifierKeys)

Clicks the default mouse button while holding the specified modifier keys.

System_CAPS_pubmethodSystem_CAPS_staticClick(MouseButtons)

Clicks the specified mouse button.

System_CAPS_pubmethodSystem_CAPS_staticClick(MouseButtons, ModifierKeys, Point)

Clicks the specified mouse button while holding the specified modifier keys at the specified location.

System_CAPS_pubmethodSystem_CAPS_staticClick(Point)

Clicks the default mouse button at the specified location.

System_CAPS_pubmethodSystem_CAPS_staticClick(UITestControl)

Clicks the default mouse button on the specified control.

System_CAPS_pubmethodSystem_CAPS_staticClick(UITestControl, ModifierKeys)

Clicks the default mouse button on the specified control while holding the specified modifier keys.

System_CAPS_pubmethodSystem_CAPS_staticClick(UITestControl, MouseButtons)

Clicks the specified mouse button on the specified control.

System_CAPS_pubmethodSystem_CAPS_staticClick(UITestControl, MouseButtons, ModifierKeys, Point)

Clicks the specified mouse button on the specified control while holding the specified modifier keys at the specified location relative to that control.

System_CAPS_pubmethodSystem_CAPS_staticClick(UITestControl, Point)

Clicks the default mouse button on the specified control at the specified location relative to that control.

Return to top
Show: