Java Namespace

The Insight namespace provides the SDK for testing Java objects.

Classes

Type Definitions

CalendarStyle

Represents the style of a Java calendar.
Type:

Java.CalendarStyle

Properties:
NameTypeDescription
datestringDate style.
timestringTime style.
calendarstringCalendar style.

MouseEvent

Constants for Mouse events.
Type:

Java.MouseEvent

Properties:
NameTypeDescription
mouseClickedstringA mouse button is pressed and released.
mouseDraggedstringThe mouse position changes while a mouse button is pressed.
mouseEnteredstringThe mouse cursor enters the unobscured part of the component.
mouseExitedstringThe mouse cursor exits the unobscured part of the component.
mouseMovedstringThe mouse position changes.
mousePressedstringA mouse button is pushed down.
mouseReleasedstringA mouse button is let up.

SliderOrientation

The horizontal or vertical orientation of the slider.
Type:

Java.SliderOrientation

Properties:
NameTypeDescription
horizontalstringThe slider is horizontal.
verticalstringThe slider is vertical.

TableKeyModifier

Keyboard keys that can be pressed and held down during the execution of a table method, such as the click method.
Type:
Properties:
NameTypeDescription
shiftstringShift key.
controlstringControl key.
altstringAlt key.
controlAndShiftstringControl and Shift keys pressed at the same time.

UiEvent

Constants for UI events.
Type:
Properties:
NameTypeDescription
focusGainedstringThe test object gained focus.
focusLoststringThe test object lost focus.

KeyboardEvent

Constants for Keyboard events.
Type:
Properties:
NameTypeDescription
keyPressedstringA key is pushed down.
keyReleasedstringA key is let up.
keyTypedstringA character is entered. A single key press or a character produced by series of key presses. If a series of keys, the mapping from key pressed events to key typed events can be many-to-one or many-to-many.