Share this page

# Keyboard Class

A class that enables low-level keyboard device operations.

When working in a grid configuration, use IDesktopEnvironment.Keyboard to get the IKeyboardDevice object, which enables keyboard operations on a specific environment or grid node.

C# Syntax

    public class Keyboard

Inheritance Hierarchy

System.Object
HP.LFT.SDK.Keyboard

Public Constructors

| Name | Description
--- | --- | ---
| Keyboard Constructor |

Top
Public Methods

| Name | Description
--- | --- | ---
| KeyDown | Overloaded. Presses and holds the specified key using a keyboard scan code.
| KeyUp | Overloaded. Releases the specified key based on its keyboard scan code.
| PressKey | Overloaded. Presses the specified key using a keyboard scan code.
| SendString | Types the specified string.

Top

Tips to improve your search results... OpenText™ Functional Testing for Developers .NET SDK Version: 25.2 OpenText™ Functional Testing for Developers SDK 25.2 All View Local Help Center View Online Help Center Version: