计算机应用研究Issue(1):136-140,5.DOI:10.3969/j.issn.1001-3695.2016.01.032
GUI 回归测试的测试脚本修复技术研究
Research on repairing technique of test scripts for GUI regression testing
摘要
Abstract
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.关键词
图形用户界面/回归测试/有限状态机/模型比较/测试脚本修复Key words
GUI/regression testing/FSM/model comparison/test scripts repair分类
信息技术与安全科学引用本文复制引用
朱静,曾红卫..GUI 回归测试的测试脚本修复技术研究[J].计算机应用研究,2016,(1):136-140,5.基金项目
国家自然科学基金资助项目 ()