The JavaClient plug-in shipped with TestComplete provides advanced support for both ordinary Java applications and Java applets that use either AWT or Swing components. To get more information on this subject, please have a look at the following topics in our help system:
Java Client Plug-In
Creating Open Applications in Java
I understand that test applications made of Java Applets(Java Swing) is to be made open application from the help as well as from different topics on the forums.But my test application is provided by the customer so we won't get chances to modify the code to make it open as per the help.So in that scenario, How can I test the application ? Can anyone please explain with examples.
If you cannot compile your Java application as Open, it is only possible to test it in black-box mode: all clicks will be recorded using the coordinates inside the main window of the tested application. Of course, such scripts are not reliable as if the developers change the location of controls, the scripts will fail. The next major version of TestComplete (which is almost ready for beta testing) will recognize Java applications as Open by default, that is there is no need to re-compile them.