Share this page

# KeyboardEventInfo

## 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.

Tips to improve your search results... UFT Developer JavaScript SDK Reference Version 15.0-15.0.2 UFT Developer SDK Reference All View Local Help Center View Online Help Center back Go back in browser history forward Go forward in browser history Remove search highlights next topic Go to next topic previous topic Go to previous topic Print the current topic Version: