TouchAction Class
Contains information about touch actions.
Namespace: Microsoft.VisualStudio.TestTools.UITest.Common
Assembly: Microsoft.VisualStudio.TestTools.UITest.Common (in Microsoft.VisualStudio.TestTools.UITest.Common.dll)
Inheritance Hierarchy
System.Object
Microsoft.VisualStudio.TestTools.UITest.Common.UITestAction
Microsoft.VisualStudio.TestTools.UITest.Common.InputAction
Microsoft.VisualStudio.TestTools.UITest.Common.MouseAction
Microsoft.VisualStudio.TestTools.UITest.Common.TouchAction
Syntax
[SerializableAttribute]
public class TouchAction : MouseAction
[SerializableAttribute]
public ref class TouchAction : MouseAction
[<SerializableAttribute>]
type TouchAction =
class
inherit MouseAction
end
<SerializableAttribute>
Public Class TouchAction
Inherits MouseAction
Constructors
Name | Description | |
---|---|---|
TouchAction() | The constructor. Use setters on properties to set correct values for the instance. |
Properties
Name | Description | |
---|---|---|
AbsoluteLocation | Gets or sets the screen location where the pointer operation occurred.(Inherited from MouseAction.) |
|
ActionLogEntry | Gets or sets the action log entry for the action.(Inherited from UITestAction.) |
|
ActionName | The name of the UITestAction.(Overrides MouseAction.ActionName.) |
|
ActionType | Gets or sets the type of mouse action.(Inherited from MouseAction.) |
|
ActualThinkTime | 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.) |
|
AdditionalInfo | When implemented in a derived class, gets a string that contains custom information.(Inherited from UITestAction.) |
|
Comment | Gets or sets a comment for this action.(Inherited from UITestAction.) |
|
ContinueOnError | Gets or sets a value that indicates whether to continue even if this action fails.(Inherited from UITestAction.) |
|
ContinueOnErrorWrapper | Gets or sets the value of the ContinueOnError property as a string for serialization.(Inherited from UITestAction.) |
|
ElapsedTime | Gets or sets the time span of the action.(Inherited from UITestAction.) |
|
EndTimestamp | The timestamp for the end of the action.(Inherited from UITestAction.) |
|
GestureType | ||
Id | Gets or sets a unique numeric identifier for this action.(Inherited from UITestAction.) |
|
IsGestureComplete | ||
IsGlobalHotkey | Gets or sets a value that indicates whether the input is a global keyboard shortcut.(Inherited from InputAction.) |
|
IsParameterBound | 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.) |
|
IsParameterizable | Gets a value that indicates whether this action can be parameterized.(Inherited from UITestAction.) |
|
Location | Gets or sets the relative location in the current element where the pointer operation occurred.(Inherited from MouseAction.) |
|
Manipulations | ||
ModifierKeys | Gets or sets which modifier keys were pressed.(Inherited from InputAction.) |
|
MouseButton | Gets or sets the mouse button that was pressed.(Inherited from MouseAction.) |
|
NeedFiltering | Gets or sets a value that indicates whether this action can be processed by a UITestActionFilter.(Inherited from UITestAction.) |
|
ParameterName | Gets or sets the name of the corresponding parameter for the action value.(Inherited from UITestAction.) |
|
StartTimestamp | Gets or sets the starting time stamp when executing this action.(Inherited from UITestAction.) |
|
Tags | 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.) |
|
ThinkTime | Gets or sets the number of seconds that are required to execute this action.(Inherited from UITestAction.) |
|
Timestamp | Gets or sets the time stamp for this action.(Inherited from UITestAction.) |
|
UIElement | Gets or sets the UI element on which this action operates.(Inherited from UITestAction.) |
|
UIObjectName | Gets or sets the name of the UI element on which this action operates.(Inherited from UITestAction.) |
|
UITestActionExtension | Sets or gets the an instance of UITestActionExtension which contains properties related to actions.(Inherited from UITestAction.) |
|
ValueAsString | Gets or sets the value of this action as a string. The set procedure is not supported in this base class.(Inherited from UITestAction.) |
|
WheelDirection | Gets or sets the direction and amount in pixels of the mouse wheel motion.(Inherited from MouseAction.) |
Methods
Name | Description | |
---|---|---|
Equals(Object) | Returns a value that indicates whether the given object is equal to this UI test action.(Inherited from UITestAction.) |
|
Finalize() | (Inherited from Object.) |
|
GetHashCode() | Overrides object.GetHashCode(Inherited from UITestAction.) |
|
GetType() | (Inherited from Object.) |
|
Invoke(UITestActionInvoker, UIMap) | Invokes the Mouse action.(Overrides MouseAction.Invoke(UITestActionInvoker, UIMap).) |
|
MemberwiseClone() | (Inherited from Object.) |
|
NotifyPropertyChanged(String) | Raises the PropertyChanged event.(Inherited from UITestAction.) |
|
ToString() | Returns the description of this action.(Inherited from UITestAction.) |
Events
Name | Description | |
---|---|---|
PropertyChanged | Occurs when a property value changes.(Inherited from UITestAction.) |
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
See Also
Microsoft.VisualStudio.TestTools.UITest.Common Namespace
Return to top