期刊文献+

基于Python语言的GUI自动化测试脚本技术研究 被引量:15

Technology about GUI Test Script Based on Python
下载PDF
导出
摘要 为解决嵌入式软件GUI测试自动化控制问题,提出Python测试脚本扩展嵌入的方法,采用开源库Boost.Python将Python解析器嵌入GUI自动化测试平台软件中,并为GUI软件测试行为扩展了测试函数,建立了用例要素与脚本要素的对应关系,针对不同类型的扩展测试函数提出了基于关键字索引和图像建模的脚本函数自动生成方法,并且从脚步的解析与调度两方面分析了Python测试脚本的驱动执行原理,使嵌入式软件GUI自动化测试平台支持Python脚本的创建并通过脚本的执行实现GUI软件自动化测试,并且提高了测试控制的易用性和灵活性。 For the problem of embedded software GUI automatic test control, 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 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 keyword index 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 and the test control is easy and flexible.
出处 《计算机测量与控制》 2015年第10期3330-3332,3337,共4页 Computer Measurement &Control
关键词 测试脚本 图像用户界面 自动化测试 脚本生成 PYTHON语言 test scripts GUI automatic test script generation Python
  • 相关文献

参考文献4

二级参考文献14

  • 1钟德明,刘斌,阮镰.嵌入式软件仿真测试环境软件体系结构研究[J].北京航空航天大学学报,2005,31(10):1130-1134. 被引量:14
  • 2[美]FewsterM GrahamD 舒智勇 包晓露 焦跃等译.件测试自动化技术与实例详解[M].北京:电子工业出版社,2000..
  • 3PressmanRS.Software Engineering--A Practitioner′s Approach[Fifth Edition].北京:清华大学出版社,McGraw·Hill Companies,Inc.,2001..
  • 4Lutz M.Programming Python[M].3rd ed.New York,USA:O'Reilly Press,2006.
  • 5Droste D B,Allman B.Anatomy of the Next Generation of ATE[M].Autotestcon,USA:IEEE Press,2005:560-569.
  • 6Raskin S.How to Port Python to VxWorks[EB/OL].(1999-03-12).http://mail.python.org/pipermail/python-list/1999-May/003929.html.
  • 7Kaner C, Falk J, Nguyen H Q. Testing Computer Software [Second Edition]. Wiley Computer Publishing, 1999.
  • 8Memon A. GUI Testing: Pitfalls and process [ J ]. SoftwareTechnologies, 2002.
  • 9Myers Cj J , Badger T. Sandier C,The art of software testing, sec-ond edition [M]. John Wily and Sons, 2004.
  • 10谭苗.GUI可用性评价与自动化测试框架研究[D].重庆:電庆大学,2006.

共引文献49

同被引文献116

引证文献15

二级引证文献32

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

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