Table of Contents

Interface ISupportSendKeys

A test object that supports the SendKeys(string, KeyModifier) method.

Namespace: HP.LFT.SDK
Assembly: HP.LFT.SDK.dll
Syntax
public interface ISupportSendKeys

Methods

SendKeys(string)

Types the specified string into the object in the application, including special keys.

Declaration
void SendKeys(string input)
Parameters
Type Name Description
string input

The 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.

Declaration
void SendKeys(string input, KeyModifier modifiers)
Parameters
Type Name Description
string input

The string to type in the object. The string can include constants from the Keys class, which represent keyboard keys.

KeyModifier modifiers

key 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.