IKeyboard Interface

Provides access to the SUT's keyboard

Methods

Name

Description

Triggers a KEY_DOWN event on the subject under test

Triggers a combination of Down(Keys) and Up(Keys) with a wait time set to the global key down delay.

Puts all keys defined in keysToHold in the specified sequence in "down" state, triggers a combination of Down(Keys) and Up(Keys) with a wait time set to the global key down delay and then releases the keys in keysToHold.

Simulates text typing by converting a given string to a sequence of KEY_DOWN and KEY_UP events.

Triggers a KEY_UP event on the subject under test

Last updated