NUnitForms Class Library

KeyboardController Class

Provides testing control of the keyboard.

For a list of all members of this type, see KeyboardController Members.


[Visual Basic]
Public Class KeyboardController
Implements IDisposable
public class KeyboardController : IDisposable


KeyboardController lets you send key presses to your application. You can click, press, or release any key. The UseOn() method allows you to assert focus on a specific control before sending the keys. It also initializes the Keyboard controller for use by blocking user input.


Namespace: NUnit.Extensions.Forms

Assembly: NUnitForms (in NUnitForms.dll)

See Also

KeyboardController Members | NUnit.Extensions.Forms Namespace