期刊文献+

基于Python模块及XML的自动化测试平台设计与实现

Design and Implementation of Automated Testing Platform Based on Python Modules and XML
下载PDF
导出
摘要 针对仪器设备自动测试开发和应用中商用软件体量大、价格贵、学习成本高等问题,利用开源语言Python和XML配置方式,将自动化测试中共性的用户界面设计、测试用例开发、序列管理、测试执行、数据存储方式等内容设计为统一的应用平台。基于PySide6模块的界面设计功能、多线程技术、信号和槽机制,实现了应用平台中各模块的松耦合以及消息的跨对象传递。通过可视化界面配置门限、测试用例、仪表和被测件信息,形成用XML语言描述信息和存储数据的序列文件。使用某波导微带线的S参数自动测试应用验证本平台软件,结果表明,该平台软件大大降低了用户编写和迁移测试用例的难度,缩短了开发周期,满足小型项目自动测试快速开发和应用的需求。 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.
作者 罗广恒 LUO Guangheng(Chengdu Spaceon Technology Development Co.,Ltd.,Chengdu,Sichuan 610036,China)
出处 《自动化应用》 2024年第2期202-206,共5页 Automation Application
关键词 自动测试 软件平台 Python模块 automatic test software platform python modules
  • 相关文献

参考文献15

二级参考文献70

共引文献48

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部