This topic describes the requirements that should be met in order for TestComplete to be able to test Java applications properly. If something goes wrong, check the requirements listed in the following sections:
TestComplete support for testing Java applications is provided by the following plugins:
Java Application Support
Desktop Applications Testing
These plugins are installed and enabled automatically. Therefore, you can test most Java applications right out-of-box, without any additional configuration.
You can check to see if these plugins are active by selecting File | Install Extensions from the TestComplete main menu. If one of these plugins is not available, you need to run the TestComplete installation in the Repair mode. For more information about changing installed TestComplete features, see Installing Extensions.
To use these plugins, you must have a license for TestComplete Desktop module.
TestComplete also includes a pre-installed plugin for automated testing of Java controls. This plugin provides test objects, methods and properties for automating various operations on Java controls, getting their contents, state and so on.
|Note:||To use the plugin, you must have a license for TestComplete Desktop module.|
Just like core Java support plugins, this plugin is also installed and enabled automatically as part of the TestComplete Desktop module.
Just like core Java support plugins, this plugin is also installed and enabled automatically.
If your Java application uses the Java Swing ComboBox, Java Swing List or Java Swing Tree control and the
com.sun.java.swing.plaf.windows.WindowsLookAndFeel look and feel, launch your application with the
swing.disablevistaanimation command-line parameter set to True, or specify the parameter in the application code. Otherwise, errors may occur when playing back your tests. Here is an example of how you can specify this parameter:
To test Java applications that run under a different user account, you need to configure certain COM Security settings on the computer. For details, see Settings for Testing Open Applications in RunAs Mode.
In addition, TestComplete must be launched with administrator privileges.