Testēšanas automatizācijas rīku Selenium un Selenide izmantošanas efektivitātes salīdzināšana viena projekta ietvaros
Author
Pirchalaišvili, Amirans
Co-author
Latvijas Universitāte. Eksakto zinātņu un tehnoloģiju fakultāte
Advisor
Arnicāns, Guntis
Date
2025Metadata
Show full item recordAbstract
Testēšanas automatizāciju var veikt, izmantojot dažādus rīkus un pieejas. Pareizo rīku kopuma izvēle ir nozīmīgs lēmums, kas tiek pieņemts testēšanas stratēģijas izstrādes gaitā. Šī darba mērķis ir salīdzināt vispārējās lietošanas ietvara izmantošanu pārlūkprogrammas mijiedarbības automatizācijā ar specializēta ietvara izmantošanu, kas izstrādāts tieši lietotāja saskarnes (UI) testu automatizācijai. Lai salīdzinātu abu pieeju efektivitāti, tika izstrādāts vienāds, pēc apjoma neliels testēšanas automatizācijas projekts, izmantojot divus dažādus rīkus — Selenium un Selenide. Tika veikta koda analīze, novērtējot abu ieviešanas variantu koda sarežģītību un norādot uz problēmpunktiem izstrādes procesā, tad tika salīdzināts kopējais koda apjoms abu projektu ieviešanā. Rezultāti parādīja, ka, izmantojot specializētu testēšanas automatizācijas ietvaru, testu gadījumu izstrāde nodrošināja vienkāršāku kodu un izvairījās no sarežģījumiem, kas bija sastopami, izmantojot vispārējās lietošanas ietvaru. Comparing The Effectiveness of Selenium and Selenide Test Automation Tools Within the Scope of One Project Test automation can be done with a wide variety of tools and approaches. Selecting the right set of tools for the job is an important decision made as part of developing a testing strategy. The goal of this thesis is to compare the use of a general-use framework for automating browser interactions to the use of a specialized framework, developed with an express purpose of UI test automation. In order to compare the efficiency of the two approaches, the same test automation project with a modest scope was implemented using two different tools – Selenium and Selenide. Afterwards, code analysis was performed, judging the complexity of the code of both implementations, and pointing out the pain points in the development process. Then the overall amount of code was compared between the two implementations. The results showed that implementing test cases using a specialized test automation framework produced simpler code and avoided complications which were present in the implementation done in a non-specialized framework.