A Black-Box Based Script Repair Method for GUI Regression Test

Weina Jiang, Xiaozhe Li,Xinming Wang

2018 7th International Conference on Digital Home (ICDH)(2018)

引用 3|浏览1
暂无评分
摘要
Testing applications with GUI is one of the most tedious tasks in software development. Test automation alleviates this burden by executing scripts that simulate how users interact with GUI. However, in practice efforts spent on developing GUI test automation scripts can be wasteful when the application evolves and modifies GUI components that are referenced by the scripts. In this paper, we propose a new test script repair framework to address this problem. The framework of our method consists of three main modules. Firstly, the script processing module calculates a similarity matrix of each script pair. Secondly, the code analysis module maintains an object repair map which is used to store repair operations. Finally, the script update module applies the map to the scripts under repair. The repair rate of our method keeps increasing with more test script pairs provided and it could be more than 95%. Experiments also show that our method is better than the tool for scrip maintaining within QTP not only in repair rate but also in time consuming.
更多
查看译文
关键词
Maintenance engineering,Graphical user interfaces,Libraries,Testing,Automation,Tools,Manuals
AI 理解论文
溯源树
样例
生成溯源树,研究论文发展脉络
Chat Paper
正在生成论文摘要