As Augmented Reality (AR) becomes more and more embedded in daily life, ensuring the quality, safety, and reliability of AR applications is increasingly important. However, AR apps present unique challenges for automated testing. Unlike static GUI layouts in traditional mobile apps, AR apps acquire their interaction interface from the surrounding environment, which is volatile and non-deterministic. Recent advancements like ARCore Playback and ARKit Replay allow developers to reuse real-world scenarios by recording and playing back enriched videos, enabling more feasible automated AR testing. However, using playback videos introduces two major challenges: test inputs must be timed precisely, and interactive areas in the video are dynamic, irregular, and difficult to identify. To address these challenges, we propose TARIPlay, a framework that analyzes playback videos to detect, track, and filter proper interactive areas over time for automated testing. In particular, TARIPlay identifies viable test opportunities based on criteria like stability and visibility, then feeds this information to an automated testing engine to simulate user interactions. We perform an experiment with four open-source AR apps and nine playback videos. Evaluation results show that TARIPlay significantly outperforms the existing tool Monkey in test coverage (55.8% over 41.98% on branch coverage) of AR-related code, and can also be used to assess the quality of playback videos for testing suitability.


翻译:随着增强现实(AR)日益融入日常生活,确保AR应用的质量、安全性和可靠性变得愈发重要。然而,AR应用为自动化测试带来了独特挑战。与传统移动应用中固定的GUI布局不同,AR应用从周围环境获取交互界面,这种环境具有易变性和非确定性。ARCore Playback和ARKit Replay等最新进展允许开发者通过录制和回放增强视频来复用真实场景,从而使自动化AR测试更加可行。然而,使用回放视频带来了两大挑战:测试输入必须精确计时,且视频中的交互区域动态、不规则且难以识别。为应对这些挑战,我们提出TARIPlay框架,该框架分析回放视频以检测、跟踪和过滤随时间变化的合适交互区域,用于自动化测试。具体而言,TARIPlay基于稳定性和可见性等标准识别可行的测试机会,然后将这些信息输入自动化测试引擎以模拟用户交互。我们使用四个开源AR应用和九个回放视频进行了实验。评估结果表明,TARIPlay在AR相关代码的测试覆盖率(分支覆盖率55.8%对比41.98%)上显著优于现有工具Monkey,还可用于评估回放视频的测试适用性质量。

0
下载
关闭预览

相关内容

下一代战术训练:沉浸式VR与AR模拟系统
专知会员服务
18+阅读 · 2025年12月28日
中国增强现实(AR)行业研究报告(附报告),67页ppt
专知会员服务
44+阅读 · 2023年3月17日
增强现实(AR)技术在增强型指挥与控制中的应用
专知会员服务
57+阅读 · 2022年6月9日
专知会员服务
22+阅读 · 2021年10月9日
专知会员服务
48+阅读 · 2021年6月27日
商汤新青年访谈录丨AR爆款应用背后的故事
商汤科技
11+阅读 · 2019年3月14日
爱奇艺基于AI的移动端自动化测试框架的设计
前端之巅
18+阅读 · 2019年2月27日
国家自然科学基金
0+阅读 · 2015年12月31日
国家自然科学基金
2+阅读 · 2015年12月31日
国家自然科学基金
1+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2015年12月31日
国家自然科学基金
2+阅读 · 2015年12月31日
国家自然科学基金
2+阅读 · 2015年12月31日
国家自然科学基金
1+阅读 · 2015年12月31日
国家自然科学基金
1+阅读 · 2014年12月31日
国家自然科学基金
0+阅读 · 2014年12月31日
国家自然科学基金
12+阅读 · 2014年12月31日
VIP会员
最新内容
学习数据的几何:形状空间分析数学综述
专知会员服务
1+阅读 · 今天14:45
定向能反无人机系统最新发展动态
专知会员服务
4+阅读 · 今天13:50
从燃煤战舰到算法战争:水面指挥的永恒要求
专知会员服务
3+阅读 · 今天13:33
相关基金
国家自然科学基金
0+阅读 · 2015年12月31日
国家自然科学基金
2+阅读 · 2015年12月31日
国家自然科学基金
1+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2015年12月31日
国家自然科学基金
2+阅读 · 2015年12月31日
国家自然科学基金
2+阅读 · 2015年12月31日
国家自然科学基金
1+阅读 · 2015年12月31日
国家自然科学基金
1+阅读 · 2014年12月31日
国家自然科学基金
0+阅读 · 2014年12月31日
国家自然科学基金
12+阅读 · 2014年12月31日
Top
微信扫码咨询专知VIP会员