Skip to main content
QUICK REVIEW

[Paper Review] Estimating Return on Investment for GUI Test Automation Tools

Felix Dobslaw, Robert Feldt|arXiv (Cornell University)|Jul 8, 2019
Software Testing and Debugging TechniquesComputer Science34 references5 citations
TL;DR

This paper proposes a manual, source-code history replay method to estimate maintenance costs and Return on Investment (ROI) for GUI test automation frameworks by replaying actual development changes. Applied to an industrial case study comparing Selenium and EyeAutomate, the method reveals that implementation time dominates total cost (≈90%), with EyeAutomate reducing implementation time but increasing maintenance by 32% and finding 25% more bugs.

ABSTRACT

Automated graphical user interface (GUI) tests can reduce manual testing activities and increase test frequency. This motivates the conversion of manual test cases into automated GUI tests. However, it is not clear whether such automation is cost-effective given that GUI automation scripts add to the code base and demand maintenance as a system evolves. In this paper, we introduce a method for estimating maintenance cost and Return on Investment (ROI) for Automated GUI Testing (AGT). The method utilizes the existing source code change history and can be used for evaluation also of other testing or quality assurance automation technologies. We evaluate the method for a real-world, industrial software system and compare two fundamentally different AGT tools, namely Selenium and EyeAutomate, to estimate and compare their ROI. We also report on their defect-finding capabilities and usability. The quantitative data is complemented by interviews with employees at the case company. The method was successfully applied and estimated maintenance cost and ROI for both tools are reported. Overall, the study supports earlier results showing that implementation time is the leading cost for introducing AGT. The findings further suggest that while EyeAutomate tests are significantly faster to implement, Selenium tests require more of a programming background but less maintenance.

Motivation & Objective

  • To address the lack of objective, empirical methods for estimating the long-term cost and ROI of GUI test automation in industrial settings.
  • To provide a decision-support method for selecting between competing GUI test automation frameworks based on actual historical development data.
  • To evaluate the trade-offs between implementation effort, maintenance cost, defect detection capability, and usability across different AGT frameworks.
  • To demonstrate the feasibility and value of using existing source code change history as a historical record for measuring automation costs and benefits.
  • To support project managers and teams in making informed, data-driven decisions about adopting GUI test automation technologies.

Proposed method

  • Replay the software’s source code change history step-by-step, using manual execution and tracking of test implementation and maintenance at each version.
  • Use a predefined process to measure implementation time (at initial rollout) and maintenance effort (over time) for each test case across versions.
  • Leverage version control history to simulate the evolution of test suites, treating each version as a milestone for cost measurement.
  • Collect time data for test creation, execution, and maintenance from human testers, ensuring realistic cost estimation.
  • Compare results across two AGT frameworks—Selenium (ID/name-based) and EyeAutomate (image-based)—using the same test suite and version history.
  • Complement quantitative data with interviews to assess usability, defect detection, and practical challenges in real-world use.

Experimental results

Research questions

  • RQ1What is the relative maintenance cost of two different GUI test automation frameworks—Selenium and EyeAutomate—over time in a real industrial system?
  • RQ2How does the initial implementation time for automated GUI tests compare to long-term maintenance costs for these frameworks?
  • RQ3What is the defect-finding capability of each framework, and how does it compare in terms of true positives and false negatives?
  • RQ4How does the usability of each framework differ, particularly in terms of required programming expertise and test creation speed?
  • RQ5To what extent can source code change history be used to estimate ROI for GUI test automation in practice?

Key findings

  • Implementation time accounted for approximately 90% of the total cost until ROI was reached for both Selenium and EyeAutomate.
  • EyeAutomate reduced initial implementation time compared to Selenium, but required 32% higher maintenance effort per version on average.
  • EyeAutomate detected 30 bugs, which was 25% more than Selenium’s 25 bugs, indicating higher defect-finding capability.
  • Selenium required a programming background for test creation, whereas EyeAutomate was accessible to non-programmers.
  • The manual step-wise replay method successfully estimated maintenance costs and ROI, providing actionable insights for framework selection.
  • Interviews revealed that human testers were more forgiving of visual changes in EyeAutomate, suggesting potential advantages in handling UI volatility.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.