Font Size: a A A

Improvement And Implementation Of Android Robotium Automated Testing Framework System

Posted on:2018-10-23Degree:MasterType:Thesis
Country:ChinaCandidate:S H LiuFull Text:PDF
GTID:2428330545961203Subject:Software engineering
Abstract/Summary:PDF Full Text Request
With the development of Internet,The function module of mobile application is numerous and complex,the iteration of mobile applicaton is very quikily,when you release a new function or version of application,you need to manual testing to check the old function module,to avoid the new function modules influenced the old modules.sometime we cannot assess the risk.What is more,manual testing in regression wasted a lot of time,so there are many mobile automated testing frameworks that replace some manual testing to reduce labor costs and improve efficiency.In mobile terminal automation testing,To use a good testing script can quickly check all the major old functions of software.it is very quikily and it is very convenience in regression testing in mobile application testting.This paper mainly focuses on over come the shortcomings of robotium testing frameworks.This research is aimed at develop a more stable,more efficiency automated testing framework basic on robotium.The main work of the paper includes:a)To solve the disadvantages of robotium can not to cross the application testing,because the native robotium can only test an app,it can not be tested from one app to anther app.But many mobile apps interact with other programs,this paper need to improve robotium to support such ability.b)To provide performance data collection and testing report contains it,robotium provides a complete set of operation of the UI API,but didnot provide the collect performance data apis(including battery,memory,CPU,fluency and other data collection).The performance data collection module needs to be supported after improvements.c)Providing stability testing module,robotium did not provide stability test functions such as monkey,and the stability of software is a very important measure of software quality.But robotium did not provide.robotium needs to be supported it after improvements.d)Improve solve bugs ability in test reports.In the primary framework report,there are only a few simple logs,it is difficult to find the resson of bug appears.After improvements,robotium need to provide a GIF image of the executed test case.e)Provide testing output reports.The native framework testing report is Xml format and is not easy to read.so it is necessary to make improvements to create testing report in HTML format.f)To record crash test script and run again rule,when the program have crashed,the primary test program will not record,and the test program is very unstable,so you need to implement crash script running agagin mechanism and logging.And need to add automatic resigning scripts.According to the test results in this paper last chapter,the improved robotium framework is more efficiency and convenience than before,and it's testing script are more stable and testing report are more visualized.The purpose and effect of the improvement are desired.
Keywords/Search Tags:android, robotium, automated testing
PDF Full Text Request
Related items