DocumentCode :
725867
Title :
Why Creating Web Page Objects Manually If It Can Be Done Automatically?
Author :
Stocco, Andrea ; Leotta, Maurizio ; Ricca, Filippo ; Tonella, Paolo
Author_Institution :
Dipt. di Inf., Bioingegneria, Robot. e Ing. dei Sist., Univ. di Genova, Genoa, Italy
fYear :
2015
fDate :
23-24 May 2015
Firstpage :
70
Lastpage :
74
Abstract :
Page Object is a design pattern aimed at making web test scripts more readable, robust and maintainable. The effort to manually create the page objects needed for a web application may be substantial and unfortunately existing tools do not help web developers in such task. In this paper we present APOGEN, a tool for the automatic generation of page objects for web applications. Our tool automatically derives a testing model by reverse engineering the target web application and uses a combination of dynamic and static analysis to generate Java page objects for the popular Selenium WebDriver framework. Our preliminary evaluation shows that it is possible to use around 3/4 of the automatic page object methods as they are, while the remaining 1/4 need only minor modifications.
Keywords :
Internet; Java; reverse engineering; APOGEN; Java page objects; Selenium WebDriver framework; Web developers; Web page objects; Web test; design pattern; dynamic analysis; reverse engineering; static analysis; target Web application; Automation; Indexes; Java; Manuals; Navigation; Testing; Web pages; Page Object Pattern; Program Analysis; Reverse Engineering; Selenium WebDriver; Testware Evolution; Web Testing;
fLanguage :
English
Publisher :
ieee
Conference_Titel :
Automation of Software Test (AST), 2015 IEEE/ACM 10th International Workshop on
Conference_Location :
Florence
Type :
conf
DOI :
10.1109/AST.2015.26
Filename :
7166271
Link To Document :
بازگشت