AURORA: Navigating UI Tarpits via Automated Neural Screen Understanding

Fuente: arXiv
Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: Khan, Safwat Ali, Wang, Wenyu, Ren, Yiran, Zhu, Bin, Shi, Jiangfan, McGowan, Alyssa, Lam, Wing, Moran, Kevin
Format: Preprint
Veröffentlicht: 2024
Schlagworte:
Online-Zugang:
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
_version_ 1866913576727347200
author Khan, Safwat Ali
Wang, Wenyu
Ren, Yiran
Zhu, Bin
Shi, Jiangfan
McGowan, Alyssa
Lam, Wing
Moran, Kevin
author_facet Khan, Safwat Ali
Wang, Wenyu
Ren, Yiran
Zhu, Bin
Shi, Jiangfan
McGowan, Alyssa
Lam, Wing
Moran, Kevin
contents Nearly a decade of research in software engineering has focused on automating mobile app testing to help engineers in overcoming the unique challenges associated with the software platform. Much of this work has come in the form of Automated Input Generation tools (AIG tools) that dynamically explore app screens. However, such tools have repeatedly been demonstrated to achieve lower-than-expected code coverage - particularly on sophisticated proprietary apps. Prior work has illustrated that a primary cause of these coverage deficiencies is related to so-called tarpits, or complex screens that are difficult to navigate. In this paper, we take a critical step toward enabling AIG tools to effectively navigate tarpits during app exploration through a new form of automated semantic screen understanding. We introduce AURORA, a technique that learns from the visual and textual patterns that exist in mobile app UIs to automatically detect common screen designs and navigate them accordingly. The key idea of AURORA is that there are a finite number of mobile app screen designs, albeit with subtle variations, such that the general patterns of different categories of UI designs can be learned. As such, AURORA employs a multi-modal, neural screen classifier that is able to recognize the most common types of UI screen designs. After recognizing a given screen, it then applies a set of flexible and generalizable heuristics to properly navigate the screen. We evaluated AURORA both on a set of 12 apps with known tarpits from prior work, and on a new set of five of the most popular apps from the Google Play store. Our results indicate that AURORA is able to effectively navigate tarpit screens, outperforming prior approaches that avoid tarpits by 19.6% in terms of method coverage. The improvements can be attributed to AURORA's UI design classification and heuristic navigation techniques.
format Preprint
id arxiv_https___arxiv_org_abs_2404_01240
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle AURORA: Navigating UI Tarpits via Automated Neural Screen Understanding
Khan, Safwat Ali
Wang, Wenyu
Ren, Yiran
Zhu, Bin
Shi, Jiangfan
McGowan, Alyssa
Lam, Wing
Moran, Kevin
Software Engineering
Computation and Language
Computer Vision and Pattern Recognition
Human-Computer Interaction
Nearly a decade of research in software engineering has focused on automating mobile app testing to help engineers in overcoming the unique challenges associated with the software platform. Much of this work has come in the form of Automated Input Generation tools (AIG tools) that dynamically explore app screens. However, such tools have repeatedly been demonstrated to achieve lower-than-expected code coverage - particularly on sophisticated proprietary apps. Prior work has illustrated that a primary cause of these coverage deficiencies is related to so-called tarpits, or complex screens that are difficult to navigate. In this paper, we take a critical step toward enabling AIG tools to effectively navigate tarpits during app exploration through a new form of automated semantic screen understanding. We introduce AURORA, a technique that learns from the visual and textual patterns that exist in mobile app UIs to automatically detect common screen designs and navigate them accordingly. The key idea of AURORA is that there are a finite number of mobile app screen designs, albeit with subtle variations, such that the general patterns of different categories of UI designs can be learned. As such, AURORA employs a multi-modal, neural screen classifier that is able to recognize the most common types of UI screen designs. After recognizing a given screen, it then applies a set of flexible and generalizable heuristics to properly navigate the screen. We evaluated AURORA both on a set of 12 apps with known tarpits from prior work, and on a new set of five of the most popular apps from the Google Play store. Our results indicate that AURORA is able to effectively navigate tarpit screens, outperforming prior approaches that avoid tarpits by 19.6% in terms of method coverage. The improvements can be attributed to AURORA's UI design classification and heuristic navigation techniques.
title AURORA: Navigating UI Tarpits via Automated Neural Screen Understanding
topic Software Engineering
Computation and Language
Computer Vision and Pattern Recognition
Human-Computer Interaction
url https://arxiv.org/abs/2404.01240