3.8.5. Starting JavaFX AUTs

3.8.5.1. Configuring a Java AUT to be started from the ITE

The AUT configuration dialog for Java FX has three different levels of detail: basic, advanced and expert.

See the sections below for information on the different levels.

3.8.5.2. Basic JavaFX AUT configuration

You can use the basic setting to configure your AUT if it can be started by an executable file (e.g. .bat, .exe, .cmd, .sh etc.). If your AUT is a JAR, then you can also use the executable file field to enter the Java executable (i.e. java or java.exe) and then enter the path to the JAR in the AUT Arguments field in the advanced configuration (Section 3.8.5.3, “Advanced JavaFX AUT configuration”).

You must be using a Java 8 JRE to be able to start JavaFX AUTs.

  1. Enter the basic configuration details as described earlier (Section 3.8.2, “Basic information required for every AUT configuration”).

  2. Enter the executable file name in the Executable File Name field. This path can be relative if you define a working directory (Section 3.8.5.3, “Advanced JavaFX AUT configuration”).

For information on the advanced properties for the AUT configuration, see the next Section 3.8.5.3, “Advanced JavaFX AUT configuration”.

3.8.5.3. Advanced JavaFX AUT configuration

The advanced configuration dialog lets you create a working directory for your AUT, and add command-line arguments needed to start the AUT. If you entered a Java executable as the executable file name in the basic configuration, then you can enter -jar <JARFILE> in the AUT Arguments field (Figure 3.16, “Example JavaFX AUT configuration”).

Figure 3.16. Example JavaFX AUT configuration

For information on the expert properties for the AUT configuration, see the next Section 3.8.5.4, “Expert JavaFX AUT configuration”.

3.8.5.4. Expert JavaFX AUT configuration

You can use the expert dialog to configure more detailed information about how the AUT should be started.

  1. Enter any required System Environment Variables, in the format ”<VARNAME>=<value>”, i.e. ”PATH=C:∖ ”. Separate each variable with a new line by pressing »ENTER«.

    Please be advised that ”embedding” the contents of one variable into another is not supported at this time. That is, if you have a variable named FOO whose value is ”abc”, and set the value of a second variable BAR to ”%FOO%def”, the second variable will not contain ”abcdef”, but rather the exact text ”%FOO%def”, without evaluating it.

  2. Select an activation method for your AUT. More information on AUT activation is available in the previous Section 3.8.1.1, “AUT activation”.



Copyright BREDEX GmbH 2015. Made available under the Eclipse Public License v1.0.