IKeyboard Methods
Last updated
Was this helpful?
Last updated
Was this helpful?
Triggers a KEY_DOWN event on the subject under test and waits for the .
Syntax:
Parameter
Description
key
Value of the key to hold
Triggers a combination of and with a wait time set to the .
Syntax:
Parameter
Description
key
Value of the key to hold
Syntax:
Parameter
Description
keyToPress
Single key that should be pressed while the keysToHold are in down state
[keysToHold]
Keys that should be hold while the keyToPress is pressed
Simulates text typing by converting a given string to a sequence of KEY_DOWN and KEY_UP events.
Syntax:
Parameter
Description
textToType
Type: String
The text that should be typed on the subject under test
Triggers a KEY_UP event on the subject under test
Syntax:
Parameter
Description
key
Value of the key to release
Type:
Type:
Puts all keys defined in keysToHold in the specified sequence in "down" state, triggers a combination of and with a wait time set to the and then releases the keys in keysToHold.
Type:
Type: [ ]
Type: