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
Visual GUI testing in practice: challenges, problems and limitations
Blekinge Institute of Technology, Faculty of Computing, Department of Software Engineering.ORCID iD: 0000-0002-5179-4205
2015 (English)In: Empirical Software Engineering, ISSN 1382-3256, E-ISSN 1573-7616, Vol. 20, no 3, p. 694-744Article in journal (Refereed) Published
Abstract [en]

In today’s software development industry, high-level tests such as Graphical User Interface (GUI) based system and acceptance tests are mostly performed with manual practices that are often costly, tedious and error prone. Test automation has been proposed to solve these problems but most automation techniques approach testing from a lower level of system abstraction. Their suitability for high-level tests has therefore been questioned. High-level test automation techniques such as Record and Replay exist, but studies suggest that these techniques suffer from limitations, e.g. sensitivity to GUI layout or code changes, system implementation dependencies, etc. Visual GUI Testing (VGT) is an emerging technique in industrial practice with perceived higher flexi- bility and robustness to certain GUI changes than previous high-level (GUI) test automation techniques. The core of VGT is image recognition which is applied to analyze and interact with the bitmap layer of a system’s front end. By coupling image recognition with test scripts, VGT tools can emulate end user behavior on almost any GUI-based system, regardless of implementation language, operating system or platform. However, VGT is not without its own challenges, problems and limitations (CPLs) but, like for many other automated test techniques, there is a lack of empirically-based knowledge of these CPLs and how they impact industrial applicability. Crucially, there is also a lack of information on the cost of applying this type of test automation in industry. This manuscript reports an empirical, multi-unit case study performed at two Swedish companies that develop safety-critical software. It studies their transition from manual system test cases into tests auto- mated with VGT. In total, four different test suites that together include more than 300 high-level system test cases were automated for two multi-million lines of code systems. The results show that the transitioned test cases could find defects in the tested systems and that all applicable test cases could be automated. However, during these transition projects a number of hurdles had to be addressed; a total of 58 different CPLs were identified and then categorized into 26 types. We present these CPL types and an analysis of the implications for the transition to and use of VGT in industrial software development practice. In addition, four high-level solutions are presented that were identified during the study, which would address about half of the identified CPLs. Furthermore, collected metrics on cost and return on investment of the VGT transition are reported together with information about the VGT suites’ defect finding ability. Nine of the identified defects are reported, 5 of which were unknown to testers with extensive experience from using the manual test suites. The main conclusion from this study is that even though there are many challenges related to the transition and usage of VGT, the technique is still valuable, flexible and considered cost-effective by the industrial practitioners. The presented CPLs also provide decision support in the use and advancement of VGT and potentially other automated testing techniques similar to VGT, e.g. Record and Replay.

Abstract [sv]

Vi presenterar utmaningar med att använda visuell GUI testning i industriell programvaruteknik.

Place, publisher, year, edition, pages
Springer , 2015. Vol. 20, no 3, p. 694-744
Keywords [en]
Software testing, Empirical study, Industrial practice, Visual GUI Testing
National Category
Computer Sciences
Identifiers
URN: urn:nbn:se:bth-6580DOI: 10.1007/s10664-013-9293-5ISI: 000354480800004Local ID: oai:bth.se:forskinfoCD41DEA0ABDA0DCFC1257D87003779FBOAI: oai:DiVA.org:bth-6580DiVA, id: diva2:834098
Available from: 2014-11-05 Created: 2014-11-05 Last updated: 2023-06-30Bibliographically approved

Open Access in DiVA

fulltext(559 kB)1732 downloads
File information
File name FULLTEXT02.pdfFile size 559 kBChecksum SHA-512
ff01b79f43d76186aa78af6ec2fc4943cbfa61be7ff4e1e68023c818845d8c67e70a254d4566a02ff86ece983d63747fb93c3d451bcdbec5c5b1a492fb275f4f
Type fulltextMimetype application/pdf

Other links

Publisher's full text

Authority records

Feldt, Robert

Search in DiVA

By author/editor
Feldt, Robert
By organisation
Department of Software Engineering
In the same journal
Empirical Software Engineering
Computer Sciences

Search outside of DiVA

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

doi
urn-nbn

Altmetric score

doi
urn-nbn
Total: 3403 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