Comparison of test automation frameworks for an Electron.js application
Pózna, Melinda Erika (2025)
Kandidaatintyö
Pózna, Melinda Erika
2025
School of Engineering Science, Tietotekniikka
Kaikki oikeudet pidätetään.
Julkaisun pysyvä osoite on
https://urn.fi/URN:NBN:fi-fe2025052353470
https://urn.fi/URN:NBN:fi-fe2025052353470
Tiivistelmä
Procasma is an internal assignment manager tool under development at LUT University using Electron.js and React. It is designed to make creating assignment variations and managing them easier, as well as to fight plagiarism among students. Procasma currently has various features such as CodeGrade integration, dividing courses into modules, denoting difficulty levels of assignments, etc. The software has so far only undergone manual testing.
The aim of this thesis is to compare different test automation frameworks that can potentially be used for automated testing of Procasma and select the most suitable one as the domain of its future automated testing system. The study uses Design Science Research methodology to find an answer for the proposed research questions.
After having WebDriverIO, Plawright and Selenium compared and tested out on Procasma, it has been found that WebDriverIO is the most suitable framework, as the other two had serious integration issues with the software. As a viable artifact, 19 end-to-end test cases have been developed with WebDriverIO that serve as a foundation for future test development. The created tests have successfully found several bugs in the application.
Future work should include refining and extending the scope of the existing test scenarios. Procasma should be refactored to facilitate better testability, and React.js component testing should be introduced to the system.
The aim of this thesis is to compare different test automation frameworks that can potentially be used for automated testing of Procasma and select the most suitable one as the domain of its future automated testing system. The study uses Design Science Research methodology to find an answer for the proposed research questions.
After having WebDriverIO, Plawright and Selenium compared and tested out on Procasma, it has been found that WebDriverIO is the most suitable framework, as the other two had serious integration issues with the software. As a viable artifact, 19 end-to-end test cases have been developed with WebDriverIO that serve as a foundation for future test development. The created tests have successfully found several bugs in the application.
Future work should include refining and extending the scope of the existing test scenarios. Procasma should be refactored to facilitate better testability, and React.js component testing should be introduced to the system.
