OpenText™ Functional Testing for Developers JavaScript SDK

Java. MouseEventInfo

new MouseEventInfo(propBagopt)

A Java technology Mouse 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.MouseEvent The event ID.
when number The time the event occurred. Passing negative or zero value is not recommended
modifiers number The modifier keys down during event.
x number The horizontal x-coordinate in pixels relative to the containing object.
y number The vertical y-coordinate in pixels relative to the containing object.
xAbs number <optional>
The absolute horizontal x-coordinate in pixels relative to the screen. This value is ignored if button is not set.
yAbs number <optional>
The absolute vertical y-coordinate in pixels relative to the screen. This value is ignored if button is not set.
clickCount number The number of mouse clicks associated with event.
popupTrigger boolean Indicates whether this event is a trigger for a popup menu.
button number <optional>
Indicates which of the mouse buttons has changed state.