NUnitForms Class Library

NUnitFormTest.Keyboard Property

Returns a reference to the current KeyboardController for doing Keyboard tests. I recommend this only when you are writing your own custom controls and need to respond to actual keyboard input to test them properly. In most other cases there is a better way to test for the form's logic.

[Visual Basic]
Public ReadOnly Property Keyboard As KeyboardController
[C#]
public KeyboardController Keyboard {get;}

See Also

NUnitFormTest Class | NUnit.Extensions.Forms Namespace