Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

Keyboard.SendKeys Method

Sends keystrokes to generate the specified text string.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

  NameDescription
Public method Static member SendKeys(String) Sends keystrokes to generate the specified text string.
Public method Static member SendKeys(String, Boolean) Sends keystrokes to generate the specified text string.
Public method Static member SendKeys(String, ModifierKeys) Sends keystrokes to generate the specified text string.
Public method Static member SendKeys(UITestControl, String) Sends keystrokes to generate the specified text string.
Public method Static member SendKeys(String, ModifierKeys, Boolean) Sends keystrokes to generate the specified text string.
Public method Static member SendKeys(UITestControl, String, Boolean) Sends keystrokes to generate the specified text string.
Public method Static member SendKeys(UITestControl, String, ModifierKeys) Sends keystrokes to the provided control to generate the specified text string by using the provided modifier keys.
Public method Static member SendKeys(String, ModifierKeys, Boolean, Boolean) Sends keystrokes to the provided control to generate the specified text string using the provided modifier keys and indicators for encoding and unicode.
Public method Static member SendKeys(UITestControl, String, ModifierKeys, Boolean) Sends keystrokes to the provided control to generate the specified text string using the provided modifier keys and encoding indicator.
Public method Static member SendKeys(UITestControl, String, ModifierKeys, Boolean, Boolean) Sends keystrokes to the provided control to generate the specified text string by using the provided modifier keys and indicators for encoding and unicode.
Top
Show:
© 2015 Microsoft