当前位置:
X-MOL 学术
›
arXiv.cs.SE
›
论文详情
Our official English website, www.x-mol.net, welcomes your
feedback! (Note: you will need to create a separate account there.)
CAT: Change-focused Android GUI Testing
arXiv - CS - Software Engineering Pub Date : 2020-11-23 , DOI: arxiv-2011.11766 Chao Peng, Ajitha Rajan
arXiv - CS - Software Engineering Pub Date : 2020-11-23 , DOI: arxiv-2011.11766 Chao Peng, Ajitha Rajan
Android Apps are frequently updated, every couple of weeks, to keep up with
changing user, hardware and business demands. Correctness of App updates is
checked through extensive testing. Recent research has proposed tools for
automated GUI event generation in Android Apps. These techniques, however, are
not efficient at checking App updates as the generated GUI events do not
prioritise updates, and instead explore other App behaviours. We address this need in this paper with CAT (Change-focused Android GUI
Testing). For App updates, at the source code or GUI level, CAT performs change
impact analysis to identify GUI elements affected by the update. CAT then
generates length-3 GUI event sequences to interact with these GUI elements. Our
empirical evaluations using 21 publicly available open source Android Apps
demonstrated that CAT is able to automatically identify GUI elements affected
by App updates, generate and execute length-3 GUI event sequences focusing on
change-affected GUI elements. Comparison with two popular GUI event generation
tools, DroidBot and DroidMate, revealed that CAT was more effective at
interacting with the change-affected GUI elements. Finally, CAT was able to
detect previously unknown change-related bugs in two Apps.
中文翻译:
CAT:以变更为中心的Android GUI测试
Android Apps每两周进行一次更新,以适应不断变化的用户,硬件和业务需求。应用更新的正确性通过广泛的测试来检查。最近的研究提出了用于在Android Apps中自动生成GUI事件的工具。但是,这些技术在检查App更新时效率不高,因为生成的GUI事件不会优先考虑更新,而是探究其他App行为。我们在本文中通过CAT(面向变更的Android GUI测试)满足了这一需求。对于App更新,CAT在源代码或GUI级别上执行更改影响分析,以识别受更新影响的GUI元素。CAT然后生成长度为3的GUI事件序列,以与这些GUI元素进行交互。我们使用21个可公开获取的开源Android应用程序进行的经验评估表明,CAT能够自动识别受应用程序更新影响的GUI元素,生成并执行长度为3的GUI事件序列,重点关注受更改影响的GUI元素。通过与两种流行的GUI事件生成工具DroidBot和DroidMate进行比较,发现CAT在与受变更影响的GUI元素进行交互方面更为有效。最终,CAT能够在两个应用程序中检测到以前未知的与变更相关的错误。
更新日期:2020-11-25
中文翻译:
CAT:以变更为中心的Android GUI测试
Android Apps每两周进行一次更新,以适应不断变化的用户,硬件和业务需求。应用更新的正确性通过广泛的测试来检查。最近的研究提出了用于在Android Apps中自动生成GUI事件的工具。但是,这些技术在检查App更新时效率不高,因为生成的GUI事件不会优先考虑更新,而是探究其他App行为。我们在本文中通过CAT(面向变更的Android GUI测试)满足了这一需求。对于App更新,CAT在源代码或GUI级别上执行更改影响分析,以识别受更新影响的GUI元素。CAT然后生成长度为3的GUI事件序列,以与这些GUI元素进行交互。我们使用21个可公开获取的开源Android应用程序进行的经验评估表明,CAT能够自动识别受应用程序更新影响的GUI元素,生成并执行长度为3的GUI事件序列,重点关注受更改影响的GUI元素。通过与两种流行的GUI事件生成工具DroidBot和DroidMate进行比较,发现CAT在与受变更影响的GUI元素进行交互方面更为有效。最终,CAT能够在两个应用程序中检测到以前未知的与变更相关的错误。