Design and Implementation of Automated GUI Testing Framework Based on Android
- Author
- ChenLi
- Advisor
- HeDingXin
- School
- Huazhong University of Science and Technology
- Major
- Control Engineering
- Classification
- TP311.53 Software Maintenance
- Degree
- Master's thesis
- Year
- 2013
- Downloads
- 20
- Citations
- 0
Abstract
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.
Table of contents
Abstract 4-5
Abstract 5-8
1 Introduction 8-12
1.1 Background and Significance 8-9
1.2 domestic and international research profile 9-10
1.3 main job organizational structure 10
1.4 papers 10-12
2 ANDROID automation test outlined 12-19
2.1 software testing 12-13
2.2 phone software testing 13-14
2.3 automated test 14-15
2.4 Android system Introduction 15-17
2.5 Android automated test 17-18
2.6 chapter Summary 18-19 <br / > 3 ANDROID automated test key technologies 19-30
3.1 automated test framework 19-26
3.2 Android digital signature technology 26-27
3.3 Hierarchy Viewer visual debugging tool 27-29
3.4 Summary 29-30
4 ANDROID automated testing framework designed 30-43
4.1 testing Framework Selection 30-32
4.2 overall system design 32-33
4.3 features modular design 33-41
4.4 Summary 41-43
5 ANDROID automated testing framework implementation and application 43-65
5.1 project background 43-46
5.2 test case design 46-47
5.3 Android application test automation framework 47-55
achieve 5.4 test script 55-59
5.5 test case execution 59-60
5.6 test results and test reports 60-64
5.7 chapter Summary 64-65
6 summary and Outlook 65-67
6.1 full Summary 65-66
6.2 topics prospect 66-67
Thanks 67-68
references 68 -70
Related dissertations
- The Design of Small Coal Mine Remote Monitoring System Based on ARM
- Research and Development of Froth Flotation Video Surveillance Hardware Platform Based on DSP
- The Research and Design of Embedded Graphic Remote Monitor Terminal
- Research and Realization of Dynamic Simulation Circulating Water Device Control and Data Processing System Based on ARM
- The Design and Implementation of Integrated Data Acquisiton Instrument Hardware Platform for Gas Station
- The Research for the Engraving Machine Control System Based on ARM and FPGA
- Design and Implementation of Control System for Stabilized Platform Based on Embedded System
- Study on the Control System of Lower Limbs Rehabilitative and Fitness Robot
- The Research of Embedded Web Sensor Node
- The Research of Embedded Image Processing Technology Based on ARM
- Research and Implementation of the Mobile Augmented Reality Based on Android System
- The Research and Realization of Target Tracking Algorithms on Embedded Platform
- The Core Algorithm Research and System Implementation of Embedded Image Information Processing System
- Development of embedded network fingerprint attendance system
- A Drowning Features Recognition System Based on AIS
- Design and Implementation of Flight Game Based on Android Platform
- Research and Implementation of the Mobile Game Based on Android Platform and Intelligent Technology
- Design and implementation of Android music player
- Implementation of3D Graphics Modeling and Displaying Based on OpenGL on the Android Platform
- Design and Implementation of Regional Service Trading System Based on O2O