作者投稿和查稿 主编审稿 专家审稿 编委审稿 远程编辑

计算机工程

• 体系结构与软件技术 • 上一篇    下一篇

基于事件交互图的算法与研究

高秀慧,高建华   

  1. (上海师范大学计算机科学与技术系,上海200234)
  • 收稿日期:2013-10-21 出版日期:2014-10-15 发布日期:2014-10-13
  • 作者简介:高秀慧(1989 - ),女,硕士研究生,主研方向:软件可靠性设计,软件测试技术;高建华,教授、博士。
  • 基金资助:
    国家自然科学基金资助项目(61073163);上海市引进技术的吸收与创新计划基金资助项目(2010CH-014)。

Algorithm and Research Based on Event Interaction Graph

GAO Xiu-hui,GAO Jian-hua   

  1. (Department of Computer Science and Technology,Shanghai Normal University,Shanghai 200234, China)
  • Received:2013-10-21 Online:2014-10-15 Published:2014-10-13

摘要: 图形用户界面的质量直接影响整个软件系统的有效性和实用性,一般采用提取模型的方法对图形用户界面进行测试,目前常用的模型为事件流图和事件交互图,但是事件流图转换成事件交互图的算法较为复杂,为此,提出一种转换算法,对图形用户界面事件进行明确划分,利用模态窗口事件的特殊性优化原有算法。测试实例结果表明,该算法可用于图形用户界面,且与Memon 算法相比,能更高效地获得更准确的数据。

关键词: 图形用户界面, 事件交互分类, 事件流图, 事件交互图, 测试实例

Abstract: The quality of Graphical User Interface (GUI) directly affects the reliability and usability of the entire software system. When testing the graphical user interface,it generally adopts the method of extracting model,and the frequently models based on the graphical user interface are Event Flow Graph(EFG) and Event Interaction Graph(EIG).However,the algorithm of EFG into EIG is complex,this paper proposes an algorithm. In this paper,the GUI events with a specific division and the use of the special nature of the modal window event optimize the original algorithm. It indicates the new algorithm can be used for GUI and the obtained data is more accurate and more efficient with the real cases than Memon in GUI.

Key words: Graphical User Interface ( GUI ), event-interaction classification, Event Flow Graph ( EFG ), Event Interaction Graph(EIG), test case

中图分类号: