Table of Contents

Interface ISupportSendKeys

Namespace
HP.LFT.SDK
Assembly
HP.LFT.SDK.dll

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

input string

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.

void SendKeys(string input, KeyModifier modifiers)

Parameters

input string

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

modifiers KeyModifier

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.