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
GUI driven End to End Regression testing with Selenium
Linnaeus University, Faculty of Technology, Department of Computer Science.
2017 (English)Independent thesis Basic level (degree of Bachelor), 10 credits / 15 HE creditsStudent thesis
Abstract [en]

Digitalization has changed our world and how we interact with different systems. Desktop applications have more and more been integrated with internet, and the web browser has become the Graphical User Interface (GUI) in today’s system solutions. A change that needs to be considered in the automated regression testing process. Using the actual GUI has over time shown to be a complicated task and is therefore often broken out as its own standalone test object. This study looked into time and quality constrains of using the GUI as driver of the regression testing of business requirements in a web based solution. By evaluating the differences in execution times of test cases between Application Programming Interface (API) calls and GUI driven testing, flakiness of test results and required modifications over time for a specific test suite. These constraints were analyzed by looking into how reliability of the test results could be achieved. With a GUI driven full end to end scope the quality in software solutions could be improved with a reduction in the number of interface issues and detected errors in deployed systems. It would also reduce the volume of test cases that needs to be executed and maintained as there are no longer standalone parts to verify separately with partially overlapping test cases. The implementation utilized Selenium WebDriver to drive the GUI and the results showed that by utilizing Selenium the test execution times were increased from approximately 2 seconds (API) to 20-75 seconds (Selenium). The flaky test results could be eliminated by applying the appropriate pattern to detect, locate, and scroll into visibility prior to interacting with the elements. In the end of the study the test execution results were 100% reliable. The navigation required 15 modifications over time to keep them running. By applying the appropriate pattern a reliable test result can be achieved in end to end regression testing where the test case is driven from the GUI, however with an increase in execution time.

Place, publisher, year, edition, pages
2017. , 62 p.
Keyword [en]
Selenium, WebDriver, Regression testing, GUI driven testing, Single Page Application, SPA, Application Programming Interface, API
National Category
Computer Science
Identifiers
URN: urn:nbn:se:lnu:diva-68529OAI: oai:DiVA.org:lnu-68529DiVA: diva2:1153778
External cooperation
Svenska Spel AB
Subject / course
Computer Science
Educational program
Datavetenskap, kandidatprogram, 60 hp
Presentation
2017-06-01, Ny110K, Linnéuniversitetet, Kalmar, 14:17 (English)
Supervisors
Examiners
Available from: 2017-10-31 Created: 2017-10-31 Last updated: 2017-10-31Bibliographically approved

Open Access in DiVA

fulltext(2142 kB)7 downloads
File information
File name FULLTEXT01.pdfFile size 2142 kBChecksum SHA-512
ee98da04de17e9e61c49d23e681b4b27fe66e4f44521a54d032408b47f22abad087eea2e95e135b0b4bd18cc3afce71eb1e90e694f38775a06e6e69f51b4067f
Type fulltextMimetype application/pdf

Search in DiVA

By author/editor
Hamberg, Christer
By organisation
Department of Computer Science
Computer Science

Search outside of DiVA

GoogleGoogle Scholar
Total: 7 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

Total: 41 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