Java FX controls

A control is a screen element in your application that you want to test. For example, a text box or a table. This topic lists all Java FX controls that Tosca Cloud supports:

Standard controls

Tosca Cloud supports the following standard controls for Java FX

Java FX-specific controls

In addition to the standard controls listed in this topic, Tosca Cloud also supports the following controls:

Accordion

Tosca Cloud identifies Accordions as tabcontrols. You can steer them in multiline views.

Editable ComboBox

Editable ComboBoxes are comboboxes that allow you to add new entries.

If you want to steer editable ComboBoxes, ensure that the BusinessType of the control is defined as EditableComboBox.

Hyperlink

Tosca Cloud identifies Hyperlinks as links.

Use the property Visited to verify whether a hyperlink has already been opened.

ListView

Tosca Cloud identifies ListViews as listboxes.

Whenever you scan or steer ListView entries that are located outside the visible area, Tosca Cloud automatically scrolls to the required cell.

Modal and pop-up windows

To steer modal or pop-up windows, you need to scan them separately, to create separate modules for each window.

If a modal or pop-up window opens via button, you have to create the following modules: 

  • A module that includes the button. We recommend that you use the mouse operation {CLICK} In your test case to open modal/popup windows.

  • A module for the subsequent modal or pop-up window.

Progress Bar/Indicator

You can scan and steer progress bars or progress indicators.

Use the property Indeterminate to verify whether a progress bar or progress indicator has no value (True).

You can use the following action modes:

Action Mode

Example value

Description

Verify

50

Verifies the status of the progress.

WaitOn

100

Waits until a specific value has been reached.

TabControl

Tosca Cloud identifies TabControls as listboxes.

ToggleButton

Tosca Cloud identifies ToggleButtons as buttons.

Use the property Selected to verify the status of a ToggleButton.

ToolBar

You can scan and steer all supported standard controls inside a toolbar.

Tri-state CheckBox

Tri-state checkboxes can have the status True, False, or Indeterminate.

You can use the following action modes:

Action Mode

Possible values

Description

Input

True, False, Indeterminate

Selects or deselects a checkbox, or defines the indeterminate status.

Verify

True, False, Indeterminate

Verifies the expected value.

Buffer

<buffer name>

Save the status for later reuse.

Java security message

When you start a Java application, Java Runtime Environment may open a security message. This depends on your security settings.

You can close this message as described in Java security message.

Hidden controls

You can scan and steer controls that are outside the visible area of your application under test, but only if they're part of a scroll bar (ScollPane). Tosca Cloud automatically focuses the area which holds the respective control.