Font Size: a A A

Research And Development Of Automated Functional Testing Tool Of Android Applications

Posted on:2013-06-29Degree:MasterType:Thesis
Country:ChinaCandidate:Z LiangFull Text:PDF
GTID:2248330395975312Subject:Software engineering
Abstract/Summary:PDF Full Text Request
Software test play an importment role in ensuring the quality and reliability of software.And automated test, which can take the place of manual one in some cases, means thatsoftwares can be tested automatically with the use of special software which has beendeveloped before. A testing tool with high performance can complete the task of test in a shorttime, so it can reduce cost and save time.Smart phone is integrated into our lives now. Different from the past, cellphone is notonly a tool of communication, but also a device on which we can enjoy movies, play gamesand surf the internet.Due to the installation of the powerful operating system, third-partyapplications can be installed to expand the function of mobile phone. And a great deal ofregression test is required in the development of these applications.The purpose of regressiontest is to ensure that there is no new defect in software after modification. According tostatistics, the cost of regression test accounted1/3of the total cost of software development.Therefore, an automated testing tool is strongly required in third-party apps’ development toreduce the total cost. At present, the research of this issue is still at the starting stage.According to the characteristics of Android applications, this paper discuss an implementstructure,which is called Console-Agent, of automated testing tool.And the Console isresponsible for communicating with user, while Agent for the execution of commands comefrom Console. Then, the structure of widget-tree of Android applications is analyzed. Afterthat, three approaches is shown to solve the problem of listening.They are regarding the objectof automator as listener, using proxy and using the notification of AOP. At last, this paperdisplay a solution of the problem that thread is unsafe when updating UI.In conclusion, many researches are done, such as how to design the module of automatedtesting tool, how to implement record and playback on Android applications. The keydifficulties and the reflected solutions are shown. At last, some running samples are depictedto demonstract the correctness of this testing tool.
Keywords/Search Tags:Android Applications’ Test, Automated Test, GUI Test, Record-Playback, Functional Test
PDF Full Text Request
Related items