arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2301.03863cs.SE
收藏

考虑视觉重叠的演化应用的鲁棒Web元素识别

Robust web element identification for evolving applications by considering visual overlaps

Michel Nass, Riccardo Coppola, Emil Alégroth, Robert Feldt

摘要:

易碎(即,非鲁棒性)测试执行是随着Web应用程序的发展而对它们进行的基于GUI的自动化测试的常见挑战。尽管最近取得了进展,但仍有改进的空间,因为技术限制导致的测试执行失败会导致不必要的维护成本,从而限制其有效性和效率。对于基于Web的测试来说,报告最多的技术挑战之一是如何可靠地定位测试脚本所使用的Web元素。本文提出了视觉重叠节点(VON),减少脆弱性的新概念,利用视觉Web元素(由用户观察)的现象,从多个Web元素的文档对象模型(DOM),在视觉上重叠。我们展示了一个工具,冯Similo,它扩展了国家的最先进的多定位器的方法(Similo),也被用作实验的基线的方法。在实验中,一组1163个手动收集的web元素对,来自互联网上最流行的40个网站的不同版本,用于比较方法的精确度,召回率和准确度。我们的研究结果表明,VON Similo在识别相同SUT的新版本中的Web元素时提供了94.7%的准确率。相比之下,Similo的准确率为83.8%。这些结果表明,在不断发展的Web应用程序中的Web元素本地化的视觉重叠节点的概念/工具的适用性,并有助于在未来的研究基于GUI的测试Web元素本地化的一种新的思路。

英文摘要:

Fragile (i.e., non-robust) test execution is a common challenge for automated GUI-based testing of web applications as they evolve. Despite recent progress, there is still room for improvement since test execution failures caused by technical limitations result in unnecessary maintenance costs that limit its effectiveness and efficiency. One of the most reported technical challenges for web-based tests concerns how to reliably locate a web element used by a test script. This paper proposes the novel concept of Visually Overlapping Nodes (VON) that reduces fragility by utilizing the phenomenon that visual web elements (observed by the user) are constructed from multiple web-elements in the Document Object Model (DOM) that overlaps visually. We demonstrate the approach in a tool, VON Similo, which extends the state-of-the-art multi-locator approach (Similo) that is also used as the baseline for an experiment. In the experiment, a ground truth set of 1163 manually collected web element pairs, from different releases of the 40 most popular websites on the internet, are used to compare the approaches' precision, recall, and accuracy. Our results show that VON Similo provides 94.7% accuracy in identifying a web element in a new release of the same SUT. In comparison, Similo provides 83.8% accuracy. These results demonstrate the applicability of the visually overlapping nodes concept/tool for web element localization in evolving web applications and contribute a novel way of thinking about web element localization in future research on GUI-based testing.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑