Automated Testing of Java Applications

AutomatedQA’s TestComplete, winner of the 18th annual Jolt award for Best Testing Tool, offers automated unit, functional and regression testing support for Java applications and applets. Designed for use by testers as well as developers, TestComplete supports a full range of internal and UI testing, visual as well as scripted test creation and includes all kinds of features needed to perform thorough automated testing.

Superior and Flexible Automated Java Testing

TestComplete provides comprehensive automated testing support for Java applications and boasts several industry firsts, especially a uniquely flexible, user-oriented approach. With TestComplete, automated tests can be recorded or constructed as script-free visual keyword tests, scripts in any of five supported languages, or a mixture of both — whatever best suites the tester’s needs. For those testing Java applications, this means you will not be forced into using or learning a proprietary scripting language — your tests can be written using a Java-like scripting language, JScript, or without scripting at all!

Support for Multiple Java Virtual Machines and Development Tools

TestComplete can test Java AWT/Swing/SWT/WFC applications and applets created with any development tool that supports one of the following Java virtual machines:

Sun JRE v. 1.1.8—6
MSJVM build 3309 or later
BEA JRockit 5.0

For example, these are NetBeans, Eclipse, Microsoft Visual J++ 1.1 or later, Borland JBuilder 3.0 or later, Sun Forte for Java 1.0 or later and others. 64-bit JRE 6 applications are also supported.

Smart Object Recognition and Recording

TestComplete recognizes all onscreen Java objects and provides extended automation support for major Swing controls, including complex ones such as tables, trees and menus. It captures object-aware rather than coordinate-based actions — item selection, button click, cell value change etc — and thus produces robust automated tests that are tolerant to the application’s UI changes. When needed, you can also take advantage of low-level analog recording and playback to simulate exact mouse motions, clicks and key presses at a specific speed.

The tested Java objects are addressed in automated tests by the same names used in the application code, which facilitates collaboration between QA and development teams and makes it easy for the application’s developers to get involved in test automation.

Access to Internal Methods and Properties of Application Objects

TestComplete enables testers to go beyond capture-playback. It can dig deep inside Java applications and gives automated tests access not only to all onscreen Java objects, but also to all of their internal properties, fields and methods — all of this without any changes to the Java application under test. This way, TestComplete’s automated tests can read and write data directly to Java application objects and call native-code methods, so that even protected and private elements of the tested Java application can be easily verified.

Automated Unit Testing

In addition to automated functional (GUI) and regression testing, TestComplete can perform unit testing of Java applications, so that test automation can be introduced in the early stages of application development. Being the most user-oriented automated testing tool, TestComplete offers different unit testing implementations and allows developers and testers to use the one that best suits their needs. First, TestComplete supports the JUnit framework and allows managing and running JUnit unit tests as part of TestComplete’s automated test projects. It also provides its own unit testing framework and a visual interface to manage test classes and methods and run the selected unit tests. Finally, since TestComplete has full access to the tested application’s internal elements, unit tests can be written with TestComplete scripts.

 
© 2010 AutomatedQA Corp. All rights reserved.
Home | Privacy | Terms of Use | About | Contact Us | Site Map | Print