TestComplete for Java
|
Automated Testing of Java Applications |
TestComplete lets you test Java applications that use the Swing, AWT, SWT or WFC libraries. These applications must be created with a development tool that supports one of the following Java virtual machines:
For example, this can be Microsoft Visual J++ 1.1 or later, Borland JBuilder 3.0 or later, Sun Forte 1.0 or later.
Java applications can be tested in both black-box and white-box modes. When you start using TestComplete to automate your Java applications testing, you can access the application’s controls as well as internal objects, properties and methods without any changes in the application.
The way you access and work with objects of your Java application depends on whether or not these objects are visual.
SwingObject, AWTObject, SWTObject and WFCObject methods. The method to use is determined by the library that is compiled within the Java application. All of these methods allow you to address the objects by their name, or by the object’s class name, caption or index.
TestComplete appends specific properties that provide scripting access to array elements for each scripting object that correspond to an array.
In addition, TestComplete provides full-scale support for major Java Swing controls, including JComboBox, JList, JTree and many others. It can recognize Java controls during recording and playback, and work with them via special program objects. These objects extend the “native” functionality of Java controls, which is also visible to TestComplete, with a number of supplementary properties and methods:

These extended methods and properties let you perform a vast amount of user actions over controls, for example, select table cells, click list items, expand and collapse tree items, and a lot more.
With the help of TestComplete’s industry first language independent scripting technology, you can construct (or record) test scripts using the language of your choice. For those building Java applications, this means you will not be forced into using or learning a proprietary scripting language - your scripts can be written using a Java-like scripting language known as JScript.
For more information on TestComplete and other Quality Assurance products from AutomatedQA, write to us at
sales@automatedqa.com.


