UITestAction Class
Provides a base class for test actions that are used with user interface (UI) tests.
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.MarkerAction
Microsoft.VisualStudio.TestTools.UITest.Common.NoOperationAction
Microsoft.VisualStudio.TestTools.UITest.Common.ValidationAction
Microsoft.VisualStudio.TestTools.UITest.Common.VerifyConfigurationAction
Microsoft.VisualStudio.TestTools.UITest.Common.WarningAction
Namespace: Microsoft.VisualStudio.TestTools.UITest.Common
Assembly: Microsoft.VisualStudio.TestTools.UITest.Common (in Microsoft.VisualStudio.TestTools.UITest.Common.dll)
Syntax
'Declaration
<SerializableAttribute> _
Public MustInherit Class UITestAction _
Implements INotifyPropertyChanged
[SerializableAttribute]
public abstract class UITestAction : INotifyPropertyChanged
[SerializableAttribute]
public ref class UITestAction abstract : INotifyPropertyChanged
[<AbstractClass>]
[<SerializableAttribute>]
type UITestAction =
class
interface INotifyPropertyChanged
end
public abstract class UITestAction implements INotifyPropertyChanged
The UITestAction type exposes the following members.
Constructors
Name | Description | |
---|---|---|
UITestAction() | Initializes a new instance of the UITestAction class. | |
UITestAction(UITechnologyElement) | Initializes a new instance of the UITestAction class by using the provided UI element. |
Top
Properties
Name | Description | |
---|---|---|
ActionName | Gets the name of the action. The set procedure is not supported in this base class. | |
ActualThinkTime | Gets or sets the think time after processing other playback parameters that are provided by the UIActionInterpreter, such as the ThinkTimeMultiplier. | |
AdditionalInfo | When implemented in a derived class, gets a string that contains custom information. | |
Comment | Gets or sets a comment for this action. | |
ContinueOnError | Gets or sets a value that indicates whether to continue even if this action fails. | |
ContinueOnErrorWrapper | Gets or sets the value of the ContinueOnError property as a string for serialization. | |
ElapsedTime | Gets or sets the time span of the action. | |
EndTimestamp | The timestamp for the end of the action. | |
Id | Gets or sets a unique numerical identifier for this action. | |
IsParameterBound | If this action can be parameterized, gets or sets a value that indicates whether the action is bound to a test parameter. | |
IsParameterizable | Gets a value that indicates whether this action can be parameterized. | |
NeedFiltering | Gets or sets a value that indicates whether this action can be processed by a UITestActionFilter. | |
ParameterName | Gets or sets the name of the corresponding parameter for the action value. | |
StartTimestamp | Gets or sets the starting time stamp when executing this action. | |
Tags | Gets a dictionary of additional information about this action that is needed during recording, aggregation, or post-processing. The set procedure is private. | |
ThinkTime | Gets or sets the number of seconds that are required to execute this action. | |
ThinkTimeString | Gets or sets the think time for this action by using a string value. | |
Timestamp | Gets or sets the time stamp for this action. | |
UIElement | Gets or sets the UI element on which this action operates. | |
UIObjectName | Gets or sets the name of the UI element on which this action operates. | |
ValueAsString | Gets or sets the value of this action as a string. The set procedure is not supported in this base class. |
Top
Methods
Name | Description | |
---|---|---|
Equals | Returns a value that indicates whether the given object is equal to this UI test action. (Overrides Object.Equals(Object).) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as a hash function for a particular type. (Overrides Object.GetHashCode().) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
Invoke | Invokes this action. | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
NotifyPropertyChanged | Raises the PropertyChanged event. | |
ToString | Returns the description of this action. (Overrides Object.ToString().) |
Top
Events
Name | Description | |
---|---|---|
PropertyChanged | Occurs when a property value changes. |
Top
Operators
Name | Description | |
---|---|---|
Equality | Overrides the "==" operator for comparing two UI test action objects. | |
Inequality | Overrides the "!=" operator for comparing two UI test action objects. |
Top
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.