基于模型的图形用户界面事件交互图生成方法  被引量:3

GUI Event Interaction Graph Generation Method Based on Model

在线阅读下载全文

作  者:丰凯[1] 高建华[1] 

机构地区:[1]上海师范大学计算机科学与技术系,上海200234

出  处:《计算机科学》2013年第06A期184-187,203,共5页Computer Science

基  金:国家自然科学基金项目(61073163);上海市科委项目(09220503000);上海市引进技术的吸收与创新计划(2010CH-014)资助

摘  要:用户界面(GUI)测试是一项很困难的工作,一个重要的原因是背景事件会影响测试结果,基于模型的图形用户界面测试技术可以解决这个问题。目前基于模型的图形用户界面测试技术有两种常用的GUI模型:事件流图(EFG)和事件交互图(EIG)。这两种模型可以表示GUI事件之间的交互关系,其中EIG是从EFG转换而来的。通过一个简单的GUI实例对GUI中的事件进行了明确的划分,并且为适应文中的划分事件改进了原有的MX算法。最后根据GUI的事件驱动性和对GUI事件的划分提出了一种由EFG转换成EIG的新方法:驱动算法。实例表明,此方法使EFG转换成EIG的过程更简单。The test of GUI is a veritable challenge. One of the concernful reasons is that there are many context events which would cause determinate influences over the results of testing. This problem can be solved by the technologies of model-based GUI testing. Two of the frequently used graphical user interface(GUD model in model-based GUI testing technologies are the event flow graph(EFG) and the event interaction graph(EIG). Both of the two kinds of models give a certain presentation of the events interacting relationships, and the EIG makes significant improvements form the EFG. Our paper provides the GUI events with a specific division through a simple GUI instance and also improves the MX algorithm for the sake of adaptation to the new division of the events. Finally, according to the property of eventdriven in GUI and the divided GUI events in this paper, the paper proposes a new method: driven algorithm. Some examples show that the method makes the EFG converted into EIG more easier.

关 键 词:图形用户界面 基于模型测试 事件流图 事件交互图 

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

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

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