Font Size: a A A

Design And Implementation Of Automatic Test Platform For Logistics Mobile Software Functions

Posted on:2023-03-13Degree:MasterType:Thesis
Country:ChinaCandidate:S D FuFull Text:PDF
GTID:2568306914971249Subject:Logistics Engineering
Abstract/Summary:PDF Full Text Request
In the context of the current development of mobile Internet and logistics informatization,mobile software is playing an increasingly important role in the logistics industry.Software testing is an important part to ensure the quality of logistics mobile software in the version iteration,and plays a key role in the software life cycle.Taking the problems of insufficient test resource management and poor script reuse as the breakthrough point in the functional testing process of logistics mobile software,this paper designs and implements an automated test platform that integrates test resource management,control method management,script data separation and test task scheduling and execution.It has achieved good process management and script reuse,which is convenient for efficient automated testing of logistics mobile software functions.This paper firstly investigates the current status of logistics mobile software testing,summarizes the characteristics of mobile application software testing tools currently on the market,and analyzes the requirements for mobile software functional testing from the perspectives of reducing test duplication and lowering the threshold of scripting technology.Software engineering ideas carry out platform architecture design and function realization.This paper uses Appium as the underlying driver to complete the design and implementation of the automated testing platform for logistics mobile application software functions.This paper disassembles and encapsulates the control types and control methods under the development framework,and proposes a way to write UI scripts to reduce the technical threshold of scripting.With the help of YAML,business script templates and use case data are separated to achieve good script reuse;reasonable design and maintenance test resource management to facilitate regression testing;use ant colony algorithm to complete the load balancing scheduling of test tasks to achieve good test task distribution.In this paper,the frontend architecture of Vue3 and the back-end architecture of Flask are used to implement an automated test platform.Aiming at the problem of difficult reuse of state logic in front-end development,the Hooks idea is used to encapsulate components and expose the logic state of method calls.For the problem of duplication of nested tags in front-end components,A solution to configure the rendering component is proposed,and the research in this paper enhances the maintainability and robustness of the code.Finally,the mobile application test platform developed in this paper is used to test a logistics mailing address coding application software.Compared with manual testing,the platform saves about 63.1%of the time cost;compared with the existing mobile application functional testing tools,the platform has the advantages of low threshold for script writing,good script reuse,and convenient regression testing.achieved the expected goal.The research in this paper reduces the technical difficulty of writing functional test scripts of logistics mobile application software,realizes good script reuse,and has great engineering application value.
Keywords/Search Tags:logistics mobile software functional testing, script data separation, hooks ideas, appium, ant colony algorithm
PDF Full Text Request
Related items