Android GUI Testing: A comparative study of open source Android GUI testing frameworks
Independent thesis Basic level (degree of Bachelor), 15 credits / 22,5 HE creditsStudent thesis
Android is one of the most popular mobile operating systems on the market today with a vast majority of the market share when it comes to mobile devices. Graphical user interfaces (GUI) are often seen on the applications on these devices. Testing of these GUIs is important since they often make up for half of the source code of the application, and they are used to interact with the application. Automating these tests is very useful since it saves a lot of time, but can be difficult. The tools that are available for automating the tests are often not suitable for the developers’ needs, because of the lack of functionality. Therefore, the need for a characterization of the frameworks is needed, so that developers more easily can fit a framework for their needs.
In this study, four open source frameworks for Android GUI testing have been selected for evaluation: Robotium, Selendroid, UI Automator and Espresso. Criteria used in the evaluation have been identified with the help of a literature analysis.The results show that two of the frameworks, Robotium and Espresso, lack the ability to fully test activities, which is the main component of Android application GUIs. Furthermore, the study resulted in characterizations of the frameworks.
Place, publisher, year, edition, pages
2015. , 48 p.
Android, GUI testing, automated testing, evaluation of frameworks, Robotium, Selendroid, Espresso, UI Automator
IdentifiersURN: urn:nbn:se:his:diva-11107OAI: oai:DiVA.org:his-11107DiVA: diva2:820898
Subject / course
Computer Science - Specialization in Systems Development