Java Modules

The folder TBox XEngines->Java in the Standard subset contains Modules that perform specific tasks for the Java Engine 3.0.

Any SWT Window

The Module Any SWT Window allows you to steer context menus or PopUp menus (see chapter "PopUp Menu").

It has the following ModuleAttribute:

ModuleAttribute

Description

Context Menu

Path to the target menu entry. Separate menu entries with ->.

In this example, you open the context menu entry File > Exit.

Steer a context menu

Java Security Information

The Module Java Security Information allows you to close the Java security message (see chapter "Close the Java security message").

To ensure that the Java Engine 3.0 executes your TestCase accurately and regardless of whether the Java security message appears, you have to use the Module in one of the following places:

The Module has the following ModuleAttributes:

ModuleAttribute

Description

Run

Enter the value x to click the Run button in the Java security message.

Cancel

Enter the value x to click the Cancel button in the Java security message.

In this example, you close the Java security message and start the Java application.

Steer the Java security message