计算机科学 ›› 2013, Vol. 40 ›› Issue (Z6): 184-187.

• 模式识别 • 上一篇    下一篇

基于模型的图形用户界面事件交互图生成方法

丰凯,高建华   

  1. 上海师范大学计算机科学与技术系 上海200234;上海师范大学计算机科学与技术系 上海200234
  • 出版日期:2018-11-16 发布日期:2018-11-16
  • 基金资助:
    本文受国家自然科学基金项目(61073163),上海市科委项目(09220503000),上海市引进技术的吸收与创新计划(2010CH-014)资助

GUI Event Interaction Graph Generation Method Based on Model

FENG Kai and GAO Jian-hua   

  • Online:2018-11-16 Published:2018-11-16

摘要: 用户界面(GUI)测试是一项很困难的工作,一个重要的原因是背景事件会影响测试结果,基于模型的图形用户界面测试技术可以解决这个问题。目前基于模型的图形用户界面测试技术有两种常用的GUI模型:事件流图(EFG)和事件交互图(EIG)。这两种模型可以表示GUI事件之间的交互关系,其中EIG是从EFG转换而来的。通过一个简单的GUI实例对GUI中的事件进行了明确的划分,并且为适应文中的划分事件改进了原有的MX算法。最后根据GUI的事件驱动性和对GUI事件的划分提出了一种由EFG转换成EIG的新方法:驱动算法。实例表明,此方法使EFG转换成EIG的过程更简单。

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

Abstract: 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(GUI) 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 event-driven 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.

Key words: Graphical user interface(GUI),Model-based testing,Event flow graph(EFG),Event interaction graph(EIG)

[1] Memon A M.GUI Testing:Pitfalls and Process [J].IEEE Computer,2002,8(35):90-91
[2] Mathur A P.Foundations of Software Testing:Fundamental Algorithms and Techniques[M].New Delhi:Pearson Education in South Asia,2008:33-384
[3] Memon A M.Advances in Computers[M].Amsterdam,Netherlands:Elsevier Ltd,2003:150-203
[4] Memon A M,Xie Qing.Using Transient/ Persistent Errors to Develop Automated Test Oracles for Event-Driven Software[A]∥Proceeding of 19th IEEE International Conference on Automated Software Engineering IEEE INFOCOM[C].2004:186-195
[5] Memon A M.A Comprehensive Framework for Testing Graphical User Interfaces[D].Pittsburgh:Department of Computer Science,University of Pittsburgh,2001
[6] Yuan Xun,Myra B C,Memon A M.GUI Interaction Testing:Incorporating Event Context [J].IEEE Transactions on Software Engineering,2011,37(4):559-574
[7] Memon A M,Xie Qing.Studying the Fault- Detection Effectiveness of GUI Test Cases for Rapidly Evolving Software[J].IEEE Transactions on Software Engineering,2005,31(10):884-896
[8] Xie Qing,Memon A M.Using a Pilot Study to Derive a GUIModel for Automated Testing[J].ACM Transactions on Software Engineering And Methodology,2008,18(2):1-35
[9] Brooks P A,Robinson B P,Memon A M.An Initial Characteri-zation of Industrial Graphical User Interface Systems[A]∥Proceeding of First IEEE International Conference on Software Testing Verification and Validation IEEE INFOCOM [C].Denver,CO:IEEE,2009:11-20

No related articles found!
Viewed
Full text


Abstract

Cited

  Shared   
  Discussed   
No Suggested Reading articles found!