Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Initializes a new instance of the MouseAction class by using the provided element, button designation, and type of action.
Namespace: Microsoft.VisualStudio.TestTools.UITest.Common
Assembly: Microsoft.VisualStudio.TestTools.UITest.Common (in Microsoft.VisualStudio.TestTools.UITest.Common.dll)
Syntax
public MouseAction(
UITechnologyElement uiElement,
MouseButtons button,
MouseActionType actionType
)
public:
MouseAction(
UITechnologyElement^ uiElement,
MouseButtons button,
MouseActionType actionType
)
new :
uiElement:UITechnologyElement *
button:MouseButtons *
actionType:MouseActionType -> MouseAction
Public Sub New (
uiElement As UITechnologyElement,
button As MouseButtons,
actionType As MouseActionType
)
Parameters
uiElement
Type: Microsoft.VisualStudio.TestTools.UITest.Extension.UITechnologyElementA UITechnologyElement object where the mouse operation occurred.
button
Type: System.Windows.Forms.MouseButtonsA member of the MouseButtons enumeration that indicates which mouse button is pressed.
actionType
Type: Microsoft.VisualStudio.TestTools.UITest.Common.MouseActionTypeA member of the MouseActionType enumeration that indicates the kind of mouse operation.
See Also
UITechnologyElement
MouseButtons
MouseActionType
MouseAction Overload
MouseAction Class
Microsoft.VisualStudio.TestTools.UITest.Common Namespace
Return to top