| With the rapid development of mobile Internet,automated product testing system in the software industry has become an important means of automated testing for enterprise software;it can improve the quality and efficiency of testing.However,current automation software testing system frameworks do not fully meet the requirements.To address this issue,a cross-platform automation testing framework based on JSON test cases was designed and developed,combining existing Appium ideas,which comprehensively integrates four technologies of automation testing to simplify the process for testing personnel to use automation testing.After conducting requirements analysis,users are expected to perform user interface behavior result data verification and user interface application behavior result verification on the Android,iOS,and WebApp of the mobile application under the testing framework.Based on the requirements,the design and implementation of the testing framework were carried out.The system architecture was determined and test cases were stored in JSON format.Before test execution,Python scripts were dynamically generated according to the testing needs.Seven modules were designed and implemented,including the APP package management module,test case recording module,verification template management module,test case execution module,test case management module,test report service module,and screenshot management module.The automation execution of test cases was realized.Finally,the system was tested,and the deployment and operation of the system improved the efficiency of testing personnel in regression testing.This verified the stability and usability of the system. |