期刊文献+

GUI应用的测试脚本修复方法 被引量:2

Test script of GUI application repair method
下载PDF
导出
摘要 为解决由于新版本GUI页面结构及内容变化引起的原有测试脚本集在回归测试时发生执行错误的问题,提出一种自动修复失效测试脚本的方法。利用QTP录制旧版本应用程序的测试脚本集,将每个测试映射为事件执行序列,遍历与此测试相关的新版本应用的事件流图(EFG),修复原有脚本的事件序列,进一步将此序列转化为测试脚本,并运用于测试新版本应用。实验结果表明,该方法对修复失效测试脚本是可行有效的。 To solve the execution error in the old set of test scripts caused by the changes in the structure and content of the new GUI application page,an automatic repair method of the disabled test scripts was developed.The test scripts of the older version of the GUI application were recorded using QTP,and each test was mapped to the event execution sequence,which travelled through the event-flow graph(EFG)associated with this test in the new version of the GUI application to repair the execution sequence in old test,and the sequences were mapped to test scripts.The repaired test scripts were applied in the new version of GUI application.The results indicate that the proposed method is feasible and effective in repairing disable test scripts.
出处 《计算机工程与设计》 北大核心 2017年第10期2691-2696,共6页 Computer Engineering and Design
基金 陕西省自然科学基金项目(2015JM6359) 陕西省工业公关基金项目(2016GY-089)
关键词 事件流图(EFG) QTP工具 GUI应用程序 测试脚本修复 GUI测试 event-flow graph (EFG) QTP tool GUI application test scripts rep a ir G U I testing
  • 相关文献

参考文献3

二级参考文献36

  • 1Yu W D, Supthaweesuk P, Aravind D. Trustworthy Web services based on testing//Proceedings of the 2005 IEEE International Workshop on Service-Oriented System Engineering(SOSE~05). Shanghai, China, 2005:159-169.
  • 2Canfora G, Di Penta M. Testing services and service-centric systems: Challenges and opportunities. IT Professional, 2006, 8(2): 10-17.
  • 3Li Zhong-Jie, Sun Wei, Jiang Zhong-Bo, Zhang Xin. BPEL4WS unit testing: framework and implementation// Proceedings of the 2005 IEEE International Conference on Web Services (ICWS'05). Orlando, USA, 2005:103-110.
  • 4Ma Chun-Yan, Du Cheng-Lie, Zhang Tao, et al. WSDL- based automated test data generation for Web service// Proceedings of the International Conference on Computer Science and Software Engineering (ICCSSE 2008). Wuhan, China, 2008:731 737.
  • 5Siripol Noikajana, Taratip Suwannasart. An improved test case generation method for Web service testing from WSDL-S and OCL with pair-wise testing technique//Proceedings of the 33rd Annual IEEE International Computer Software and Applications Conference (COMPSAC 2009). Seattle, USA, 2009:115-123.
  • 6Bai Xiao-Ying, Dai Gui-Lan, Xu De-Zheng, Tsai Wei-Tek. A multi-agent based framework for collaborative testing on Web services//Proceedings of the 4th IEEE Workshop on Software Technologies for Future Embedded and Ubiquitous Systems and Second International Workshop on Collaborative Computing, Integration, and Assurance(SEUS-WCCIA~06). Gyeongju, Korea, 2006:205-210.
  • 7Hou Shan-Shan, Zhang Lu, Lan Qian, et al. Generating effective test sequences for BPEL testing//Proceedings of the 9th International Conference on Quality Software (QSIC 2009). Jeju, Korea, 2009:331-340.
  • 8Mei Li-Jun, Chan W K, Tse T H. Data flow testing of service- oriented workflow applications//Proceedings of the Interna- tional Conference on Software Engineering (ICSE 2008). Leipzig, Germany, 2008:371-380.
  • 9Mei Li-Jun, Zhang Zhen Yu, Chan W K, Tse T H. Test case prioritization for regression testing of service-oriented business applications//Proceedings of the World Wide Web Conference (WWW 2009). Madrid, Spain, 2009:901-910.
  • 10Mohammad Alrifai, Thomass Risse. Combining global opti- mization with local selection for efficient QoS-aware service composition//Proceedings of the World Wide Web Conference (WWW 2009). Madrid, Spain, 2009:881 890.

共引文献21

同被引文献15

引证文献2

二级引证文献6

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

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