Interface ISupportSendKeys
A test object that supports the SendKeys(string, KeyModifier) method.
public interface ISupportSendKeys
Methods
SendKeys(string)
Types the specified string into the object in the application, including special keys.
void SendKeys(string input)
Parameters
inputstringThe string to type in the object. The string can include constants from the Keys class, which represent keyboard keys.
SendKeys(string, KeyModifier)
Types the specified string into the object in the application, including special keys or key modifiers.
void SendKeys(string input, KeyModifier modifiers)
Parameters
inputstringThe string to type in the object. The string can include constants from the Keys class, which represent keyboard keys.
modifiersKeyModifierkey modifiers (such as Ctrl, Shift, Alt, or Windows key) to be pressed and held while the specified string is entered.
The keys are released when the SendKeys step is finished. Possible values: KeyModifier.