| With the rapid development of mobile Internet, the demand for mobile applications is becoming more and more diversified. The functions of enterprise mobile applications are increasingly complex.Software update speed continues to improve. Software development companies have chosen to use automated testing methods instead of the traditional manual testing process to improve the efficiency of software developments in order to respond to the rapid changes in market demand.At the same time, the current mainstream mobile applications support different mobile platforms (iOS/Android). But the traditional automated testing tools do not support cross-platform automated testing of mobile applications. So a framework for automated testing of cross platform mobile applications is proposed.The Java programming language, JSON data format and keyword automated testing technology are used to define test cases. The Appium automation tools are encapsulated and expanded. Finally a cross platform UI automated testing framework of enterprise mobile applications is designed and implemented.Firstly the automatic test technology, test driven development concept and the advantages of Appium tool are introduced. Then the main functions and performance requirements of the framework according to the requirements of cross platform enterprise mobile application UI automation testing framework are determined. Based on demand analysis, the framework structure of cross platform automated testing framework for enterprise mobile applications is designed. And this framework is divided into test case management module, test script module, test script and test report generation module according to the function of the system. The keyword scripting technology is used to design the data storage format and store test case information. This the test operation is divided to the specific steps and the transformation of the test case to the test script is realized by using Appium. After the implementation of the framework, the test cases to test the function of the framework according to the functional requirements are designed.The usability of this framework is verified. Finally, this thesis summarizes the main research contents of the cross platform UI automated testing framework of enterprise mobile applications, and puts forward the existing problems and future expectations. |