首页 | 本学科首页   官方微博 | 高级检索  
     

基于事件流图的用户界面测试优化
引用本文:路斯瑶,胡飞. 基于事件流图的用户界面测试优化[J]. 测控技术, 2010, 29(5): 72-76
作者姓名:路斯瑶  胡飞
作者单位:上海交通大学,软件学院,上海,200240;上海交通大学,软件学院,上海,200240
摘    要:针对目前用户图形界面(GUI)自动化测试对于代码和开发语言的依赖,以及捕捉/回放工具中存在的手工依赖和对测试用例测试覆盖率缺乏系统管理的问题,基于事件流图理论,提出了不依赖于代码静态分析的GUI自动化测试方法。在没有程序代码的前提下,利用WinRunner工具通过鼠标动作获得GUI组件,利用自行开发的工具自动分析GUI窗口层次,定义事件属性和测试用例生成规则,自动生成了完备测试用例集,并通过实例验证了方法的有效性。

关 键 词:用户图形界面(GUI)  软件测试自动化  窗口事件关联  用例生成

Optimized Method on GUI Testing Based on Event-Flow Graph
LU Si-yao,HU Fei. Optimized Method on GUI Testing Based on Event-Flow Graph[J]. Measurement & Control Technology, 2010, 29(5): 72-76
Authors:LU Si-yao  HU Fei
Abstract:Nowadays automatic testing methods are widely used in GUI testing,which largely depends on programming language,source code analysis,and manual work when using the capture/play tool.Testing cases generation and coverage also lacks systematic management.A highly automated GUI testing system with no dependence on source code is proposed,which is based on the event-flow graphs.In the absence of source code,this method gets GUI components by capturing the mouse movement,which using test tool WinRunner.Then GUI structure with selfdeveloped tool is analyzed automatically,a complete test suite by defining events attributes and test cases generation rules are generated automatically.Finally,experiment is given to verify its efficiency.
Keywords:graphical user interface(GUI)  automatic software testing  window-event correlation  test cases generation
本文献已被 CNKI 万方数据 等数据库收录!
点击此处可从《测控技术》浏览原始摘要信息
点击此处可从《测控技术》下载全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号