Font Size: a A A

Research And Application Of Software Automatic Test System For Mobile Terminal

Posted on:2018-07-19Degree:MasterType:Thesis
Country:ChinaCandidate:F MingFull Text:PDF
GTID:2428330596452982Subject:Information and Communication Engineering
Abstract/Summary:PDF Full Text Request
In recent years,the rapid development of the Internet and mobile terminals,is driving the development of the mobile terminal software development industry.The current mainstream mobile operating system include Android and iOS.At present,In order to speed up the development of software,there are many hidden defects when software is released.Therefore,it is very necessary to ensure the quality of the measured application by enhancing the software testing efforts.The traditional manual repetitive operation is not only inefficient,but also non-standard in the test process,so that there are many unpredictable defects in the software,resulting in a bad user experience.Because of the process specification,widely coverage and high test efficiency,automated testing is suitable for the rapid development of mobile terminals rhythm.So it is extremely necessary to implement automated testing in the project.After studying the current mobile terminal automation testing framework which supports only a single platform and single scripting language,and has low script reuse rate,this paper designs a software-based cross-platform automated test system(ATS)for mobile terminal,mainly to solve the cross platform test automation and custom testing process the problem.The main research work of this paper is as follows:(1)The study of Cross-platform Automated Testing System.Most of the current automated test frameworks only support a single platform,and the test cases need to be rewritten when faced with the same software for multiple platforms.In view of this problem,this paper presents a model of control mapping,unified the UI difference between Android and iOS,and establish multi-platform page control mapping relationship.And the paper abstracted the operation characteristics of the mobile side,based on Selenium WebDriver expansion,the establishment of a common mobile terminal test interface.Using the proposed control mapping model,ATS can make the same set of test scripts to support the same software in multi-platform,greatly improving the test script utilization.(2)Research on the structure of test case based on keyword driver.Aiming at the shortcomings of the traditional test case model cannot be abstractly programmed,this paper studies the keyword-driven test case structure model for mobile terminal,abstracts the specific operation logic into keywords,and uses the keyword processing function to realize the test case from the test case to the test script dynamically generated.This test case structure model separates test scripts,test data from business logic,reduces the coupling of data and code,and enables more flexibility in writing and maintaining test cases without worrying about the specific implementation of the test script.(3)Research of custom test flow case library.At present,there is a lack of test flow control in the field of mobile terminal automation testing.In the face of complex workflow software,the data structure and operation logic of the test script cannot adapt to the new process due to the uncertainty of the test process.In order to solve this problem,a test-driven model based on BPMN2.0 process specification is proposed.The testers abstract the concrete operation flow into a BPMN-based flow chart,and dynamically generate a set of test cases based on the keyword driver through the visual configuration test flow,which greatly improves the test efficiency.(4)The implementation and application of ATS.Based on the above-mentioned cross-platform test driver and custom test flow of the use case library,this paper designed and implemented the Cross-platform Automated Testing System,and the system cross-platform test drive,custom test flow test case library and other modules in detail.Finally,the feasibility of the system is verified experimentally.
Keywords/Search Tags:mobile terminal, cross-platform, selenium, keyword-driven, BPMN, test flow
PDF Full Text Request
Related items