Font Size: a A A

Implementation Of An Automated Testing Tool Based On Java

Posted on:2014-01-21Degree:MasterType:Thesis
Country:ChinaCandidate:C WangFull Text:PDF
GTID:2248330395980748Subject:Computer software and theory
Abstract/Summary:PDF Full Text Request
Currently, most software adopt the Graphic User Interface (GUI) to meet the end users’ needs. With the development and standardization of the software engineering, the demands for software quality are growing. Software testing is an important way to ensure the quality of software. With the expanding of software scale and GUI complexity and occasionality, manual testing obviously cannot satisfy users’ present requirements. Therefore, the study of GUI testing has already become a trend of software testing.Java application is becoming more and more widespread in client terminal system for its strength of cross-platform. But the development of Java GUI test automation tool is very slow. Nowadays, most of commercial GUI automated tools use Capture/Replay technology based on windows object. For synchronization of development and testing, these tools can’t support testing and development carried out at the same time, and this problem reduces testing efficiency. For playback control and verification, existing tools add variety of time synchronization points and manual verification points in the scripts. It leads to instability while replaying the tool and also reduces maintainability of the scripts.In this paper, we proposed a programmatic description language method to test Java Application under Testing (JAUT) as an alternative of automation testing. Testers can use script engine to simulate and generate the GUI events (GUI-Events). If such a script is generated, it could be reserved through various versions of the test without changing the script. So a lot of time and labor costs can be saved. The tool supports two ways to do the automation testing. On the one hand, the tester could easily write the test script according to script test specification before JAUT is completely developed. On the other hand, tester could use this tool to do CR operations on JAUT for regression testing. This tool automatically does the synchronization and verification for the tester based on script engine during playback. It makes the whole process more robust and effective.
Keywords/Search Tags:GUI testing, regression testing, Capture/Replay, script engine, programmaticdescription language, automation testing
PDF Full Text Request
Related items