Digitala Vetenskapliga Arkivet

Change search
CiteExportLink to record
Permanent link

Direct link
Cite
Citation style
  • apa
  • ieee
  • modern-language-association-8th-edition
  • vancouver
  • Other style
More styles
Language
  • de-DE
  • en-GB
  • en-US
  • fi-FI
  • nn-NO
  • nn-NB
  • sv-SE
  • Other locale
More languages
Output format
  • html
  • text
  • asciidoc
  • rtf
Robotic Process Automation in automated GUI testing of Web Applications
KTH, School of Electrical Engineering and Computer Science (EECS).
2021 (English)Independent thesis Advanced level (degree of Master (Two Years)), 20 credits / 30 HE creditsStudent thesisAlternative title
Robotic Process Automation i automatiserad GUI-testning av webbapplikationer (Swedish)
Abstract [en]

To ensure that the web applications we use in our daily life work as intended, thorough testing is essential. Testing of the Graphical User Interface (GUI) is one of the more challenging parts of software testing and is often a manual process. There are several ways to automate GUI testing. Robotic Process Automation (RPA), a recent technology where a software robot mimics the actions of a human operator, has been suggested as a method of improving automated GUI testing. This thesis study investigates the viability of using an RPA-based approach for automated GUI testing of web applications by evaluating how well it compares to a dedicated software tool developed specifically for automated GUI testing in terms of performance and user experience. This thesis study presents an RPA-based approach using UiPath for testing the GUI of web applications and compares it with an approach using Selenium IDE. To compare the two approaches, a web application provided by Sellpy is used as the application under test. A set of test cases is created based on a user-flow analysis. The test cases are implemented using each approach and performance in terms of execution time, number of flaky tests, and code footprint is evaluated for each approach. In addition, a user study is conducted to evaluate and compare the user experience when using each approach. The results show that an RPA-based approach can be used for automated GUI testing of web applications. The RPA-based approach managed to achieve the same amount of testing coverage. In terms of performance, the results in this study show that the approach using Selenium IDE outperforms the RPA- based approach in both execution time and code footprint. On the other hand, the RPA-based approach had fewer number of flaky tests. The test subjects preferred the RPA-based approach, but the study showed that the difference was not statistically significant. Based on the results, we draw the conclusion that an RPA-based approach using UiPath can be used in automated GUI testing of web applications. However, we suggest more research aimed at investigating long-term usage. 

Abstract [sv]

För att säkerställa att de webbapplikationer vi använder i vårt dagliga liv fungerar som planerat är ordentlig testning nödvändig. Testning av det grafiska användargränssnittet (GUI) är en av de mer utmanande delarna inom mjukvarutestning och är ofta en manuell process. Det finns dock sätt att automatisera denna process. Robotic Process Automation (RPA) är en ny teknik där en mjukvarurobot härmar mänskligt beteende och har föreslagits som en metod att förbättra automatiserad GUI-testning. Denna studie undersöker hur väl ett RPA-baserat tillvägagångssätt kan användas för automatiserad GUI-testning av webbapplikationer genom att jämföra den med ett programvaruverktyg som utvecklats specifikt för automatiserad GUI-testning. Jämförelsen sker genom att undersöka exekveringstid, antal odeterministiska tester och storleken av testfilerna. Denna studie redogör ett RPA-baserat tillvägagångssätt där UiPath används och jämför den med ett tillvägagångssätt där Selenium IDE används. För att jämföra det två tillvägagångssätten används en webbapplikation som tillhandahålls av Sellpy och används som applikation-under-test (AUT). En användarflödesanalys utförs och resultatet används för att skapa en uppsättning testfall. Testfallen implementeras med de båda tillvägagångssätten och en prestandaanalys genomförs, där exekveringstid, antal odeterministiska tester och filstorlek undersöks. Dessutom genomförs en användarstudie för att undersöka och jämföra tillvägagångssättens användarupplevelse. Resultaten visar att ett RPA-baserat tillvägagångssätt kan användas för automatiserad GUI-testning av webbapplikationer. Den RPA-baserade metoden lyckades uppnå samma testtäckning. Vad gäller prestanda så visar resultaten i denna studie att Selenium IDE presterar bättre än UiPath både när det gäller exekveringstid och filstorlek. Däremot hade UiPath färre odeterministiska tester. Användarstudien visade ingen signifikant skillnad mellan de två tillvägagångssätten, men testpersonerna föredrog det RPA-baserade tillvägagångssättet. Baserat på resultaten från denna studie drar vi slutsatsen att ett RPA-baserat tillvägagångssätt med UiPath kan användas som ett alternativ vid automatiserad GUI-testning av webbapplikationer. Vi föreslår dock mer forskning där långsiktig användning undersöks.

Place, publisher, year, edition, pages
2021. , p. 63
Series
TRITA-EECS-EX ; 2021:655
Keywords [en]
Robotic Process Automation, GUI testing, Test Automation, Software Robot, Web Application
Keywords [sv]
Robotic Process Automation, GUI-testning, Testautomatisering, Mjukvarurobot, Webbapplikation
National Category
Computer Sciences
Identifiers
URN: urn:nbn:se:kth:diva-304634OAI: oai:DiVA.org:kth-304634DiVA, id: diva2:1609800
External cooperation
Sellpy (Sellhelp AB)
Subject / course
Computer Science
Educational program
Master of Science - Computer Science
Supervisors
Examiners
Available from: 2021-11-10 Created: 2021-11-09 Last updated: 2025-01-17Bibliographically approved

Open Access in DiVA

fulltext(2674 kB)1068 downloads
File information
File name FULLTEXT01.pdfFile size 2674 kBChecksum SHA-512
1b3b63ed657d53fc7dea89687bfe4046f78de5eb27e196ea626a9c168242798744a7adbba4f621c9d974aa8a464ba27f07aba0ab0a15fc9bef7265c797cef0b2
Type fulltextMimetype application/pdf

By organisation
School of Electrical Engineering and Computer Science (EECS)
Computer Sciences

Search outside of DiVA

GoogleGoogle Scholar
Total: 1069 downloads
The number of downloads is the sum of all downloads of full texts. It may include eg previous versions that are now no longer available

urn-nbn

Altmetric score

urn-nbn
Total: 1363 hits
CiteExportLink to record
Permanent link

Direct link
Cite
Citation style
  • apa
  • ieee
  • modern-language-association-8th-edition
  • vancouver
  • Other style
More styles
Language
  • de-DE
  • en-GB
  • en-US
  • fi-FI
  • nn-NO
  • nn-NB
  • sv-SE
  • Other locale
More languages
Output format
  • html
  • text
  • asciidoc
  • rtf