Turner, Jessica DawnBowen, Judith Alyson2024-07-122024-07-122024Turner, J., & Bowen, J. (2024). Automating test scripts for Android UI testing [Conference item]. 10th International Conference on Software Engineering. https://doi.org/10.5121/csit.2024.140701https://hdl.handle.net/10289/16672The Espresso capture/replay testing tool for Android applications creates tests that are prone to test fragility, in that when small changes occur to the user interface, tests break and are unable to be re-run. To reduce the fragility and its impact inherent in Espresso tests, we take a modeldriven development approach to test generation. Using interaction sequence models as the basis for generation, we are able to create test scripts that can be run in Android Studio identically to manually recorded tests. This process simplifies scripts when compared with those generated by recording and reduces the time required by developers to create and maintain the test suite, resulting in higher quality testing and validation of Android user interfaces.Attribution 4.0 International © 2024 By AIRCC Publishing Corporation. This article is published under the Creative Commons Attribution (CC BY) license.http://creativecommons.org/licenses/by/4.0/capture/replay testingAndroidmodel-driven developmentuser interfacesAutomating test scripts for Android UI testingConference Contribution10.5121/csit.2024.14070146 Information and Computing Sciences4612 Software Engineering