International Journal of Computer Applications |
Foundation of Computer Science (FCS), NY, USA |
Volume 64 - Number 15 |
Year of Publication: 2013 |
Authors: J. Prabhu, N. Malmurugan |
10.5120/10710-5674 |
J. Prabhu, N. Malmurugan . A Model for GUI Automated Testing Framework in Software System. International Journal of Computer Applications. 64, 15 ( February 2013), 16-20. DOI=10.5120/10710-5674
A pervasive method for GUI testing is the Capture and Playback (CP) technique. This commonly used technique cannot be used until an Application Under Test (AUT) is completely developed. In this paper we propose a specification driven approach to test GUI-Based java programs as an alternative to the CP technique. We introduce a GUI-event test specification language based on Java Script from which an automated test engine is generated. The esteem of Java as a scripting language is its ease of use and its standard format that have made writing a test script using our proposed specification language makes it an easy task. Beside the ability to test AUT before being completely developed we have implemented our approach that can generate the test specification file for an already existing AUT. The Tool generates GUI events, where Captures and Playback event responses to automatic verification of the results for the test cases which are written to a test log file. This approach supports M-version testing, where each version of the application is intended to satisfy the same specification.