Translation from Visual to Layout-based Android Test Cases: a Proof of Concept
Context: 2 nd generation (Layout-based) and 3 rd generation (Visual) GUI testing are two approaches for testing mobile GUIs, both with individual benefits and drawbacks. Previous research has presented approaches to translate 2 nd generation scripts to 3 rd generation scripts but not the vice versa. Goal: The objective of this work is to provide Proof of Concept of the effectiveness of automatic translation between existing 3 rd generation test scripts to 2 nd generation test scripts. Method: A tool architecture is presented and implemented in a tool capable of translating most 3 rd generation interactions with the GUI of an Android app into 2 nd generation instructions and oracles for the Espresso testing tool.Results: We validate our approach on two test suites of our own creation, consisting of 30 test cases each. The measured success rate of the translation is 96.7% (58 working test cases out of 60 applications of the translator). Conclusion: The study provides support for the feasibility of a translation-based approach from 3 rd to 2 nd generation test cases. However, additional work is needed to make the approach applicable in real-world scenarios or larger open-source test suites.
Wed 28 OctDisplayed time zone: Lisbon change
09:00 - 11:10 | |||
09:00 10mDay opening | Welcom INTUITESTBEDS 2020 | ||
09:10 30mFull-paper | Translation from Visual to Layout-based Android Test Cases: a Proof of Concept INTUITESTBEDS 2020 Riccardo Coppola Politecnico di Torino, Luca Ardito Politecnico di Torino, Marco Torchiano Politecnico di Torino, Emil Alégroth Blekinge Institute of Technology Link to publication DOI | ||
09:40 30mFull-paper | An Automated Testing Framework For Smart TV apps Based on Model Separation INTUITESTBEDS 2020 Bestoun S. Ahmed Karlstad University, Angelo Gargantini University of Bergamo, Miroslav Bures Czech Technical University in Prague Link to publication DOI | ||
10:10 30mFull-paper | Supporting efficient test automation using lightweight MBT INTUITESTBEDS 2020 Elodie Bernard FEMTO-ST Institute, Univ. Bourgogne Franche-Comté, Sogeti, Fabrice Ambert FEMTO-ST Institute, Bruno Legeard FEMTO-ST / DISC Link to publication DOI | ||
10:40 30mFull-paper | Model-Based Testing of GUI Applications Featuring Dynamic Instanciation of Widgets INTUITESTBEDS 2020 Alexandre Canny ICS-IRIT, Université Toulouse III Paul Sabatier, Philippe Palanque ICS-IRIT, Université Toulouse III Paul Sabatier, David Navarre ICS-IRIT, Université Toulouse III Paul Sabatier Link to publication DOI |