paperbot · PL 论文追踪

全部论文 待读 收藏

P2 LIRAT: Layout and Image Recognition Driving Automated Mobile Testing of Cross-Platform

LIRAT:布局与图像识别驱动的跨平台移动应用自动化测试
ASE 2019 34th IEEE/ACM International Conference on Automated Software Engineering (ASE)2019匹配度 1/10 · 论文关注跨平台移动GUI测试中的图像与布局识别回放,属于软件测试/开发者工具方向,不涉及静态分析、LLM/Agent、浮点程序分析或贝叶斯程序分析,与用户研究画像的核心问题无直接关联。引用 23 inbox
Shengcheng Yu, Chunrong Fang, Yang Feng, Wenyuan Zhao, Zhenyu Chen
crossref: 2026-09-12

AI 速览

一句话:提出图像与布局驱动的跨平台移动测试工具 LIRAT,首次实现测试脚本跨平台录制与回放。

移动平台碎片化问题覆盖 Android、iOS、移动 Web 和微信等多个平台,导致测试脚本难以跨平台运行。现有工具多采用传统计算机视觉技术在不同平台上回放同一脚本,但难以识别动态控件或相似控件,工程实用性受限。本文提出图像驱动的工具 LIRAT,用于跨平台录制与回放测试脚本,首次解决了测试脚本跨平台回放问题。LIRAT 记录控件的截图与布局信息,并在回放过程中利用图像理解技术定位控件;基于精确的控件定位,LIRAT 支持跨设备和跨平台的脚本回放。作者在 8 台 Android 设备和 2 台 iOS 设备上,对 5 个应用的 25 个脚本进行了回放评估,结果显示 Android 平台回放成功率为 88%,iOS 平台为 60%。演示地址见 GitHub。

问题
移动平台碎片化使得测试脚本无法跨平台复用,而现有基于传统计算机视觉的方案难以识别动态或相似控件。
方法
LIRAT 记录控件的截图与布局信息,并在回放时借助图像理解技术定位控件,从而实现跨设备、跨平台的测试脚本回放。
评估
在 8 台 Android 设备与 2 台 iOS 设备上回放来自 5 个应用的 25 个脚本,Android 平台成功率为 88%,iOS 平台为 60%。
原文摘要(Abstract)

The fragmentation issue spreads over multiple mobile platforms such as Android, iOS, mobile web, and WeChat, which hinders test scripts from running across platforms. To reduce the cost of adapting scripts for various platforms, some existing tools apply conventional computer vision techniques to replay the same script on multiple platforms. However, because these solutions can hardly identify dynamic or similar widgets. It becomes difficult for engineers to apply them in practice. In this paper, we present an image-driven tool, namely LIRAT, to record and replay test scripts cross platforms, solving the problem of test script cross-platform replay for the first time. LIRAT records screenshots and layouts of the widgets, and leverages image understanding techniques to locate them in the replay process. Based on accurate widget localization, LIRAT supports replaying test scripts across devices and platforms. We employed LIRAT to replay 25 scripts from 5 application across 8 Android devices and 2 iOS devices. The results show that LIRAT can replay 88% scripts on Android platforms and 60% on iOS platforms. The demo can be found at: https: //github.com/YSC9848/LIRAT.

链接与引用

DOI 原文 ·

BibTeX
@inproceedings{paperbot5233,
  title = {LIRAT: Layout and Image Recognition Driving Automated Mobile Testing of Cross-Platform},
  author = {Shengcheng Yu and Chunrong Fang and Yang Feng and Wenyuan Zhao and Zhenyu Chen},
  booktitle = {ASE},
  year = {2019},
  doi = {10.1109/ase.2019.00103}
}