基于python的界面自动化测试-基于Python语言的自动化测试系统的设计与实现

本文提出了一种基于Python的自动化测试系统,利用Python的高效、灵活和简洁特点,结合Pyvisa、Pyivi和Web.py等扩展模块,构建满足用户测试需求的高效测试系统。通过NumPy、Matplotlib和PyQt4,系统能准确处理测试数据和显示图形界面。该系统具有高效性、通用性和扩展性,适用于开发虚拟仪器和测试系统。
摘要由CSDN通过智能技术生成

黄建军+李宥谋+刘婧+周欢

moet201704moet20170411-1-l.jpg

moet201704moet20170411-2-l.jpg

moet201704moet20170411-3-l.jpg

摘 要: 通过分析现代工业生产对自动化测试系统的要求,提出一种基于面向对象的编程语言Python构建的自动化测试系统。利用Python语言的高效、灵活和简洁等特点,结合Pyvisa,Pyivi和Web.py等扩展模块提供的强大功能,以及 IVI 和 VISA技术的后台支持,可以快速组建满足用户测试需求且高效的测试系统;其次利用NumPy,Matplotlib和PyQt4扩展模块能够准确地完成对测试数据的各种运算处理以及相关的图形界面显示等操作。结果表明,该系统具有高效性、通用性和扩展性,使用Python开发虚拟仪器与测试系统,代码简洁、层次清晰、周期性短,具有广泛的应用前景。

关键词: 测试系统; Python; Pyvisa; Pyivi; 可互换性

中图分类号: TN911?34; TP393 文献标识码: A 文章编号: 1004?373X(2017)04?0039?05

Design and implementation of automatic testing system based on Python

HUANG Jianjun, LI Youmou, LIU Jing, ZHOU Huan

(School of Computer Science and Technology, Xian University of Posts and Telecommunications, Xian 710061, China)

Abstract: A kind of automatic testing system based on the object?oriented programming language Python is proposed by analyzing the requirement of the auto testing system for modern industrial production. With the background support of VISA and IVI technology, the efficient testing system satisfying the testing demands of users can be built quickly in combination with the efficient, flexible and concise characteristics of Python language, and the powerful functions of Pyvisa, Pyivi and Web.py extensional modules. Besides, the system can complete each operational processing of testing data and relevant GUI display accurately by means of NumPy, Matplotlib and PyQt4 modules. The result indicates that the system has high efficiency, universality and expansibility. The application of Python for developing the virtual instrument and testing system has the characteristics of concise code, clear hierarchy and short cycle. It has a broad application prospect.

Keywords: testing system; Python; Pyvisa; Pyivi; interchangeability

目前ÿ

  • 1
    点赞
  • 21
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值