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.
Provides a base class for test actions that are used with user interface (UI) tests.
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.AggregatedAction
    Microsoft.VisualStudio.TestTools.UITest.Common.DelayAction
    Microsoft.VisualStudio.TestTools.UITest.Common.ErrorAction
    Microsoft.VisualStudio.TestTools.UITest.Common.InputAction
    Microsoft.VisualStudio.TestTools.UITest.Common.InvokeAction
    Microsoft.VisualStudio.TestTools.UITest.Common.MarkerAction
    Microsoft.VisualStudio.TestTools.UITest.Common.NoOperationAction
    Microsoft.VisualStudio.TestTools.UITest.Common.SystemAction
    Microsoft.VisualStudio.TestTools.UITest.Common.ValidationAction
    Microsoft.VisualStudio.TestTools.UITest.Common.VerifyConfigurationAction
    Microsoft.VisualStudio.TestTools.UITest.Common.WarningAction
Syntax
[SerializableAttribute]
public abstract class UITestAction : INotifyPropertyChanged
[SerializableAttribute]
public ref class UITestAction abstract : INotifyPropertyChanged
[<AbstractClass>]
[<SerializableAttribute>]
type UITestAction = 
    class
        interface INotifyPropertyChanged
    end
<SerializableAttribute>
Public MustInherit Class UITestAction
    Implements INotifyPropertyChanged
Constructors
| Name | Description | |
|---|---|---|
| .gif) | UITestAction() | Initializes a new instance of the UITestAction class. | 
| .gif) | UITestAction(UITechnologyElement) | Initializes a new instance of the UITestAction class by using the provided UI element. | 
Properties
| Name | Description | |
|---|---|---|
| .jpeg) | ActionLogEntry | Gets or sets the action log entry for the action. | 
| .jpeg) | ActionName | Gets the name of the action. The set procedure is not supported in this base class. | 
| .jpeg) | ActualThinkTime | Gets or sets the think time after it processes other playback parameters that are provided by the UIActionInterpreter, such as the ThinkTimeMultiplier. | 
| .jpeg) | AdditionalInfo | When implemented in a derived class, gets a string that contains custom information. | 
| .jpeg) | Comment | Gets or sets a comment for this action. | 
| .jpeg) | ContinueOnError | Gets or sets a value that indicates whether to continue even if this action fails. | 
| .jpeg) | ContinueOnErrorWrapper | Gets or sets the value of the ContinueOnError property as a string for serialization. | 
| .jpeg) | ElapsedTime | Gets or sets the time span of the action. | 
| .jpeg) | EndTimestamp | The timestamp for the end of the action. | 
| .jpeg) | Id | Gets or sets a unique numeric identifier for this action. | 
| .jpeg) | IsParameterBound | If this action can be parameterized, gets or sets a value that indicates whether the action is bound to a test parameter. | 
| .jpeg) | IsParameterizable | Gets a value that indicates whether this action can be parameterized. | 
| .jpeg) | NeedFiltering | Gets or sets a value that indicates whether this action can be processed by a UITestActionFilter. | 
| .jpeg) | ParameterName | Gets or sets the name of the corresponding parameter for the action value. | 
| .jpeg) | StartTimestamp | Gets or sets the starting time stamp when executing this action. | 
| .jpeg) | Tags | Gets a dictionary of additional information about this action that is needed during recording, aggregation, or post-processing. The set procedure is private. | 
| .jpeg) | ThinkTime | Gets or sets the number of seconds that are required to execute this action. | 
| .jpeg) | Timestamp | Gets or sets the time stamp for this action. | 
| .jpeg) | UIElement | Gets or sets the UI element on which this action operates. | 
| .jpeg) | UIObjectName | Gets or sets the name of the UI element on which this action operates. | 
| .jpeg) | UITestActionExtension | Sets or gets the an instance of UITestActionExtension which contains properties related to actions. | 
| .jpeg) | ValueAsString | Gets or sets the value of this action as a string. The set procedure is not supported in this base class. | 
Methods
| Name | Description | |
|---|---|---|
| .gif) | Equals(Object) | Returns a value that indicates whether the given object is equal to this UI test action.(Overrides Object.Equals(Object).) | 
| .gif) | Finalize() | (Inherited from Object.) | 
| .gif) | GetHashCode() | Overrides object.GetHashCode(Overrides Object.GetHashCode().) | 
| .gif) | GetType() | (Inherited from Object.) | 
| .gif) | Invoke(UITestActionInvoker, UIMap) | Invokes this action. | 
| .gif) | MemberwiseClone() | (Inherited from Object.) | 
| .gif) | NotifyPropertyChanged(String) | Raises the PropertyChanged event. | 
| .gif) | ToString() | Returns the description of this action.(Overrides Object.ToString().) | 
Events
| Name | Description | |
|---|---|---|
| .jpeg) | PropertyChanged | Occurs when a property value changes. | 
Operators
| Name | Description | |
|---|---|---|
| .gif) .jpeg) | Equality(UITestAction, UITestAction) | Overrides the "==" operator for comparing two UI test action objects. | 
| .gif) .jpeg) | Inequality(UITestAction, UITestAction) | Overrides the "!=" operator for comparing two UI test action objects. | 
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
INotifyPropertyChanged
Microsoft.VisualStudio.TestTools.UITest.Common Namespace
Return to top