Approaches and Tools for Automated End-to-End Web Testing

被引:60
作者
Leotta, Maurizio [1 ]
Clerissi, Diego [1 ]
Ricca, Filippo [1 ]
Tonella, Paolo [2 ]
机构
[1] Univ Genoa, DIBRIS, Genoa, Italy
[2] Fdn Bruno Kessler, Trento, Italy
来源
ADVANCES IN COMPUTERS, VOL 101 | 2016年 / 101卷
关键词
D O I
10.1016/bs.adcom.2015.11.007
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
The importance of test automation in web engineering comes from the widespread use of web applications and the associated demand for code quality. Test automation is considered crucial for delivering the quality levels expected by users, since it can save a lot of time in testing and it helps developers to release web applications with fewer defects. The main advantage of test automation comes from fast, unattended execution of a set of tests after some changes have been made to a web application. Moreover, modern web applications adopt a multitier architecture where the implementation is scattered across different layers and run on different machines. For this reason, end-to-end testing techniques are required to test the overall behavior of web applications. In the last years, several approaches have been proposed for automated end-to-end web testing and the choice among them depends on a number of factors, including the tools used for web testing and the costs associated with their adoption. They can be classified using two main criteria: the first concerns how test cases are developed (ie, Capture-Replay and Programmable approaches), while, the second concerns how test cases localize the web elements to interact with (ie, Coordinates-based, DOM-based, and Visual approaches), that is what kind of locators are used for selecting the target GUI components. For developers and project managers it is not easy to select the most suitable automated end-to-end web testing approach for their needs among the existing ones. This chapter provides a comprehensive overview of the automated end-to-end web testing approaches and summarizes the findings of a long term research project aimed at empirically investigating their strengths and weaknesses.
引用
收藏
页码:193 / 237
页数:45
相关论文
共 24 条
[1]   JAutomate: a Tool for System- and Acceptance-test Automation [J].
Alegroth, Emil ;
Nass, Michel ;
Olsson, Helena H. .
2013 IEEE SIXTH INTERNATIONAL CONFERENCE ON SOFTWARE TESTING, VERIFICATION AND VALIDATION (ICST 2013), 2013, :439-446
[2]  
Alshahwan Nadia, 2008, 2008 First IEEE International Conference on Software Testing, Verification and Validation (ICST '08), P298, DOI 10.1109/ICST.2008.56
[3]  
Daniel B, 2011, 2011 33RD INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING (ICSE), P1010, DOI 10.1145/1985793.1985978
[4]  
Dyutiman Choudhary Dyutiman Choudhary, 2011, Pro-poor value chain development for high value products in mountain regions: Indian Bay Leaf
[5]   Leveraging user-session data to support Web application testing [J].
Elbaum, S ;
Rothermel, G ;
Karre, S ;
Fisher, M .
IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 2005, 31 (03) :187-202
[6]  
Leotta M., J SOFTW EVO IN PRESS
[7]  
Leotta M., 2013, P 2013 INT WORKSH JO, P53, DOI DOI 10.1145/2489280.2489284
[8]   Automated Generation of Visual Web Tests from DOM-based Web Tests [J].
Leotta, Maurizio ;
Stocco, Andrea ;
Ricca, Filippo ;
Tonella, Paolo .
30TH ANNUAL ACM SYMPOSIUM ON APPLIED COMPUTING, VOLS I AND II, 2015, :775-782
[9]   Reducing Web Test Cases Aging by means of Robust XPath Locators [J].
Leotta, Maurizio ;
Stocco, Andrea ;
Ricca, Filippo ;
Tonella, Paolo .
2014 IEEE INTERNATIONAL SYMPOSIUM ON SOFTWARE RELIABILITY ENGINEERING WORKSHOPS (ISSREW), 2014, :449-454
[10]  
Leotta M, 2014, LECT NOTES COMPUT SC, V8541, P322, DOI 10.1007/978-3-319-08245-5_19