Loading [a11y]/accessibility-menu.js
A Failed attempt at creating Guidelines for Visual GUI Testing: An industrial case study | IEEE Conference Publication | IEEE Xplore

A Failed attempt at creating Guidelines for Visual GUI Testing: An industrial case study


Abstract:

Software development is governed by guidelines that aim to improve the code’s qualities, such as maintainability. However, whilst coding guidelines are commonplace for so...Show More

Abstract:

Software development is governed by guidelines that aim to improve the code’s qualities, such as maintainability. However, whilst coding guidelines are commonplace for software, guidelines for testware are much less common. In particular, for GUI-based tests driven with image recognition, also referred to as Visual GUI Testing (VGT), explicit coding guidelines are missing.In this industrial case study, performed at the Swedish defence contractor Saab AB, we propose a set of coding guidelines for VGT and evaluate their impact on test scripts for an industrial, safety-critical system. To study the guidelines’ effect on maintenance costs, five representative manual test cases are each translated with and without the proposed guidelines in the two VGT tools SikuliX and EyeAutomate. As such, 20 test scripts were developed, with a combined development cost of more than 100 man-hours. Three of the tests are then maintained by one researcher and two practitioners for another version of the system and costs measured to evaluate return on investment. This analysis is complemented with observations and interviews to elicit practitioners’ perceptions and experiences with VGT.Results show that scripts developed with the guidelines had higher maintenance costs than scripts developed without guidelines. This is supported by qualitative results that many of the guidelines are considered inappropriate, superfluous or unnecessary due to the inherent properties of the scripts, e.g. their natural small size, linear flows, natural separation of concerns, and more. We conclude that there are differences between VGT scripts and software that prohibit direct translation of guidelines between the two. As such, we consider our study as a failure but argue that several lessons can be drawn from our results to guide future research into guidelines for VGT and GUI-based test automation.
Date of Conference: 12-16 April 2021
Date Added to IEEE Xplore: 24 May 2021
ISBN Information:
Print on Demand(PoD) ISSN: 2159-4848
Conference Location: Porto de Galinhas, Brazil

Contact IEEE to Subscribe

References

References is not available for this document.