基于Python语言的GUI自动化测试脚本技术研究
DOI:
CSTR:
作者:
作者单位:

中国船舶工业综合技术经济研究院,中国船舶工业综合技术经济研究院,中国船舶工业综合技术经济研究院,中国船舶工业综合技术经济研究院,中国船舶工业综合技术经济研究院

作者简介:

通讯作者:

中图分类号:

TP311

基金项目:


The Technology about GUI Test Script Based on Python
Author:
Affiliation:

1. China Institute of Marine Technology Economy,Beijing,100081,1. China Institute of Marine Technology Economy,Beijing,100081,1. China Institute of Marine Technology Economy,Beijing,100081,1. China Institute of Marine Technology Economy,Beijing,100081,1. China Institute of Marine Technology Economy,Beijing,100081

Fund Project:

  • 摘要
  • |
  • 图/表
  • |
  • 访问统计
  • |
  • 参考文献
  • |
  • 相似文献
  • |
  • 引证文献
  • |
  • 资源附件
  • |
  • 文章评论
    摘要:

    针对嵌入式软件GUI自动化测试平台的开发设计,本文研究了Python测试脚本扩展嵌入技术,针对GUI软件测试行为扩展了测试函数,采用开源库Boost.Python将Python解析器嵌入GUI自动化测试平台软件中;在此基础上,描述了用例要素与脚本要素的对应关系,并且针对不同类型的扩展测试函数提出了基于关键字索引和图像建模的脚本函数自动生成技术方案;描述了Python测试脚本的调度执行原理,通过Python测试脚本执行实现GUI软件自动化测试。

    Abstract:

    For the design of the Automatic GUI Testing System of Embedded software, this paper studied the extension and embedding technology of Python’s test scripts , extended the test function for GUI testing behavior and embedded the Python interpreter on GUI test automation systems using of the open source libraries “Boost.Python”. Besides, we described the correspondence between the extended test function and the test behavior and for different types of extension test function, we proposed automatic generation solution by Keywordindex and image modeling. Finally, we explained how to schedule and execute Python scripts. Based on the above the GUI test platform can execute GUI test automatically.

    参考文献
    相似文献
    引证文献
引用本文

吴立金,简阳,张凯,唐龙利,韩新宇.基于Python语言的GUI自动化测试脚本技术研究计算机测量与控制[J].,2015,23(10):22.

复制
分享
文章指标
  • 点击次数:
  • 下载次数:
  • HTML阅读次数:
  • 引用次数:
历史
  • 收稿日期:2015-04-11
  • 最后修改日期:2015-05-16
  • 录用日期:2015-05-18
  • 在线发布日期: 2015-10-28
  • 出版日期:
文章二维码