发表机构
Harbin Institute of Technology; Beijing Institute of Technology; Beihang University; Peking University(哈尔滨工业大学; 北京理工大学; 北航; 北京大学)
机构由 AI 辅助整理,请以论文原文为准。AI 中文总结
研究从安卓到开源鸿蒙系统的图形用户界面测试迁移问题,构建数据集,选择并适配两种先进迁移方法进行评估,发现现有方法效果不佳,进而提出增强方法ITeM-HM,显著提升了测试迁移成功率。
AI 中文摘要
为减少从安卓到开源鸿蒙系统测试相应应用所需的大量工程工作量,迁移现有图形用户界面测试用例成为关键问题。当前研究未针对开源鸿蒙提出解决方案,也未对该系统上的迁移方法进行系统评估。本文首次对从安卓到开源鸿蒙的测试迁移进行系统实证研究。构建了ATH基准数据集,选择两种先进测试迁移方法并适配到开源鸿蒙,从测试性能、失败根源和开源鸿蒙特性影响三个角度评估。结果显示现有方法在该场景效果不佳,通过分析失败案例提出基于ITeM的增强方法ITeM-HM,相对原ITeM成功率提升214%。
英文摘要
To reduce the substantial engineering effort required to test the corresponding applications from Android to OpenHarmony, migrating existing GUI test cases has become a critical problem. However, current research neither proposes solutions tailored for OpenHarmony nor provides a systematic evaluation of migration approaches on this system, leaving developers with limited empirical guidance in practice. In this paper, we present the first systematic empirical study of test migration from Android to OpenHarmony. Specifically, we first construct a dataset referred to as the ATH Benchmark, comprising 36 commercial applications with an average of over 9 billion downloads, along with 108 manually designed test cases. Second, we select two state-of-the-art test migration approaches (i.e., ReSPlay and ITeM) and adapt these two approaches to enable their execution on OpenHarmony. Third, we use the preceding infrastructure to evaluate these two approaches from three perspectives, including testing performance, root causes of failures, and the impact of OpenHarmony characteristics. Our results reveal that existing test migration approaches are less effective (15% success-rate on ReSPlay and 26% success-rate on ITeM) in Android-to-OpenHarmony scenarios. Through an in-depth analysis of failed cases, we identify that test performance is primarily hindered by OpenHarmony-specific characteristics, including technical architecture differences and unique ecosystem traits. Utilizing these findings, we propose an enhanced approach based on ITeM, referred as ITeM-HM, which incorporates specific OpenHarmony system features. As a result, ITeM-HM successfully achieves a 214% success-rate relative improvement over the original ITeM (from 26% to 81%).