Design and Implementation of Automated Testing Platform Based on Python Modules and XML
In response to the problems of large volume,high price,and high learning cost of commercial software in the development and application of automatic testing of instruments and equipment,the open source language Python and XML configuration method are used to design a unified application platform for common user interface design,test case development,sequence management,test execution,data storage methods,and other content in automatic testing.Based on the interface design function,multithreading technology,signal and slot mechanism of PySide6 module,loose coupling of various modules in the application platform and cross object transmission of messages have been achieved.Configure thresholds,test cases,instruments,and tested part information through a visual interface to form a sequence file that describes information and stores data in XML language.The S parameter automatic testing application of a certain waveguide microstrip line was used to verify the platform software.The results showed that the platform software greatly reduced the difficulty of users writing and migrating test cases,shortened the development cycle,and met the needs of rapid development and application of automatic testing for small projects.