DocumentCode
647218
Title
Capture-replay vs. programmable web testing: An empirical assessment during test case evolution
Author
Leotta, Maurizio ; Clerissi, Diego ; Ricca, Filippo ; Tonella, Paolo
Author_Institution
Dipt. di Inf., Bioingegneria, Robot. e Ing. dei Sist. (DIBRIS), Univ. di Genova, Genoa, Italy
fYear
2013
fDate
14-17 Oct. 2013
Firstpage
272
Lastpage
281
Abstract
There are several approaches for automated functional 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. In this paper, we present an empirical cost/benefit analysis of two different categories of automated functional web testing approaches: (1) capture-replay web testing (in particular, using Selenium IDE); and, (2) programmable web testing (using Selenium WebDriver). On a set of six web applications, we evaluated the costs of applying these testing approaches both when developing the initial test suites from scratch and when the test suites are maintained, upon the release of a new software version. Results indicate that, on the one hand, the development of the test suites is more expensive in terms of time required (between 32% and 112%) when the programmable web testing approach is adopted, but on the other hand, test suite maintenance is less expensive when this approach is used (with a saving between 16% and 51%). We found that, in the majority of the cases, after a small number of releases (from one to three), the cumulative cost of programmable web testing becomes lower than the cost involved with capture-replay web testing and the cost saving gets amplified over the successive releases.
Keywords
Internet; cost-benefit analysis; program testing; software maintenance; automated functional Web testing; capture-replay Web testing; cost saving; cost-benefit analysis; programmable Web testing; test case evolution; test suite maintenance; Browsers; Computer languages; Maintenance engineering; Programming; Software; Testing; Web pages; Empirical Study; Selenium IDE; Selenium WebDriver; Test Case Evolution; Test Case Repair;
fLanguage
English
Publisher
ieee
Conference_Titel
Reverse Engineering (WCRE), 2013 20th Working Conference on
Conference_Location
Koblenz
Type
conf
DOI
10.1109/WCRE.2013.6671302
Filename
6671302
Link To Document