Font Size: a A A

Design And Implementation Of Gui Automated Testing Tool Based On Control Recognition

Posted on:2016-07-07Degree:MasterType:Thesis
Country:ChinaCandidate:Q Q ZhangFull Text:PDF
GTID:2308330503476892Subject:Software engineering
Abstract/Summary:PDF Full Text Request
The technology for developing graphic user interface software has made enormous progress within the last twenty years. However, the whole time to produce software still cannot be shortened significantly. One of the root reasons is that software testing is a choke point. Taking domestic software enterprises as anexample, most are still using manual testing.The only way to shorten testing process is to increase the number of testing engineers, but this will result in idle testing human resources once the project is finished, which also increases the production costs. Thus, it is very important to find a low costs and efficient test methods.Automation testing is a solution that test experts contribute to improve efficiency. Now there are lots of prevalent automation testing tools to test graphic user interface software. They can improve efficiency partly, but they still have shortcomings, for example, it is difficult to maintain automated test scripts and the generation of test case is complex. When faced with a new interface elements or change in control, the entire test scripts have to reconstructed. Not only increased the workload of testers, but also decreased the quality of the software. Therefore, GUI testing is an urgent demand in GUI testing tool that can easily maintain the script and adapted to changeable UI as well as today’s agile development processes is in great demand.We did the following research in theoretical study session. Firstly, we clarified the basis theory about GUI automation, analyzed the characteristics of GUI and its automation test processes. Secondly, we elaborated on automation scripts of GUI test and controls positioning algorithm and described how Windows API and COM objects are used in control positioning processes. Finally, we provide theoretical and technical foundation of the design and implementation of automated testing tools.In this study, we proposes a new tool FIATT-QT(Hierarchical Automated Testing Tool for Quick Test) which is based on control recognition, hierarchical model and agile process in view of the deficiency of existing GUI automation tools. HATT-QT established an effective testing process model, provided a hierarchical management of test scripts and GUI control object, exception handling and recovery capabilities. Then elaborated the core classes of the project and implementation of the specific code in the following charters.Finally, we apply HATT-QT to the real test project after realization, After all test cases were performed, analyzed the framework usability and profitability basing on the test result.
Keywords/Search Tags:GUI test, Automation test, Control recognition
PDF Full Text Request
Related items