Pattern-based GUI testing: Bridging the gap between design and quality assurance

被引:23
作者
Moreira, Rodrigo M. L. M. [1 ,2 ]
Paiva, Ana Cristina [1 ,2 ]
Nabuco, Miguel [1 ,2 ]
Memon, Atif [3 ]
机构
[1] Univ Porto, INESC TEC, Fac Engn, Oporto, Portugal
[2] Univ Porto, Dept Informat Engn, Fac Engn, Oporto, Portugal
[3] Univ Maryland, Dept Comp Sci, College Pk, MD 20742 USA
基金
美国国家科学基金会;
关键词
GUI testing; model-based GUI testing; pattern-based GUI testing; UI test patterns; MUTATION; MODEL;
D O I
10.1002/stvr.1629
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Software systems with a graphical user interface (GUI) front end are typically designed using user interface (UI) Patterns, which describe generic solutions (with multiple possible implementations) for recurrent GUI design problems. However, existing testing techniques do not take advantage of this fact to test GUIs more efficiently. In this paper, we present a new pattern-based GUI testing (PBGT) approach that formalizes the notion of UI Test Patterns, which are generic test strategies to test UI patterns over their different implementations. The PBGT approach is evaluated via 2 case studies. The first study involves 2 fielded Web application subjects; findings show that PBGT is both practical and useful, as testing teams were able to find real bugs in a reasonable time interval. The second study allows deeper analysis by studying software subjects seeded with artificial faults; the findings show that PBGT is more effective than a manual model-based test case generation approach.
引用
收藏
页数:29
相关论文
共 53 条
[1]  
Adobe, 2014, FLASH PLAYER AD FLAS
[2]  
Alexander C., 1977, A pattern language: Towns, buildings
[3]   An orchestrated survey of methodologies for automated software test case generation [J].
Anand, Saswat ;
Burke, Edmund K. ;
Chen, Tsong Yueh ;
Clark, John ;
Cohen, Myra B. ;
Grieskamp, Wolfgang ;
Harman, Mark ;
Harrold, Mary Jean ;
McMinn, Phil ;
Bertolino, Antonia ;
Li, J. Jenny ;
Zhu, Hong .
JOURNAL OF SYSTEMS AND SOFTWARE, 2013, 86 (08) :1978-2001
[4]  
[Anonymous], 2003, ALAN APT SERIES
[5]  
[Anonymous], 2005, Software Testing and Analysis: Process, Principles and Techniques
[6]  
[Anonymous], 2007, Practical Model-Based Testing: A Tools Approach
[7]  
[Anonymous], 2009, CASE STUDY RES DESIG
[8]  
Apple, 2014, COC BIND PROGR TOP C
[9]   Trends in Model-based GUI Testing [J].
Arlt, Stephan ;
Pahl, Simon ;
Bertolini, Cristiano ;
Schaef, Martin .
ADVANCES IN COMPUTERS, VOL 86, 2012, 86 :183-222
[10]   Pattern Based GUI testing for Mobile Applications [J].
Costa, Pedro ;
Nabuco, Miguel ;
Paiva, Ana C. R. .
2014 9TH INTERNATIONAL CONFERENCE ON THE QUALITY OF INFORMATION AND COMMUNICATIONS TECHNOLOGY (QUATIC), 2014, :66-74