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... UFT Developer .NET SDK Reference Version 15.0-15.0.2 UFT Developer SDK Reference All View Local Help Center View Online Help Center back Go back in browser history forward Go forward in browser history Remove search highlights next topic Go to next topic previous topic Go to previous topic Print the current topic Version: