期刊文献+

GUI回归测试的测试脚本修复技术研究 被引量:3

Research on repairing technique of test scripts for GUI regression testing
下载PDF
导出
摘要 回归测试对修改后的软件重新进行测试,确认修改没有引入新的错误或导致其他代码产生错误。研究图形用户界面(GUI)回归测试脚本的自动化修复技术,采用有限状态机描述GUI的交互行为,并基于有限状态机(FSM)产生测试用例集;使用自动化测试工具生成测试脚本,建立状态迁移和测试脚本的映射关系表;通过比较GUI新旧版本的FSM得到GUI的变化信息,根据变化信息和映射表对原测试脚本自动修复。实例验证了脚本修复方法的可行性和有效性,修复了失效的测试脚本,保证了修复后的测试脚本的完备性和一致性。 Regression testing retests the modified software to confirm that the modifications do not cause new errors or make other code disabled. This paper addressed automated repair techniques of graphical user interface (GUI) regression testing. It used finite state machine (FSM) to descript the GUI interactions and to generate test case suite. It generated test scripts ac- cording to the test case suite by using the automated test tool and established a mapping table which mapped transitions to test scripts. It obtained the changed GUI information by comparing the old and new version FSM models. It repaired the original test scripts according to the changed GUI information and mapping table automatically. It used an example to verify the feasi- bility and effectiveness of the proposed method. It repairs the disabled test scripts and ensures the completeness and consisten- cy.
作者 朱静 曾红卫
出处 《计算机应用研究》 CSCD 北大核心 2016年第1期136-140,共5页 Application Research of Computers
基金 国家自然科学基金资助项目(61073050)
关键词 图形用户界面 回归测试 有限状态机 模型比较 测试脚本修复 GUI regression testing FSM model comparison test scripts repair
  • 相关文献

参考文献14

  • 1Jin Hu,Wang Shuo,Chen Nianwei,et al.Finite state machine for automatic GUI testing[C] //Proc of International Conference on Computational Intelligence and Software Engineering.[S.l.] :IEEE Press,2009:1-4.
  • 2Yuan Xun,Cohen M B,Memon A M.GUI interaction testing:Incorporating event context[J].IEEE Trans on Software Engineering,2011,37(4):559-574.
  • 3Miao Huaikou,Qian Zhongsheng,He Tao.Modeling web browser interactions using FSM[C] //Proc of the 2nd IEEE Asia-Pacific Service Computing Conference.[S.l.] :IEEE Press,2007:211-217.
  • 4Winter M.Managing object-oriented integration and regression testing[C] //Proc of the 6th EuroSTAR Conference.1998:123-133.
  • 5Memon A M.Automatically repairing event sequence-based GUI test suites for regression testing[J].ACM Trans on Software Enginee-ring and Methodology,2008,18(2):1-36.
  • 6Memon A M,Soffa M L.Regression testing of GUIs[C] //Proc of the 9th European Software Engineering Conference Held Jointly with 11th ACM SIGSOFT International Symposium on Foundations of Software Engineering.New York:ACM Press,2003:118-127.
  • 7Xie Qing,Grechanik M,Fu Chen.REST:a tool for reducing effort in script-based testing[C] //Proc of IEEE International Conference on Software Maintenance.New York:ACM Press,2008:468-469.
  • 8Grechanik M,Xie Qing,Fu Chen.Maintaining and evolving GUI-directed test scripts[C] //Proc of International Conference Software Engineering.2009:408-418.
  • 9Grechanik M,Xie Qing,Fu Chen.Experimental assessment of ma-nual versus tool-based maintenance of GUI-directed test scripts[C] //Proc of IEEE International Conference on Software Maintenance.[S.l.] :IEEE Press,2009:9-18.
  • 10Daniel B,Luo Qingzhou,Marinov D.Automated GUI refactoring and test script repair[C] //Proc of the 1st International Workshop on End-to-End Test Script Engineering.2011:38-41.

同被引文献15

引证文献3

二级引证文献6

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

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