Generic Operations

The following sections describe generic operations that can be used by any API object that inherits from the JavaElementBase class. These operations can be executed by any API object that exists in the Java Coverage (Swing and OracleForms10g APIs):

Exists

Enabled

LeftClickOnScreen

Mouse Operation Support (Simulation)

TypeKeys

Exists

This operation checks whether a specified Java control exists.

Property

Description

Exists

Checks whether the control exists.

Enabled

This operation checks whether a specified Java control is enabled.

Property

Description

Enabled

Checks whether the control is enabled (true) or disabled (false).

LeftClickOnScreen

This operation imitates a user executing a left click press on a given control. It simulates the user left-clicking the control physically on the screen at (x,y) position.

Note: The LeftClickOnScreen operation executes only if the containing window can be set as the topmost window that owns the focus.