Achieving high code coverage in android UI testing via automated widget exercising

Yauhen Leanidavich Arnatovich, Minh Ngoc Ngo, Tan Hee Beng Kuan, Charlie Soh

Research output: Chapter in Book or Report/Conference proceedingConference Proceedingpeer-review

20 Citations (Scopus)

Abstract

Automated functional user interface (UI) testing of mobile apps is a challenging task due to the highly interactive nature of the app UIs, and thus it commonly fails to provide high code coverage. In this paper, we present DroidDEV, an automated UI exerciser which aims to achieve high code coverage for real-world Android apps. DroidDEV dynamically builds a finite UI flow graph, generates and injects UI-context-aware inputs to exercise all the widgets on all the UI screens through a best-first search path finding algorithm. We have evaluated DroidDEV on 20 real-world open-source Android apps and compared it with manual UI testing and two other prevalent automated approaches including MobiGUITAR and Monkey. On these subjects, DroidDEV reports code coverage similar to manual UI testing, and it outperforms MobiGUITAR and Monkey in terms of code coverage and exercising time.

Original languageEnglish
Title of host publicationProceedings - 23rd Asia-Pacific Software Engineering Conference, APSEC 2016
EditorsAlex Potanin, Gail C. Murphy, Steve Reeves, Jens Dietrich
PublisherIEEE Computer Society
Pages193-200
Number of pages8
ISBN (Electronic)9781509055753
DOIs
Publication statusPublished - 2 Jul 2016
Externally publishedYes
Event23rd Asia-Pacific Software Engineering Conference, APSEC 2016 - Hamilton, New Zealand
Duration: 6 Dec 20169 Dec 2016

Publication series

NameProceedings - Asia-Pacific Software Engineering Conference, APSEC
Volume0
ISSN (Print)1530-1362

Conference

Conference23rd Asia-Pacific Software Engineering Conference, APSEC 2016
Country/TerritoryNew Zealand
CityHamilton
Period6/12/169/12/16

Keywords

  • Android
  • Best-first search
  • Dynamic analysis
  • Functional UI testing
  • Input generation
  • UI exerciser
  • UI flow graph

Fingerprint

Dive into the research topics of 'Achieving high code coverage in android UI testing via automated widget exercising'. Together they form a unique fingerprint.

Cite this