Default Project Properties - JavaFX Options

Applies to TestComplete 15.31, last modified on March 17, 2022

The Open Applications | JavaFX group specifies the default values of the Open Applications | JavaFX properties that are used for new TestComplete projects. This group is available only if the JavaFX Application Support plugin is installed in TestComplete.

To view or change the default options, select Tools | Default Project Properties from the main menu of TestComplete and then choose Project | Open Applications | JavaFX from the tree on the left of the ensuing Default Project Properties dialog.

You can change the following option --

  • JavaFX nodes to be included in the object hierarchy - Allows you to specify how TestComplete will represent the object hierarchy in JavaFX applications. If a class name is specified in the list and the Active check box next to it is enabled, the objects of this class are added to the object tree. This option has effect during test recording and playback as well.

    There are several presets that specify what classes are exposed by default. There is also the * preset, which is disabled by default. Enable it to make all the objects of JavaFX applications exposed. Note, however, that it takes much time to expose all the objects.

    To add a new class name to the list, click Add and then specify the desired class name (the value of the JavaFullClassName property). Enable the Derived Classes check box next to the object's class name to make the descendant classes of the specified class exposed as well.

    Adding classes inherited from javafx.scene.Parent to the list or removing them from it affects the object hierarchy and may cause a test failure. For more information on this, see Addressing Objects in JavaFX Applications.

    Note that you can use wildcards (* and ?) in class names. The asterisk corresponds to a string of any length, the question mark - to any single character.

    To modify an existing class name, click it or press F2.

    To remove the selected class name from the list, click Remove.

To save the changes you have made and to close the dialog, press OK. Cancel will close the dialog discarding any changes.

See Also

Project Properties - JavaFX Options
Default Project Properties - Project Options
Testing JavaFX Applications
Testing JavaFX Applications - Overview

Highlight search results