Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
skip to main content
10.1145/3340433.3342823acmconferencesArticle/Chapter ViewAbstractPublication PagesisstaConference Proceedingsconference-collections
short-paper

Lessons learned from making the transition to model-based GUI testing

Published: 26 August 2019 Publication History

Abstract

Model-based testing (MBT) has been proposed as an effective and versatile approach for testing graphical user interfaces (GUIs) by automatically generating executable test cases from a model of the GUI. Model-based GUI testing has received increasing attention in research, but it is still rarely applied in practice. In this paper, we present our experiences and share the lessons we learned from successfully introducing MBT for GUI testing in three industry projects. We describe the underlying modeling approach, the development of tests models in joint workshops, the implementation of the test model in form of model programs, and the integration of MBT in the test automation architecture. The findings distilled from the three cases are summarized as lessons learned to support the adoption of a model-based approach for GUI testing in practice.

References

[1]
M. Vieira, J. Leduc, B. Hasling, R. Subramanyan, and J. Kazmeier. 2006. Automation of GUI Testing Using a Model-driven Approach, In Proceedings of the 2006 International Workshop on Automation of Software Test, 2006, pp. 9–14.
[2]
A. M. Memon. 2007. An Event-flow Model of GUI-based Applications for Testing: Research Articles, Softw. Test. Verif. Reliab., vol. 17, no. 3, pp. 137–157, Sept. 2007.
[3]
A. Kervinen, M. Maunumaa, T. Pääkkönen, and M. Katara. 2006. Model-Based Testing Through a GUI. In Proceedings of the 5th International Conference on Formal Approaches to Software Testing, 2006, pp. 16–31.
[4]
V. Entin, M. Winder, B. Zhang, and S. Christmann. 2012. Introducing Modelbased Testing in an Industrial Scrum Project. In Proceedings of the 7th International Workshop on Automation of Software Test, 2012, pp. 43–49.
[5]
V. Chinnapongse, I. Lee, O. Sokolsky, S. Wang, and P.L. Jones. 2009. Modelbased testing of GUI-driven applications. In IFIP International Workshop on Software Technolgies for Embedded and Ubiquitous Systems, 2009, pp. 203–214.
[6]
A. Kervinen, M. Maunumaa, T. Pääkkönen, and M. Katara. 2005. Model-based testing through a GUI. In International Workshop on Formal Approaches to Software Testing, Springer, Berlin, Heidelberg, 2005, pp. 16–31.
[7]
R. Ramler, G. Buchgeher, and C. Klammer. 2018. Adapting automated test generation to GUI testing of industry applications. Information and Software Technology, vo. 93, Jan. 2018, pp.248-263.
[8]
C. Klammer and R. Ramler. 2017. A Journey from Manual Testing to Automated Test Generation in an Industry Project. In IEEE International Conf. on Software Quality, Reliability and Security Companion (QRS-C), 2017, pp. 591–592.
[9]
R. Ramler, C. Klammer, and G. Buchgeher. 2018. Applying Automated Test Case Generation in Industry: A Retrospective. In IEEE International Conference on Software Testing, Verification and Validation Workshops (ICSTW), 2018, pp. 364–369.
[10]
I Banerjee. 2017. Advances in Model-Based Testing of GUI-Based Software. In Advances in Computers, vol. 105, Elsevier, pp. 45–78.
[11]
R. Yang, Z. Chen, Z. Zhang, and B. Xu. 2015. EFSM-Based Test Case Generation: Sequence, Data, and Oracle. International Journal of Software Engineering and Knowledge Engineering, vol. 25, no. 04, May 2015, pp. 633–667.
[12]
M. Utting and B. Legeard. 2007. Practical model-based testing: a tools approach. Elsevier/Morgan Kaufmann, 2007.
[13]
H. Robinson. 2003. Obstacles and opportunities for model-based testing in an industrial software environment. In Proceedings of the 1st European Conference on Model-Driven Software Engineering, pp. 118–127.
[14]
T. Kanstrén and O.-P. Puolitaival. 2012. Using Built-In Domain-Specific Modeling Support to Guide Model-Based Test Generation. In Electronic Proceedings in Theoretical Computer Science, vol. 80, Feb. 2012, pp. 58–72.
[15]
R. Ramler and C. Klammer. 2019. Enhancing Acceptance Test-Driven Development with Model-based Test Generation. In IEEE International Conference on Software Quality, Reliability and Security Companion (QRS-C), 2019, pp.503-504.

Cited By

View all
  • (2024)Functional Test Generation Based on Requirements Defined at GUI LevelRecent Challenges in Intelligent Information and Database Systems10.1007/978-981-97-5937-8_27(326-336)Online publication date: 13-Aug-2024
  • (2022)UI-Test: A Model-Based Framework for Visual UI Testing– Qualitative and Quantitative EvaluationEvaluation of Novel Approaches to Software Engineering10.1007/978-3-030-96648-5_15(328-355)Online publication date: 11-Feb-2022

Recommendations

Comments

Information & Contributors

Information

Published In

cover image ACM Conferences
A-TEST 2019: Proceedings of the 10th ACM SIGSOFT International Workshop on Automating TEST Case Design, Selection, and Evaluation
August 2019
41 pages
ISBN:9781450368506
DOI:10.1145/3340433
Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than ACM must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected]

Sponsors

Publisher

Association for Computing Machinery

New York, NY, United States

Publication History

Published: 26 August 2019

Permissions

Request permissions for this article.

Check for updates

Author Tags

  1. GUI testing
  2. model-based testing
  3. test automation architecture
  4. test model development

Qualifiers

  • Short-paper

Funding Sources

  • Österreichische Forschungsförderungsgesellschaft

Conference

ESEC/FSE '19
Sponsor:

Upcoming Conference

ISSTA '25

Contributors

Other Metrics

Bibliometrics & Citations

Bibliometrics

Article Metrics

  • Downloads (Last 12 months)13
  • Downloads (Last 6 weeks)0
Reflects downloads up to 16 Oct 2024

Other Metrics

Citations

Cited By

View all
  • (2024)Functional Test Generation Based on Requirements Defined at GUI LevelRecent Challenges in Intelligent Information and Database Systems10.1007/978-981-97-5937-8_27(326-336)Online publication date: 13-Aug-2024
  • (2022)UI-Test: A Model-Based Framework for Visual UI Testing– Qualitative and Quantitative EvaluationEvaluation of Novel Approaches to Software Engineering10.1007/978-3-030-96648-5_15(328-355)Online publication date: 11-Feb-2022

View Options

Get Access

Login options

View options

PDF

View or Download as a PDF file.

PDF

eReader

View online with eReader.

eReader

Media

Figures

Other

Tables

Share

Share

Share this Publication link

Share on social media