GUI Test Transfer from Web to Android

GUI Test Transfer from Web to Android
复制标题

DOI:
10.1109/icst53961.2022.00011
复制
发表时间:
2022-04
期刊:
2022 IEEE Conference on Software Testing, Verification and Validation (ICST)
影响因子:
--
通讯作者:
Jun-Wei Lin;S. Malek
Jun-Wei Lin;S. Malek
中科院分区:
其他
文献类型:
--
作者:
Jun-Wei Lin;S. Malek

文献摘要

相似文献

GUI测试对于检查基于GUI的软件的端到端工作流程和可用性很重要。为了减少编写GUI测试的手动努力,最近的研究通过将GUI测试自动重复使用GUI测试的潜力来探索它们通过在类似应用中转移的潜力。但是,先前工作中缺少的是,在不同平台上可用的应用程序可能需要此类传输。特别是,Web和Android都是许多组织提供其软件服务的主要平台。在最新的实践中,即使组织提供的应用程序的Web和Android版本基本上共享了该功能,开发人员也必须为每个版本手动编写单独的测试集。本文提出了TransDroid,这是一种自动化工具,可将GUI测试从Web应用传输到其Android对应物。对现实世界Web和Android Apps上的经魔术的评估通过在未遂转移中达到77%的成功率,以及在GUI事件和口座的映射中获得了99%的召回,从而证实了其有效性。
GUI testing is important for examining the end-to-end workflows and usability of GUI-based software. To reduce the manual effort of writing GUI tests, recent research has explored the potential of automatically reusing GUI tests by transferring them across similar applications. However, what is missing from the prior work is that such transfer may be required for apps available on different platforms. In particular, both web and Android are dominant platforms on which many organizations provide their software services. At the state-of-the-practice, even if the web and Android versions of an app provisioned by an organization substantially share the functionality, the developers have to manually write separate sets of tests for each version. This paper proposes TransDroid, an automated tool that transfers GUI tests from a web app to its Android counterpart. Evaluation of TransDroid on real-world web and Android apps corroborates its effectiveness by achieving 77% success rate among the attempted transfers, along with 82% precision and 99% recall in the mapping of the GUI events and oracles.