MSDN Library
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.

MouseAction Class

 

Represents information about a mouse operation.

Namespace:   Microsoft.VisualStudio.TestTools.UITest.Common
Assembly:  Microsoft.VisualStudio.TestTools.UITest.Common (in Microsoft.VisualStudio.TestTools.UITest.Common.dll)


[SerializableAttribute]
public class MouseAction : InputAction

NameDescription
System_CAPS_pubmethodMouseAction()

Initializes a new instance of the MouseAction class for XML serialization or deserialization.

System_CAPS_pubmethodMouseAction(MouseButtons, MouseActionType)

Initializes a new instance of the MouseAction class by using the provided button designation and type of action.

System_CAPS_pubmethodMouseAction(MouseButtons, MouseActionType, Point)

Initializes a new instance of the MouseAction class by using the provided button designation, type of action, and location of the operation.

System_CAPS_pubmethodMouseAction(UITechnologyElement, MouseButtons, MouseActionType)

Initializes a new instance of the MouseAction class by using the provided element, button designation, and type of action.

NameDescription
System_CAPS_pubpropertyAbsoluteLocation

Gets or sets the screen location where the pointer operation occurred.

System_CAPS_pubpropertyActionLogEntry

Gets or sets the action log entry for the action.(Inherited from UITestAction.)

System_CAPS_pubpropertyActionName

Gets or sets the name of this action.(Overrides UITestAction.ActionName.)

System_CAPS_pubpropertyActionType

Gets or sets the type of mouse action.

System_CAPS_pubpropertyActualThinkTime

Gets or sets the think time after it processes other playback parameters that are provided by the UIActionInterpreter, such as the ThinkTimeMultiplier.(Inherited from UITestAction.)

System_CAPS_pubpropertyAdditionalInfo

When implemented in a derived class, gets a string that contains custom information.(Inherited from UITestAction.)

System_CAPS_pubpropertyComment

Gets or sets a comment for this action.(Inherited from UITestAction.)

System_CAPS_pubpropertyContinueOnError

Gets or sets a value that indicates whether to continue even if this action fails.(Inherited from UITestAction.)

System_CAPS_pubpropertyContinueOnErrorWrapper

Gets or sets the value of the ContinueOnError property as a string for serialization.(Inherited from UITestAction.)

System_CAPS_pubpropertyElapsedTime

Gets or sets the time span of the action.(Inherited from UITestAction.)

System_CAPS_pubpropertyEndTimestamp

The timestamp for the end of the action.(Inherited from UITestAction.)

System_CAPS_pubpropertyId

Gets or sets a unique numeric identifier for this action.(Inherited from UITestAction.)

System_CAPS_pubpropertyIsGlobalHotkey

Gets or sets a value that indicates whether the input is a global keyboard shortcut.(Inherited from InputAction.)

System_CAPS_pubpropertyIsParameterBound

If this action can be parameterized, gets or sets a value that indicates whether the action is bound to a test parameter.(Inherited from UITestAction.)

System_CAPS_pubpropertyIsParameterizable

Gets a value that indicates whether this action can be parameterized.(Inherited from UITestAction.)

System_CAPS_pubpropertyLocation

Gets or sets the relative location in the current element where the pointer operation occurred.

System_CAPS_pubpropertyModifierKeys

Gets or sets which modifier keys were pressed.(Inherited from InputAction.)

System_CAPS_pubpropertyMouseButton

Gets or sets the mouse button that was pressed.

System_CAPS_pubpropertyNeedFiltering

Gets or sets a value that indicates whether this action can be processed by a UITestActionFilter.(Inherited from UITestAction.)

System_CAPS_pubpropertyParameterName

Gets or sets the name of the corresponding parameter for the action value.(Inherited from UITestAction.)

System_CAPS_pubpropertyStartTimestamp

Gets or sets the starting time stamp when executing this action.(Inherited from UITestAction.)

System_CAPS_pubpropertyTags

Gets a dictionary of additional information about this action that is needed during recording, aggregation, or post-processing. The set procedure is private.(Inherited from UITestAction.)

System_CAPS_pubpropertyThinkTime

Gets or sets the number of seconds that are required to execute this action.(Inherited from UITestAction.)

System_CAPS_pubpropertyTimestamp

Gets or sets the time stamp for this action.(Inherited from UITestAction.)

System_CAPS_pubpropertyUIElement

Gets or sets the UI element on which this action operates.(Inherited from UITestAction.)

System_CAPS_pubpropertyUIObjectName

Gets or sets the name of the UI element on which this action operates.(Inherited from UITestAction.)

System_CAPS_pubpropertyUITestActionExtension

Sets or gets the an instance of UITestActionExtension which contains properties related to actions.(Inherited from UITestAction.)

System_CAPS_pubpropertyValueAsString

Gets or sets the value of this action as a string. The set procedure is not supported in this base class.(Inherited from UITestAction.)

System_CAPS_pubpropertyWheelDirection

Gets or sets the direction and amount in pixels of the mouse wheel motion.

NameDescription
System_CAPS_pubmethodEquals(Object)

Returns a value that indicates whether the given object is equal to this UI test action.(Inherited from UITestAction.)

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

Overrides object.GetHashCode(Inherited from UITestAction.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_pubmethodInvoke(UITestActionInvoker, UIMap)

Invokes this action.(Overrides UITestAction.Invoke(UITestActionInvoker, UIMap).)

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_protmethodNotifyPropertyChanged(String)

Raises the PropertyChanged event.(Inherited from UITestAction.)

System_CAPS_pubmethodToString()

Returns the description of this action.(Inherited from UITestAction.)

NameDescription
System_CAPS_pubeventPropertyChanged

Occurs when a property value changes.(Inherited from UITestAction.)

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show:
© 2016 Microsoft