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.
Scheda prodotto non validato
Attenzione! I dati visualizzati non sono stati sottoposti a validazione da parte dell'ateneo
Titolo: | Why Creating Web Page Objects Manually if It Can Be Done Automatically? |
Autori: | |
Data di pubblicazione: | 2015 |
Handle: | http://hdl.handle.net/11567/874079 |
ISBN: | 9781467370226 |
Appare nelle tipologie: | 04.01 - Contributo in atti di convegno |