Font Size: a A A

Design And Implementation Of Automated Test Platform Based On Android

Posted on:2018-10-16Degree:MasterType:Thesis
Country:ChinaCandidate:J ZhouFull Text:PDF
GTID:2348330512488010Subject:Engineering
Abstract/Summary:PDF Full Text Request
With the widespread use of smart phones,mobile applications are increasingly irreplaceable in people's daily lives.The openness of the Android system's eco-environment make Android become one of the most popular mobile platforms.Thousands of Android apps are put into the market every day,but because of the uneven levels of developers,there are many Android apps that come out of the market due to quality problems.So there need a mature automated test program to protect the robustness of Android applications.In order to compensate for the lack of mobile test solutions in the industry,this paper designs and implements an automated test platform based on Android,which automatically generates test case sets by using model-based test technology and provides a real-time acquisition and display for performance data and network data.The following thesis works on the automated testing of Android applications:(1)Design and implement of an Android-based automated test platform,the platform can automatically generated test set without source code,and can automatic collect performance data and network data.when the test case is running.(2)Research on Android application event mechanism,Achieve a program analysis technology to automatically build Android application model.These models are used to describe the GUI widget and the event-driven behavior of the application and are used to generate the event sequence.(3)Research on combinatorial testing technology,and realize a combination test technology based on dependency.This combination test technology uses the dependencies between UI elements to streamline the combination of test case sets.While reducing the test case while maintaining the code coverage of the test case set.(4)Aiming at the problem of input class of unbounded control,this paper realizes the method of automation based on static analysis and constraint solving to divide the input field of unbounded control into multiple equivalence classes.These equivalents serve as input classes for unbounded controls.In order to verify the feasibility and effectiveness of the system,this article download a number of Android applications from F-Droid,Compare this system with the mainstream automated test tools,The final experiment shows that the system still has a very high code coverage while streamlining the test case set.The acquisition of performance data and the monitoring of network behavior can also achieve the desired results.This shows that this method has a certain feasibility and effectiveness in improving the efficiency of automated testing of Android applications...
Keywords/Search Tags:Android application, automated testing, program analysis techniques, combinatorial testing, model validation
PDF Full Text Request
Related items