Juan de Dios Delgado Bernal, Iván Medina Domínguez , Erick David Gutiérrez Hernández – Delber and University Panamericana
Testing is a crucial activity in the Software Development Process and the effective testing produces high-quality software. Software test automation is used widely to improve the quality and efficiency on the software, using techniques as End-To-End (E2E) to test an entire flow such as final user simulating their actions (clicks, inputs, etc.). This is quite useful since as the project grows the amount of scenarios to test also increased but building a test automation framework handling E2E testing is not easy on the programming world and even more if so would like to be configured to run on a Continuous Integration (CI) system that can execute all the tests every X amount of time or after a deploy.
We’ll be using TestCafe as our tool of choice, a free and open-source node.js end-to-end automation tool used to test web applications able to run tests on different popular browsers to carry over multiple tasks and with the possibility to integrate our tests with CI pipelines. In this paper we are going to dive into the world of test automation framework and will show how to create a simple and efficient test automation framework project with TesteCafe, making a demo with a script running across different web browsers configured with CI.
So, grab a cup of coffee, and let’s try to finish our test before our coffee gets cold.