Sciweavers

ACMSE
2004
ACM

Specification-driven automated testing of GUI-based Java programs

13 years 10 months ago
Specification-driven automated testing of GUI-based Java programs
This paper presents a specification-driven approach to test automation for GUI-based JAVA programs as an alternative to the use of capture/replay. The NetBeans Jemmy library provides the basic technology. We introduce a GUI-event test specification language from which an automated test engine is generated. The test engine uses the library and incorporates the generation of GUI events, the capture of event responses, and an oracle to verify successful completion of events. The engine, once generated, can be used to test multiple versions of the application. The approach defined in this paper provides a language front-end to the Jemmy library to eliminate the programming usually needed to use this Java API. Results from applying the specification-driven approach to automate the grading of student programs indicate the feasibility of this approach. The specification-driven approach is equally useful for testing during development and regression testing. The primary benefit is that tester...
Yanhong Sun, Edward L. Jones
Added 30 Jun 2010
Updated 30 Jun 2010
Type Conference
Year 2004
Where ACMSE
Authors Yanhong Sun, Edward L. Jones
Comments (0)