AURORA:通过自动化神经屏幕理解导航 UI 陷阱
AURORA: Navigating UI Tarpits via Automated Neural Screen Understanding
AI总结:
本文提出 AURORA 技术,通过多模态神经屏幕分类器学习移动应用 UI 设计模式并应用启发式方法,有效导航复杂陷阱屏幕,在方法覆盖率上比先前方法提升 19.6%。
摘要:
近十年来,软件工程领域的研究一直专注于自动化移动应用测试,以帮助工程师克服与该软件平台相关的独特挑战。这些工作大多以自动化输入生成工具(AIG 工具)的形式出现,这些工具动态探索应用屏幕。然而,这类工具已被反复证明其代码覆盖率低于预期,特别是在复杂的专有应用上。先前的研究表明,这些覆盖率不足的一个主要原因是所谓的“陷阱”,即难以导航的复杂屏幕。\n 在本文中,我们通过一种新的自动化语义屏幕理解,迈出了使 AIG 工具在应用探索期间有效导航陷阱的关键一步。我们引入了 AURORA,这是一种从移动应用 UI 中存在的视觉和文本模式中学习,以自动检测常见屏幕设计并据此进行导航的技术。AURORA 的关键思想是,移动应用屏幕设计的数量是有限的,尽管存在细微变化,但不同类别 UI 设计的一般模式是可以学习的。因此,AURORA 采用了一个多模态神经屏幕分类器,能够识别最常见的 UI 屏幕设计类型。在识别给定屏幕后,它会应用一组灵活且可推广的启发式方法来正确导航该屏幕。我们既在先前工作中包含已知陷阱的一组 12 个应用上评估了 AURORA,也在 Google Play 商店中最受欢迎的五个新应用上进行了评估。结果表明,AURORA 能够有效导航陷阱屏幕,在方法覆盖率方面比先前避免陷阱的方法高出 19.6%。这些改进归功于 AURORA 的 UI 设计分类和启发式导航技术。
英文摘要:
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.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。