作者投稿和查稿 主编审稿 专家审稿 编委审稿 远程编辑

›› 2004, Vol. 30 ›› Issue (05): 12-14.

• 论文 • 上一篇    下一篇

基于CIS的消息驱动的GUI自动测试方法

李小将   

  1. 装备指挥技术学院试验工程系 北京 101416
  • 发布日期:2004-03-15

A CIS-based Message-driven Automatic Method for Testing GUI

LI Xiaojiang   

  1. (Department of Testing Engineering, Academy of Equipment Command & Technology , Beijing101416)
  • Published:2004-03-15

摘要: 在CIS概念的基础上,结合GUI系统的消息特性,提出了一套基于CIS的消息驱动的GUI自动测试方法。介绍了一套自定义的基于CIS的测试脚本描述语言。讨论了基于CIS测试脚本的消息驱动的GUI自动测试方法的原理、步骤。分析了GUI系统的CIS之间的关系并给出了一个CIS测试顺序分配算法。实验结果表明该方法对GUI系统的一致性测试、回归测试和资源消耗测试是非常有效的。

关键词: CIS, GUI, 软件测试

Abstract: A CIS-based message-driven automatic method for testing GUI is introduced. The paper defines a set of CIS-based script description language. It discusses the principle and steps of this method, analyzes the relation along CISs of a GUI system and gives a algorithm to order the CISs testing. Two instances tested by WinRunner and the method are given. It shows that this method is effective in GUI testing.

中图分类号: