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

基于扩展库所/迁移系统的GUI自动化测试
引用本文:陈军成,丁治明. 基于扩展库所/迁移系统的GUI自动化测试[J]. 北京工业大学学报, 2017, 43(6). DOI: 10.11936/bjutxb2016060040
作者姓名:陈军成  丁治明
作者单位:北京工业大学信息学部,北京,100124;北京工业大学信息学部,北京 100124;中国科学院软件研究所基础软件国家工程研究中心,北京 100190
基金项目:国家自然科学基金资助项目,北京市博士后工作经费资助项目
摘    要:为解决图形用户界面(graphic user interface,GUI)元素状态空间庞大以及用户操作组合空间复杂等问题,针对特定类型的GUI软件,提出一种基于扩展库所/迁移系统的GUI测试模型.在此模型中,库所表示用户在GUI软件上的操作类型,迁移表示用户在GUI上的操作事件.针对模型制定了3个相应的准则:库所覆盖准则、迁移覆盖准则和迁移对覆盖准则.对迁移对覆盖准则和事件对覆盖准则进行分析,并设计了相应的GUI测试用例生成算法.在计算器上的初步试验结果表明:相较事件对覆盖准则,迁移对覆盖准则在保持较高的错误发现能力的同时,生成的测试用例规模只有其40%,极大地降低了测试用例规模.

关 键 词:图形用户界面(GUI)  库所/迁移系统  测试覆盖准则  测试用例

Automated GUI Testing Based on Extended Place/Transition System
CHEN Juncheng,DING Zhiming. Automated GUI Testing Based on Extended Place/Transition System[J]. Journal of Beijing Polytechnic University, 2017, 43(6). DOI: 10.11936/bjutxb2016060040
Authors:CHEN Juncheng  DING Zhiming
Abstract:To solve the problem of huge graphic user iuterface ( GUI) elements' states and complicate combination of user operation, a GUI test model based on extended place/transition system for specific GUI software was proposed. In the model, places represented type of user operation, and transitions represented user operation. Based on the model, three GUI test coverage criteria, were designed and test coverage based on places, test coverage based on transitions and test coverage based on transition-pairs, were put forward. The differences between the last and event-pair coverage was analyzed. The related test generation algorithm was designed. Experiment result of calculation shows that the transition-pair coverage has the same effectiveness in fault finding as the event-pair coverage, but the number of generation test suits is only about 40%.
Keywords:graphic user interface ( GUI)  place/transition system  test coverage criteria  test case
本文献已被 CNKI 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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