中国科学院机构知识库网格
Chinese Academy of Sciences Institutional Repositories Grid
一种基于事件处理函数的GUI测试方法

文献类型:期刊论文

作者陈军成 ; 薛云志 ; 赵琛
刊名软件学报
出版日期2013
卷号24期号:12页码:2830-2842
关键词GUI测试 事件处理函数 测试覆盖准则 测试用例生成
ISSN号10009825
其他题名Approach for GUI testing based on event handler function
通讯作者Chen, J.-C.(juncheng@nfs.iscas.ac.cn)
中文摘要事件处理函数响应用户GUI(graphic user interface)操作并完成软件预定义功能,事件处理函数以及事件处理函数之间的关系实现是否与规约一致,是GUI 测试的重点.针对现有的基于模型GUI 测试用例自动生成过程中面临的测试用例规模庞大以及生成的测试用例无效问题,从分析事件处理函数的角度出发,提出了一种GUI 测试模型EHG.针对此模型,结合事件处理函数及其代码结构,提出了两个测试覆盖准则:完整最短路径覆盖准则和完整最短路径定义-引用对覆盖准则;利用基 于反馈的测试用例生成技术生成测试用例.实验结果表明,针对较为复杂的应用,该方法不仅能够有效控制测试用例规模,消除无效测试用例,而且生成的测试用例 能有效提高事件处理函数的代码结构覆盖率.
英文摘要EHF (event handler function) implements functionality of software and responds to user's operation on GUI (graphic user interface) element. GUI testing focuses on the conformance between specification and EHF as well as relations among EHFs. In order to solve the problems of large-scale of test cases and generation of invalid test cases, this paper proposes a new GUI test model named EHG based on event handler function. Using the model and the features of event handler functions, two test coverage criteria is constructed. Based on the criteria, a feedback-directed GUI test case generation is implemented. Experimental results show that the new approach not only effectively controls the scale of test case while eliminating invalid test cases, but also improves coverage of code structure. © Copyright 2013, Institute of Software, the Chinese Academy of Sciences. All rights reserved.
收录类别EI ; CSCD
语种中文
CSCD记录号CSCD:5002789
公开日期2014-12-16
源URL[http://ir.iscas.ac.cn/handle/311060/16767]  
专题软件研究所_软件所图书馆_期刊论文
推荐引用方式
GB/T 7714
陈军成,薛云志,赵琛. 一种基于事件处理函数的GUI测试方法[J]. 软件学报,2013,24(12):2830-2842.
APA 陈军成,薛云志,&赵琛.(2013).一种基于事件处理函数的GUI测试方法.软件学报,24(12),2830-2842.
MLA 陈军成,et al."一种基于事件处理函数的GUI测试方法".软件学报 24.12(2013):2830-2842.

入库方式: OAI收割

来源:软件研究所

浏览0
下载0
收藏0
其他版本

除非特别说明,本系统中所有内容都受版权保护,并保留所有权利。