Font Size: a A A

The Research And Application Of Function Test Cases Generation Technology For Android Mobile Phone App

Posted on:2018-07-25Degree:MasterType:Thesis
Country:ChinaCandidate:M ZhangFull Text:PDF
GTID:2348330542465254Subject:Software engineering
Abstract/Summary:PDF Full Text Request
With the rapid development of mobile Internet,smart phones play a more and more important role in people's daily life.As an open operating system,Android has been widely used in smart phone.At this stage,many companies are developing their own mobile phone Apps on the Android platform,and in the face of increasingly fierce market competition,the perfection and stability of the App function have become an important guarantee for its success in the market competition.Therefore,the test for Android phone App function is very important.The current automated testing tools based on Android mobile App generally exist many problems,such as incomplete testing,poor reusability of test cases and requiring a lot of manual operations.In order to solve these problems,we propose an automatic test case generation method based on controls traversal under the guidance of a standard path(CTGSP).The method firstly records a test path as a standard path by the tester,then automatically acquires the information of the controls in the interface which are tested.Finally,the test case generation method based on the depth-first search is used to traverse the controls to generate test cases.The main work of this paper is as follows:Firstly,based on the analysis of the characteristics and shortcomings of the existing testing methods,the CTGSP method is introduced,the core idea of the standard path and depth first search traversal control are introduced,and the key technologies of the method are analyzed,including test script recording and test case generation.Then,the design of the functional test case generation framework is given,including the overall design,structural design and functional design.Furthermore,based on the framework,the design and implementation of the system prototype tool Test-Driven,which is based on the CTGSP method,is introduced in detail from the main interface,workflow,main functions and communication process.Finally,the CTGSP method is applied and analyzed based on Test-Driven tools.The test results show that the Test-Driven tool improves the coverage of the functional test and the reusability of the test case in the test and reduces the artificial intervention in the test process,thereby improves the test efficiency.
Keywords/Search Tags:Automatic Test, Functional Test, Control Traversal, Test Case, Standard Path
PDF Full Text Request
Related items