The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.
UITestActionExecutor::SendKeys Method (UITechnologyElement^, String^, ModifierKeys, Boolean)
Sends the keystrokes to generate the specified text.
Assembly: Microsoft.VisualStudio.TestTools.UITesting (in Microsoft.VisualStudio.TestTools.UITesting.dll)
public: virtual void SendKeys( UITechnologyElement^ control, String^ text, ModifierKeys modifierKeys, bool isUnicode ) abstract
Parameters
- control
-
Type:
Microsoft.VisualStudio.TestTools.UITest.Extension::UITechnologyElement^
Control to which the keys are to be sent.
- text
-
Type:
System::String^
Text to type.
- modifierKeys
- Type: System.Windows.Input::ModifierKeys
- isUnicode
-
Type:
System::Boolean
If true, sends the keys as Unicode, otherwise as scan code
Show: