Last update: 2009-9-6
GTT: A GUI Testing Tool for Java applications
- Introduction to GTT
- GTT is an open source project supported by the National Science
Council, Taiwan, under contract number NSC-92-2218-E-027-017 and
NSC-93-2218-E-027-041.
- GTT is a tool for developing and executing test scripts for
Java swing-based applications. Test designers can develop
test scripts by capturing and replaying user interactions.
- In addition to Capture and Replay, GTT can be applied in a test-driven
development style.
This is not
possible with other CR-based tools.
- GTT applies Jemmy events as its
event model. Thus designing test scripts is easy and efficient. In
addition, GTT performs an abstraction of events during capturing. Thus,
GTT test scripts are robust and easy to maintain.
- GTT
offers both view-assertion and model-assertion mechanisms as check points to automatically
verify the correctness of the application under test.
- GTT supports GTML, a GUI testing modeling language. A test script
prepared in GTML is significantly easier to maintain and reuse than an
ordinary tree-structured test script.
- Sample Test Scripts
- A GTML script for Word Processor version 8 (.txt
format; .gtt format).
- Note: (1) this script serves as an example to
illustrate how GTML is used; (2) the ".txt" version is written in GTML
language form and can be viewed directly by a text editor; (3) the ".gtt"
version is functionally equivalent to ".txt" version; the only difference is
that it can be directly loaded and executed by GTT; (4) the GTML script
achieves 94% statement coverage.
- Publications
- Integration of Specification-based and CR-based Approaches for GUI
Testing, IEEE 19th International Conference on Advanced
Information Networking and Applications (AINA 2005), pp. 967-972, 2005.
- Integration of Specification-based and CR-based Approaches for GUI
Testing, Journal of Information Science and Engineering, vol. 24, no. 5, pp.
1293-1307, 2008. NSC 93-2218-E-027-041. (EI, SCI)
Download