Font Size: a A A

The Design And Implementation Of Automated Test Management Platform For Android Applications

Posted on:2017-08-11Degree:MasterType:Thesis
Country:ChinaCandidate:J S HeFull Text:PDF
GTID:2428330590968443Subject:Software engineering
Abstract/Summary:PDF Full Text Request
In recent years,the mobile Internet develops rapidly,the quality of mobile application is getting more and more attention of the software companys.Android is the mobile operating system which take the highest market share nowadays,include mobile phones and tablets.Along with the rapid development and popularization of the Android system,the technology and method about Android automated testing also make a great progress.In actual test automation work,when testers using the IDE like Ecilpse or adb command line tools to test the APPs,although they got the test methods,the test results produced by these tools did not well readable,especially the problem of Android fragmentation is getting worse,and it is difficult to find product defects with phone model factor.It is necessary to build a mechanism of quality statistical analysis,to preserve and manage the test results,otherwise it would be difficult to achieve the ultimate aim of test.This paper made an intensive study of J2EE-based automated test management system for Android applications.For the problems existed in current Android automated testing work,take Android automated test execution and test result analysis tasks to the server,using adb tools,build automation tool and quality statistical analysis techniques,design and implement the management platform for Android support automated testing.The main contents and work of this paper are as follows:1.Due to the fragmentation of the system,it is difficult to detect the difference of products in different models and system version,proposed the automated test management platform for Android applications,and presented system requirements analysis.First,the system's scene of operation was presented,that is,through the client to send request,the server call adb command to execute the Android automation testing,the adb logs are analyzed and the test results will be sent to the client.Respectively requirements analysis of system about function and performance were given.2.The outline design of the automated test management platform for Android applications.Firstly,the overall architecture of the system was presented,which is based on the B/S framework,contains presentation layer,control layer,data service layer and data access layer.The system depends on Android SDK and Gradle automated build tool,Android SDK provides all the adb commands the system needs,the connection of server and Android devices was implemented.Before running the test cases,the system calls the Gradle command to build the test program.Then the database of the system was designed.3.The detailed design and implementation of the automated test management platform for Android applications.According to the difference of work objects,the system was divided into four modules: test project management,test case management,performance test and test summary report.Each module‘s design and implementation process was descriptied by the functional overview,class diagram,sequence diagram and part of the source code.In the test case management and performance testing modules,the implementation of Android automation testing was referenced Quartz task scheduling technology to deal with the specific test work,and referenced the Comet4 j framework to receive detailed test reports.4.Application analysis and test analysis of the automated test management platform for Android applications.Firstly,the test environment of the system was described,then the parts of the system interfaces were presented.Finally,the performance of the system was tested,included the response speed and the startup time of the test,proved that the system has practical application value.
Keywords/Search Tags:Android, automated testing, quality analysis, J2EE
PDF Full Text Request
Related items