期刊文献+

基于事件流图的GUI自动化测试系统的开发 被引量:4

Development of a GUI Automation Testing System Based on Event-Flow Graphs
下载PDF
导出
摘要 针对目前GUI自动化测试方法中存在着一定程度的手工依赖性以及对测试用例和测试覆盖率缺乏系统管理等问题,本文结合Microsoft UI Automation框架开发了一个基于事件流图的GUI自动化测试系统。该系统先对被测标准GUI进行逆向工程以得到GUI的事件流图和期望的结果,然后分别采用基于蚁群算法的日常冒烟测试用例生成算法和基于宽度优先搜索的深度回归测试用例生成算法生成测试用例,并用这些生成的测试用例来测试新的GUI。测试结果表明,该GUI自动化测试模型是切实可用的,为在Windows环境下提高GUI测试的自动化程度提供了一种更为有效的途径。 In the software industry, nowadays automatic testing methods are widely used in GUI testing, which largely depends on manual work, and features low adaptability to software variation, and lacks systematic management as to testing cases and coverage. Accordingly, a more highly automated GUI testing system which is based on event-flow graphs is proposed under the framework of Microsoft UI Automation, where the automation tool is first used to carry out the reverse engineering for testing samples so as to obtain a majority of event-flow graphs and expected testing results. During the process of the formation of the testing cases, two strategies are adopted. For the daily smoke testing, an ant colony optimization algorithm is used to go through all the event points in the event-flow graphs and establish a sequence as a testing case. For the deep regression testing, a spanning tree obtained by the goal-directed searching approach is explored to obtain the testing cases from the goal point to the outset point. And these cases are applied to test the new GUI. The results of experiments illaminate that the event-flow-graph-based system is feasible, which reflects the system is a more effective means of improvement for the GUI testing automation in Windows systems.
出处 《计算机工程与科学》 CSCD 2008年第5期142-146,共5页 Computer Engineering & Science
基金 华中科技大学自然科学基金资助项目(2007Q006B) 湖北省自然科学基金资助项目(2006ABA085) 国家自然科学基金资助项目(50775081,50675074)
关键词 软件测试自动化 图形化用户界面 事件流图 automatic software testing graphic user interlace event-flow graph
  • 相关文献

参考文献11

  • 1Chow T.Testing Software Design Modeled by Finite-State Machines[J].IEEE Trans on Software Engineering,1978,4:178-187. 被引量:1
  • 2Memon A M.An Event-Flow Model of GUI-Based Applications for Testing[M]∥Software Testing,Verification and Reliability.USA:John Wiley & Sons,2007. 被引量:1
  • 3Memon A M,Pollack M E,Soffa M L.Hierarchical GUI Test Case Generation Using Automated Planning[J].IEEE Trans on Software Engineering,2001,27(2):144-155. 被引量:1
  • 4Xie Qing,Memon A M.Designing and Comparing Automated Test Oracles for GUI-Based Software Applications[J].ACM Trans on Software Engineering and Methodology,2007,16(1):20-32. 被引量:1
  • 5Memon A M,Pollack M E,Soffa M L.Automated Test Oracles for GUIs[C]∥Proc of the 8th ACM SIGSOFT Int'l Symp on Foundations of Software Engineering,2000:30-39. 被引量:1
  • 6Memon A M,Banerjee I,Nagarajan A.What Test Oracle Should I Use for Effective GUI Testing[C]∥Proc of the IEEE Int'l Conf on Automated Software Engineering,2003:164-173. 被引量:1
  • 7McMaster S,Memon A M.Call Stack Coverage for GUI Test-Suite Reduction[C]∥Proc of the 17th IEEE Int'l Symp on Software Reliability Engineering,2006:110-121. 被引量:1
  • 8Ye Mao,Feng Boqin,Lin Yao.Neural Networks Based Test Cases Selection Strategy for GUI Testing[C]∥Proc of the 6th World Congress on Intelligent Control and Automation,2006,2:5773-5776. 被引量:1
  • 9Memon A M,Soffa M L.Regression Testing of GUIs[C]∥Proc of the 9th European Software Engineering Conf Held Jointly with 11th ACM SIGSOFT Int'l Symp on Foundations of Software Engineering,2003:118-127. 被引量:1
  • 10李翔,高建华.一种基于事件关系的图形用户界面程序测试方法[J].小型微型计算机系统,2005,26(4):671-675. 被引量:7

二级参考文献2

共引文献8

同被引文献29

引证文献4

二级引证文献4

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部