Automation testing with Selenium Grid in the Virtual Lab environment
Nakayama, Rion (2023)
Julkaisun pysyvä osoite on
https://urn.fi/URN:NBN:fi:amk-2023121135993
https://urn.fi/URN:NBN:fi:amk-2023121135993
Tiivistelmä
UI testing plays an important role in the process of developing web applications as user interface is the foremost part that affects the user experience. Ensuring compatibility of web applications across different platforms and browsers is one challenge. The availability of a variety of browsers means that web applications can face a variety of problems. Selenium Grid is a convenient tool for performing automated cross browser and cross platform testing.
The objective of the study was to set up an environment for automated UI testing with Selenium Grid in the Xamk Virtual Lab environment and to verify the effectiveness of the combination. Xamk Virtual Laboratory is suitable for working with multiple virtual machines. Therefore, it was expected that Selenium Grid environment could be developed and maintained efficiently.
The test environment for running Selenium Grid was created in the Xamk Virtual Lab, for running automated UI tests on browser application with Windows 10, Windows 11, Linux and Android. Several tests were conducted using MediaWiki web page, to validate the usefulness of the setup.
The combination of Selenium Grid and Virtual Laboratory worked well. It made it easy to create and manage a Grid environment, with a user-friendly interface. However, there is room for improvement as the current implementation lacks stability, leading to occasional flaky tests.
The objective of the study was to set up an environment for automated UI testing with Selenium Grid in the Xamk Virtual Lab environment and to verify the effectiveness of the combination. Xamk Virtual Laboratory is suitable for working with multiple virtual machines. Therefore, it was expected that Selenium Grid environment could be developed and maintained efficiently.
The test environment for running Selenium Grid was created in the Xamk Virtual Lab, for running automated UI tests on browser application with Windows 10, Windows 11, Linux and Android. Several tests were conducted using MediaWiki web page, to validate the usefulness of the setup.
The combination of Selenium Grid and Virtual Laboratory worked well. It made it easy to create and manage a Grid environment, with a user-friendly interface. However, there is room for improvement as the current implementation lacks stability, leading to occasional flaky tests.