Troubleshooting JavaFX Applications

Applies to TestComplete 15.64, last modified on May 16, 2024

This topic lists typical issues you may come across when testing JavaFX applications with TestComplete and possible solutions to these issues.

TestComplete cannot get access to a JavaFX application’s internals.

TestComplete cannot get access to internal methods and properties of JavaFX objects if the tested application was launched with the -verbose or -verbose:class command-line argument. To resolve this issue, launch your application without these arguments.

An exception occurs when debugging a JavaFX application.

When you are debugging a JavaFX application and TestComplete is running, an exception may occur in the application. When getting access to internal methods and fields, TestComplete may load classes to memory and the debugger may fail to find the appropriate class reference. To resolve the issue, do not debug your application when TestComplete is running, or do not run your application under a debugger.

See Also

Recording Automated Tests
Recording Options Dialog
Recording Specifics

Highlight search results