Font Size: a A A

Design And Implementation Of Automated GUI Testing Framework Based On Android

Posted on:2014-07-16Degree:MasterType:Thesis
Country:ChinaCandidate:L ChenFull Text:PDF
GTID:2268330422964709Subject:Control Engineering
Abstract/Summary:PDF Full Text Request
With the rapid development of technology, embedded systems have penetrated intovarious fields, such as intelligent controls, communications, electronics, instrumentation,transportation and consumer electronics. As a representative of embedded systems in thefield of consumer electronics, smart phones based on Android are gradually becomingmultifunctional, and Android applications complex. Hence, the software testing on smartphones is becoming increasingly important. Traditional manual testing contains a largenumber of repetitive operations, automated testing will help reduce the burden andimprove test efficiency.The thesis conduct an in-depth study of automated testing based on Android system,and the key technologies of automated testing to propose a data-driven andkeyword-driven hybrid automated testing framework for Android. The hybrid frameworkis based on an open source testing framework called Robotium. Applying the data-driventesting technology, the framework achieves the separation of test data and the test scripts.Drawn from keyword-driven testing technology, combing with the Android GUI testing,the system design a keyword table that suitable to project to implement a supplement andimprovement for Robotium, and finally improve the reusability and maintainability of thetest cases. Combined with the actual project, the article accomplishes the overall design ofthe system, and carries out a detail design for the major functional modules, includingconfiguration file, Test Suite file, test data management module, function library moduleand finally log and test reports. Finally, the paper applys the proposed hybrid automatedtesting framework for Android to the actual project and describes the process of theimplementation of the framework in detail.The system regulates the flow of the entire testing through the management of testdata file and keyword library. As a supplement of traditional manual testing, the systemgreatly improves the efficiency of the test. Moreover, the framework is easy to expandwith a certain degree of versatility, and it provides a reference for automated testingdevelopment based on Android.
Keywords/Search Tags:Embedded Systems, Android Platform, Automated GUI testing frameworkfor Android, GUI testing
PDF Full Text Request
Related items