计算机科学 ›› 2015, Vol. 42 ›› Issue (Z11): 500-503.
沈毅俊,高建华
SHEN Yi-jun and GAO Jian-hua
摘要: 测试用户图形界面时一般很难确定其输入空间,同时自动化测试工具也难以辨别出需要特殊条件才能被执行的事件。解决这些问题的有效途径之一是使用事件流图模型并配合一种观察-定模-执行*的模式实施测试。这一模式可维护一张模型元素与其到达路径的映射表,模型元素包括图中的边与点,通过它可以找出事件被执行前需要的特定条件。Memon等人提出的映射表维护算法只适用于模型中的边,因此提出了一种适用于模型中点的映射表维护算法。测试实例分析表明,该算法能有效地记录执行事件所需的特定条件。
[1] Shehady R K,Siewiorek D P.A method to automate user interface testing using variable finite state machines:Fault-Tolerant Computing[C]∥Twenty-Seventh Annual International Symposium on Digest of Papers,1997(FTCS-27).Seattle,WA,USA:IEEE,1997:80-88 [2] Reza,Hassan,Endapally S,et al.A model-based approach fortesting gui using hierarchical predicate transition nets:Information Technology[C]∥Fourth International Conference on Las Vegas,2007(ITNG’07).NV:IEEE,2007:366-370 [3] Memon A M,Nagarajan A,Xie Q.Automating Regression Testing for Evolving GUI Software[J].Software Maintenance,2005,7(1):27-64 [4] Vieira,Marlon,Hasling B,et al.Automation of GUI testingusing a model-driven approach[C]∥Proceedings of the 2006 International Workshop on Automation of Software Test,2006.New York:ACM,2006:9-14 [5] Memon A M,Banerjee I,Nagarajan A.GUI Ripping:Reverse Engineering of Graphical User Interfaces for Testing[C]∥Proc.10th Working Conf.Reverse Eng,2003(WCRE’ 03).Cana-da:IEEE,2003:260-269 [6] Memon A M.A Comprehensive Framework for Testing Graphi-cal User Interfaces[D].Pittsburgh:Department of Computer Science,University of Pittsburgh,2001 [7] Nguyen,Bao,Memon A M.An Observe-Model-Exercise* Paradigm to Test Event-Driven Systems with Undetermined Input Spaces[J].IEEE Transcations on Software Engineering,2014,0(3):216-234 |
No related articles found! |
|