DocumentCode :
626347
Title :
Improving Test Suites Maintainability with the Page Object Pattern: An Industrial Case Study
Author :
Leotta, Maurizio ; Clerissi, Diego ; Ricca, Filippo ; Spadaro, Cristiano
Author_Institution :
Dipt. di Inf., Bioingegneria, Robot. e Ing. dei Sist. (DIBRIS), Univ. di Genova, Genoa, Italy
fYear :
2013
fDate :
18-22 March 2013
Firstpage :
108
Lastpage :
113
Abstract :
The page object pattern is used in the context of web testing for abstracting the application´s web pages in order to reduce the coupling between test cases and application under test. This paper reports on an industrial case study in a small Italian company (eXact learning solutions S.p.A.) investigating the potential benefits of adopting the page object pattern to improve the maintainability of Selenium WebDriver test cases. After a maintenance/evolution activity performed on the application under test, we compared two equivalent test suites, one built using the page object pattern and one without it. The results of our case study indicate a strong reduction in terms of time required (by a factor of about three) and number of modified LOCs (by a factor of about eight) to repair the test suite when the page object pattern is used.
Keywords :
Internet; Web sites; pattern recognition; program testing; Selenium WebDriver test cases; Web pages; Web testing; industrial case study; page object pattern; test suites maintainability; Automation; Browsers; Maintenance engineering; Search problems; Software; Testing; Web pages; Page Object Pattern; Selenium WebDriver; Test Automation; Test Suite Maintainability; Web Application Testing;
fLanguage :
English
Publisher :
ieee
Conference_Titel :
Software Testing, Verification and Validation Workshops (ICSTW), 2013 IEEE Sixth International Conference on
Conference_Location :
Luxembourg
Print_ISBN :
978-1-4799-1324-4
Type :
conf
DOI :
10.1109/ICSTW.2013.19
Filename :
6571616
Link To Document :
بازگشت