首页> 中文期刊> 《计算机应用研究》 >GUI 回归测试的测试脚本修复技术研究

GUI 回归测试的测试脚本修复技术研究

     

摘要

回归测试对修改后的软件重新进行测试,确认修改没有引入新的错误或导致其他代码产生错误。研究图形用户界面(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.

著录项

相似文献

  • 中文文献
  • 外文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号