SendKeysAction Constructor (UITechnologyElement)
Initializes a new instance of the SendKeysAction class by using the provided UI element.
Namespace: Microsoft.VisualStudio.TestTools.UITest.Common
Assembly: Microsoft.VisualStudio.TestTools.UITest.Common (in Microsoft.VisualStudio.TestTools.UITest.Common.dll)
Syntax
'Declaration
Public Sub New ( _
element As UITechnologyElement _
)
public SendKeysAction(
UITechnologyElement element
)
public:
SendKeysAction(
UITechnologyElement^ element
)
new :
element:UITechnologyElement -> SendKeysAction
public function SendKeysAction(
element : UITechnologyElement
)
Parameters
element
Type: Microsoft.VisualStudio.TestTools.UITest.Extension.UITechnologyElementA UITechnologyElement object that represents the element on which the keys are sent.
Remarks
Send keys is not available for analog test recording.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.