Represents a test action that sets a value.
Inheritance Hierarchy
Object
  Microsoft.VisualStudio.TestTools.UITest.Common.UITestAction
    Microsoft.VisualStudio.TestTools.UITest.Common.AggregatedAction
      Microsoft.VisualStudio.TestTools.UITest.Common.SetBaseAction
        Microsoft.VisualStudio.TestTools.UITest.Common.SetValueAction
Namespace:  Microsoft.VisualStudio.TestTools.UITest.Common
Assembly:  Microsoft.VisualStudio.TestTools.UITest.Common (in Microsoft.VisualStudio.TestTools.UITest.Common.dll)
Syntax
'Declaration
<SerializableAttribute> _
Public Class SetValueAction _
    Inherits SetBaseAction
[SerializableAttribute]
public class SetValueAction : SetBaseAction
[SerializableAttribute]
public ref class SetValueAction : public SetBaseAction
[<SerializableAttribute>]
type SetValueAction =  
    class 
        inherit SetBaseAction 
    end
public class SetValueAction extends SetBaseAction
The SetValueAction type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| .gif) | SetValueAction() | Initializes a new instance of the SetValueAction class for XML serialization or deserialization. | 
| .gif) | SetValueAction(UITechnologyElement, Object) | Initializes a new instance of the SetValueAction class by using the provided element and value. | 
Top
Properties
| Name | Description | |
|---|---|---|
| .gif) | ActionLogEntry | Gets or sets the action log entry for the action. (Inherited from UITestAction.) | 
| .gif) | ActionName | Gets the name of the action. The set procedure is not supported in this base class. (Inherited from UITestAction.) | 
| .gif) | 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.) | 
| .gif) | AdditionalInfo | When implemented in a derived class, gets a string that contains custom information. (Inherited from UITestAction.) | 
| .gif) | Comment | Gets or sets a comment for this action. (Inherited from UITestAction.) | 
| .gif) | ContinueOnError | Gets or sets a value that indicates whether to continue even if this action fails. (Inherited from UITestAction.) | 
| .gif) | ContinueOnErrorWrapper | Gets or sets the value of the ContinueOnError property as a string for serialization. (Inherited from UITestAction.) | 
| .gif) | ElapsedTime | Gets or sets the time span of the action. (Inherited from UITestAction.) | 
| .gif) | EndTimestamp | The timestamp for the end of the action. (Inherited from UITestAction.) | 
| .gif) | Id | Gets or sets a unique numeric identifier for this action. (Inherited from UITestAction.) | 
| .gif) | IsEncoded | Gets or sets a value that indicates whether the value is encoded. | 
| .gif) | 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.) | 
| .gif) | IsParameterizable | Gets a value that indicates whether this action can be parameterized. (Overrides UITestAction.IsParameterizable.) | 
| .gif) | NeedFiltering | Gets or sets a value that indicates whether this action can be processed by a UITestActionFilter. (Inherited from UITestAction.) | 
| .gif) | ParameterName | Gets or sets the name of the corresponding parameter for the action value. (Inherited from UITestAction.) | 
| .gif) | PreferEdit | Gets or sets a value that indicates whether to use an edit operation for combo boxes instead of a select operation to set the value. | 
| .gif) | PreferEditWrapper | Gets or sets the value of the PreferEdit property as a string for serialization. | 
| .gif) | SourceElement | Gets or sets the source element for this action. (Inherited from SetBaseAction.) | 
| .gif) | SourceElements | The source elements of the SetValue event. (Inherited from SetBaseAction.) | 
| .gif) | StartTimestamp | Gets or sets the starting time stamp when executing this action. (Inherited from UITestAction.) | 
| .gif) | 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.) | 
| .gif) | TextValue | Gets or sets the value of this action as a string. | 
| .gif) | ThinkTime | Gets or sets the number of seconds that are required to execute this action. (Inherited from UITestAction.) | 
| .gif) | ThinkTimeString | Gets or sets the think time for this action by using a string value. (Inherited from UITestAction.) | 
| .gif) | Timestamp | Gets or sets the time stamp for this action. (Inherited from UITestAction.) | 
| .gif) | Type | Gets or sets the type name of the value of this action. | 
| .gif) | UIElement | Gets or sets the UI element on which this action operates. (Inherited from UITestAction.) | 
| .gif) | UIObjectName | Gets or sets the name of the UI element on which this action operates. (Inherited from UITestAction.) | 
| .gif) | UITestActionExtension | Sets or gets the an instance of UITestActionExtension which contains properties related to actions. (Inherited from UITestAction.) | 
| .gif) | Value | Gets or sets the value of this action. | 
| .gif) | ValueAsString | Gets or sets the value of this action as a string. (Overrides UITestAction.ValueAsString.) | 
Top
Methods
| Name | Description | |
|---|---|---|
| .gif) | Equals | Returns a value that indicates whether the given object is equal to this UI test action. (Inherited from UITestAction.) | 
| .gif) | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | 
| .gif) | GetHashCode | Overrides object.GetHashCode (Inherited from UITestAction.) | 
| .gif) | GetType | Gets the Type of the current instance. (Inherited from Object.) | 
| .gif) | Invoke | Invokes this action. (Overrides UITestAction.Invoke(UITestActionInvoker, UIMap).) | 
| .gif) | IsActionOnProtectedElement | Returns a value that indicates whether the associated element is protected. | 
| .gif) | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | 
| .gif) | NotifyPropertyChanged | Raises the PropertyChanged event. (Inherited from UITestAction.) | 
| .gif) | ToString | Returns the description of this action. (Inherited from UITestAction.) | 
Top
Events
| Name | Description | |
|---|---|---|
| .gif) | PropertyChanged | Occurs when a property value changes. (Inherited from UITestAction.) | 
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.