Export (0) Print
Expand All

SendKeysAction Class

Represents a test action that sends text or an array of keys.

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

[SerializableAttribute]
public class SendKeysAction : InputAction

The SendKeysAction type exposes the following members.

  NameDescription
Public methodSendKeysAction()Initializes a new instance of the SendKeysAction class for XML serialization or deserialization.
Public methodSendKeysAction(UITechnologyElement)Initializes a new instance of the SendKeysAction class by using the provided UI element.
Top

  NameDescription
Public propertyActionLogEntryGets or sets the action log entry for the action. (Inherited from UITestAction.)
Public propertyActionNameGets the name of the action. The set procedure is not supported in this base class. (Inherited from UITestAction.)
Public propertyActualThinkTimeGets or sets the think time after it processes other playback parameters that are provided by the UIActionInterpreter, such as the ThinkTimeMultiplier. (Inherited from UITestAction.)
Public propertyAdditionalInfoGets or sets additional information about this action. (Overrides UITestAction.AdditionalInfo.)
Public propertyCommentGets or sets a comment for this action. (Inherited from UITestAction.)
Public propertyContinueOnErrorGets or sets a value that indicates whether to continue even if this action fails. (Inherited from UITestAction.)
Public propertyContinueOnErrorWrapperGets or sets the value of the ContinueOnError property as a string for serialization. (Inherited from UITestAction.)
Public propertyElapsedTimeGets or sets the time span of the action. (Inherited from UITestAction.)
Public propertyEndTimestampThe timestamp for the end of the action. (Inherited from UITestAction.)
Public propertyIdGets or sets a unique numeric identifier for this action. (Inherited from UITestAction.)
Public propertyIsEncodedGets or sets a value that indicates whether the text value is encoded.
Public propertyIsGlobalHotkeyGets or sets a value that indicates whether the input is a global keyboard shortcut. (Inherited from InputAction.)
Public propertyIsParameterBoundIf this action can be parameterized, gets or sets a value that indicates whether the action is bound to a test parameter. (Inherited from UITestAction.)
Public propertyIsParameterizableGets a value that indicates whether this action can be parameterized. (Overrides UITestAction.IsParameterizable.)
Public propertyModifierKeysGets or sets which modifier keys were pressed. (Inherited from InputAction.)
Public propertyNeedFilteringGets or sets a value that indicates whether this action can be processed by a UITestActionFilter. (Inherited from UITestAction.)
Public propertyParameterNameGets or sets the name of the corresponding parameter for the action value. (Inherited from UITestAction.)
Public propertyStartTimestampGets or sets the starting time stamp when executing this action. (Inherited from UITestAction.)
Public propertyTagsGets 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.)
Public propertyTextGets or sets the text to be sent to the element.
Public propertyTextValueGets or sets the text of this action, which may be encrypted based on the value of the IsEncoded property.
Public propertyThinkTimeGets or sets the number of seconds that are required to execute this action. (Inherited from UITestAction.)
Public propertyThinkTimeStringGets or sets the think time for this action by using a string value. (Inherited from UITestAction.)
Public propertyTimestampGets or sets the time stamp for this action. (Inherited from UITestAction.)
Public propertyUIElementGets or sets the UI element on which this action operates. (Inherited from UITestAction.)
Public propertyUIObjectNameGets or sets the name of the UI element on which this action operates. (Inherited from UITestAction.)
Public propertyUITestActionExtensionSets or gets the an instance of UITestActionExtension which contains properties related to actions. (Inherited from UITestAction.)
Public propertyValueAsStringGets or sets the value of this action as a string. (Overrides UITestAction.ValueAsString.)
Top

  NameDescription
Public methodEqualsReturns a value that indicates whether the given object is equal to this UI test action. (Inherited from UITestAction.)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public methodGetHashCodeOverrides object.GetHashCode (Inherited from UITestAction.)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Public methodInvokeInvokes this action. (Overrides UITestAction.Invoke(UITestActionInvoker, UIMap).)
Public methodIsActionOnProtectedElementReturns a value that indicates whether the associated element is protected.
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Protected methodNotifyPropertyChangedRaises the PropertyChanged event. (Inherited from UITestAction.)
Public methodToStringReturns the description of this action. (Inherited from UITestAction.)
Top

  NameDescription
Public eventPropertyChangedOccurs when a property value changes. (Inherited from UITestAction.)
Top

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