路斯瑶,胡飞.基于事件流图的用户界面测试优化[J].测控技术,2010,29(5):72-76 |
基于事件流图的用户界面测试优化 |
Optimized Method on GUI Testing Based on Event-Flow Graph |
|
DOI: |
中文关键词: 用户图形界面(GUI) 软件测试自动化 窗口事件关联 用例生成 |
英文关键词:graphical user interface(GUI) automatic software testing window-event correlation test cases generation |
基金项目: |
路斯瑶 胡飞 |
上海交通大学,软件学院,上海,200240? |
摘要点击次数: 1547 |
全文下载次数: 1344 |
中文摘要: |
针对目前用户图形界面(GUI)自动化测试对于代码和开发语言的依赖,以及捕捉/回放工具中存在的手工依赖和对测试用例测试覆盖率缺乏系统管理的问题,基于事件流图理论,提出了不依赖于代码静态分析的GUI自动化测试方法。在没有程序代码的前提下,利用WinRunner工具通过鼠标动作获得GUI组件,利用自行开发的工具自动分析GUI窗口层次,定义事件属性和测试用例生成规则,自动生成了完备测试用例集,并通过实例验证了方法的有效性。 |
英文摘要: |
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. |
查看全文 查看/发表评论 下载PDF阅读器 |
关闭 |
|
|
|