期刊文献+

一种基于需求追踪的Web应用测试脚本修复方法 被引量:2

A WEB APPLICATION TEST SCRIPT REPAIR METHOD BASED ON REQUIREMENT TRACEABILITY
下载PDF
导出
摘要 自动化测试技术通过测试脚本使测试人员无需重复耗时乏味的手工黑盒测试。然而随着软件界面的演化,通常会导致基于界面元素的测试脚本失效,测试人员不得不手工检测和修复失效的脚本。提出一种基于需求追踪的测试脚本修复方法,辅助追踪界面元素的演化的影响范围。分析Web应用中常见的容易导致测试脚本失效的界面元素演化类型,针对每种类型给出在模型框架下QTP软件测试脚本修复规则。在此基础上,开发了一个自动修复失效脚本工具,通过一个案例,展示了该方法的可行性。 Thanks to the technique of automated testing,test engineers can be free from time-consuming,repetitive manual test by writing automation test scripts. However,when the UI of GUI-based applications or Web applications evolved,the test engineers have to check and repair the failing test scripts which interact with applications by performing actions on their UI element. In this paper,we propose a requirement traceability-based test script repair method which helps to trace the influence scope of the evolution of UI elements. We analyse the common types of UI evolution in Web applications that are prone to cause test script failure,meanwhile we propose the QTP software test script repair rules for each type under the model framework. Based on that we develop an automatic repair tool for failing scripts,and conduct a case study to demonstrate the feasibility of our approach.
出处 《计算机应用与软件》 CSCD 2015年第8期11-16,51,共7页 Computer Applications and Software
基金 国家高技术研究发展计划项目(2012AA011202)
关键词 自动化测试 界面演化 需求追踪性 测试脚本修复 Automated testing UI evolution Requirement traceability Test script repair
  • 相关文献

参考文献13

  • 1Bertolino A. Software testing research:Achievements, challenges,dreams[C ] //2007 Future of Software Engineering. IEEE Computer Society,2007:85-103.
  • 2Memon A M, Soffa M L. Regression testing of GUIs [C]//ACM SIG-SOFT Software Engineering Notes. ACM,2003,28(5) :118 ~ 127.
  • 3Bemer S,Weber R,Keller R K. Observations ^nd lessons learned fromautomated testing [ C ] //Proceedings of the 27 th international confer-ence on Software engineering. ACM,2005 :571 -579.
  • 4Grechanik M,Xie Q,Fu C. Experimental assessment of manual versustool-based maintenance of GUI-directed test scripts [ C ] //Software Ma-intenance ,2009. ICSM 2009. IEEE International Conference on.IEEE,2009 :9-18.
  • 5Grechanik M,Xie Q,Fu C. Maintaining and evolving GUI-directed testscripts [ C ^//Software Engineering,2009. ICSE 2009. IEEE 31st Inter-national Conference on. IEEE,2009:408 -418.
  • 6Choudhary S R, Zhao D, Versee H, et al. Water: Web application testrepair[ C ] //Proceedings of the First International Workshop on End-to-End Test Script Engineering, ACM ,2011:24 -29.
  • 7Wilde E,Lowe D. XPath,XLink,XPointer,and XML:A practical guideto Web hyperlinking and transclusion[ M] . Addison-Wesley LongmanPublishing Co. ,Inc. ,2002.
  • 8Ramesh B,Stubbs C,Powers T,et al. Requirements traceability :Theoryand practice [ J ]. Annals of software engineering, 1997,3 ( 1 ): 397-415.
  • 9Salem A M. Improving software quality through requirements traceabili-ty models[ C]//Computer Systems and Applications,2006. IEEE Inter-national Conference on. IEEE,2006: 1159 —1162.
  • 10Peraldi-Frati M A, Albinet A. Requirement traceability in safety criticalsystems [ C ] //Proceedings of the 1st Workshop on Critical Automotiveapplications:Robustness & Safety. ACM,2010: 11 - 14.

同被引文献22

引证文献2

二级引证文献9

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

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