OpenText™ Functional Testing for Developers JavaScript SDK

Java. KeyboardEventInfo

new KeyboardEventInfo(propBagopt)

A Java technology Keyboard event info to be used by fireEvent methods.
Parameters:
Name Type Attributes Description
propBag Object <optional>
The arguments for the event info.
Properties
Name Type Attributes Description
eventId Java.KeyboardEvent The event ID.
when number The time the event occurred.
modifiers number The modifier keys down during event.
keyCode number The physical key pressed, independent of the character created.
Remarks: For example, the A Key is returned whether the character produced is "A" or "a".
keyChar string The Unicode character generated by this event.
keyLocation number <optional>
The location of the key that originated this key event.