Cytestion: Automated GUI Testing for Web Applications

  • Thiago Santos de Moura UFCG
  • Everton L. G. Alves UFCG
  • Hugo Feitosa de Figueirêdo IFPB
  • Cláudio de Souza Baptista UFCG

Resumo

Automated testing in web applications is becoming increasingly popular due to its cost-effectiveness, efficiency, and repeatability. Ensuring the quality of such software is vital, especially in scenarios where business requirements are uncertain and volatile. In this paper, we propose Cytestion, a tool that automatically explores a web application’s Graphical User Interface (GUI) to detect faults that cause visible failures, such as crashes, errors, and unexpected behaviors. For that, it applies a scriptless and progressive approach. To work as an oracle, Cytestion evaluates the output of each test case execution by considering the HTTP status of server requests, default and customized failure GUI messages, and console failure messages. We evaluated the effectiveness and cost of our approach in two empirical studies. The first study works with injected faults in open-source projects, while the second is a case study on eight industrial projects. Cytestion detected several faults in both studies and outperformed a state-of-the-art GUI testing tool.

Publicado
2023-09-25
Como Citar
MOURA, Thiago Santos de et al. Cytestion: Automated GUI Testing for Web Applications. Anais do Simpósio Brasileiro de Engenharia de Software (SBES), [S.l.], p. 388–397, set. 2023. ISSN 0000-0000. Disponível em: <https://sol.sbc.org.br/index.php/sbes/article/view/28308>. Acesso em: 17 maio 2024.