基于事件流图的用户界面测试优化  被引量:4

Optimized Method on GUI Testing Based on Event-Flow Graph

在线阅读下载全文

作  者:路斯瑶[1] 胡飞[1] 

机构地区:[1]上海交通大学软件学院,上海200240

出  处:《测控技术》2010年第5期72-76,共5页Measurement & Control Technology

摘  要:针对目前用户图形界面(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.

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

分 类 号:TP311.5[自动化与计算机技术—计算机软件与理论]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象