Font Size: a A A

Design And Implementation Of GUI Automatic Test System For Mobile Terminal

Posted on:2022-08-27Degree:MasterType:Thesis
Country:ChinaCandidate:G X JiangFull Text:PDF
GTID:2518306608959289Subject:Master of Engineering
Abstract/Summary:
With the continuous development of intelligent terminals and applications,intelligent terminals are also in continuous development.For mobile terminal applications,interface interaction is one of the core parts.With the application function becoming more and more rich,the interaction logic is also becoming more complex,and the requirements for the development quality and testing of interaction are also constantly improving.In GUI interaction testing,the difficulty is that the interaction process is based on user gesture event driven,so in the whole interaction process,events and states have a great impact on the application state of the whole system.At the same time,developers and testers can not fully predict the user’s operation process on the application,which also poses a higher challenge to the test process.Using the traditional software testing method,testers need to list all the possible operation paths of users,and manually operate the test on the interface.The test cost is large and the cycle is long,which can not meet the current demand for rapid iteration of mobile terminal application functions.Therefore,it is necessary to carry out special research on the test of mobile terminal application interaction process,in order to reduce the test cost,improve the reliability and stability of the application,support the rapid iteration of mobile application,and ensure the application quality.In the research,the mobile terminal application software testing technology is analyzed and studied,and the relevant research content and progress at home and abroad are collected and sorted out.It is found that the mobile terminal application software testing mainly relies on manual testing,which has the problems of low degree of automation,high cost of manual testing and long testing cycle.Aiming at the pain points existing in the current mobile terminal testing,an automated testing framework is designed and implemented.The framework models the event process and application state based on the event interaction flow diagram,and calculates the test case output and test coverage according to the event flow diagram,so as to maximize the state coverage of test cases and the path coverage between states.The whole system realizes the analysis and disassembly of the user path in the application,automatically generates test cases,executes test cases,and generates test results.At the same time,the automated testing framework supports the precipitation of test cases in the system to facilitate the subsequent regression testing of the application.The system realizes the automatic analysis and test of mobile intelligent terminal software,which greatly reduces the labor cost in the test process.The application and test of the test framework show that using this scheme for testing can greatly reduce the cost of manual testing,reduce the dependence on manual testing,and improve the coverage and accuracy of testing,which has a significant role in promoting the quality assurance of application side.
Keywords/Search Tags:mobile application, GUI test, event interaction flow chart, automatic test
Related items