Maintaining and Evolving GUI-Directed Test Scripts

被引:86
作者
Grechanik, Mark [1 ]
Xie, Qing [1 ]
Fu, Chen [1 ]
机构
[1] Accenture Technol Labs, Chicago, IL 60601 USA
来源
2009 31ST INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING, PROCEEDINGS | 2009年
关键词
D O I
10.1109/ICSE.2009.5070540
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Since manual black-box testing of GUI-based APplications (GAPs) is tedious and laborious, test engineers create test scripts to automate the testing process. These test scripts interact with GAPs by performing actions on their GUI objects. An extra effort that test engineers put in writing test scripts is paid off when these scripts are run repeatedly. Unfortunately, releasing new versions of GAPs with modified GUIs breaks their corresponding test scripts thereby obliterating benefits of test automation. We offer a novel approach for maintaining and evolving test scripts so that they can test new versions of their respective GAPs. We built a tool to implement our approach, and we conducted a case study with forty five professional programmers and test engineers to evaluate this tool. The results show with strong statistical significance that users find more failures and report fewer false positives (p < 0.02) in test scripts with our tool than with a flagship industry product and a baseline manual approach. Our tool is lightweight and it takes less than eight seconds to analyze approximately IKLOC of test scripts.
引用
收藏
页码:408 / 418
页数:11
相关论文
共 20 条
[1]  
[Anonymous], THESIS U PITTSBURGH
[2]  
[Anonymous], 1990, Software Testing Techniques
[3]  
BALL T, 1998, ACM SOFTWARE ENG NOT, V232, P134
[4]  
BALLOU MC, 2007, 210132 IDC
[5]  
Berner S, 2005, PROC INT CONF SOFTW, P571
[6]   Software testing research: Achievements, challenges, dreams [J].
Bertolino, Antonia .
FOSE 2007: FUTURE OF SOFTWARE ENGINEERING, 2007, :85-103
[7]   A comparative study of coarse- and fine-grained safe regression test-selection techniques [J].
Bible, J ;
Rothermel, G ;
Rosenblum, DS .
ACM TRANSACTIONS ON SOFTWARE ENGINEERING AND METHODOLOGY, 2001, 10 (02) :149-183
[8]  
Binkley D, 1995, INTERNATIONAL CONFERENCE ON SOFTWARE MAINTENANCE, 1995 PROCEEDINGS, P251, DOI 10.1109/ICSM.1995.526547
[9]  
Dustin E., 2004, AUTOMATED SOFTWARE T
[10]  
Graham, 1999, SOFTWARE TEST AUTOMA