首页> 外文期刊>Software Testing, Verification and Reliability >Automated visual classification of DOM-based presentation failure reports for responsive web pages
【24h】

Automated visual classification of DOM-based presentation failure reports for responsive web pages

机译:基于DOM的演示失败报告的自动视觉分类为响应网页

获取原文
获取原文并翻译 | 示例
           

摘要

Since it is common for the users of a web page to access it through a wide variety of devices-including desktops, laptops, tablets and phones-web developers rely on responsive web design (RWD) principles and frameworks to create sites that are useful on all devices. A correctly implemented responsive web page adjusts its layout according to the viewport width of the device in use, thereby ensuring that its design suitably features the content. Since the use of complex RWD frameworks often leads to web pages with hard-to-detect responsive layout failures (RLFs), developers employ testing tools that generate reports of potential RLFs. Since testing tools for responsive web pages, like ReDeCheck, analyse a web page representation called the Document Object Model (DOM), they may inadvertently flag concerns that are not human visible, thereby requiring developers to manually confirm and classify each potential RLF as a true positive (TP), false positive (FP), or non-observable issue (NOI)-a process that is time consuming and error prone. The conference version of this paper presented Viser, a tool that automatically classified three types of RLFs reported by ReDeCheck. Since Viser was not designed to automatically confirm and classify two types of RLFs that ReDeCheck's DOM-based analysis could surface, this paper introduces Verve, a tool that automatically classifies all RLF types reported by ReDeCheck. Along with manipulating the opacity of HTML elements in a web page, as does Viser, the Verve tool also uses histogram-based image comparison to classify RLFs in web pages. Incorporating both the 25 web pages used in prior experiments and 20 new pages not previously considered, this paper's empirical study reveals that Verve's classification of all five types of RLFs frequently agrees with classifications produced manually by humans. The experiments also reveal that Verve took on average about 4 s to classify any of the RLFs among the 469 reported by ReDeCheck. Since this paper demonstrates that classifying an RLF as a TP, FP, or NOI with Verve, a publicly available tool, is less subjective and error prone than the same manual process done by a human web developer, we argue that it is well-suited for supporting the testing of complex responsive web pages.
机译:由于网页的用户很常见,以通过各种设备访问它 - 包括桌面,笔记本电脑,平板电脑和手机-Web开发人员依赖于响应网页设计(RWD)原则和框架来创建有用的网站所有设备。正确实现的响应网页根据使用中的设备的视口宽度调整其布局,从而确保其设计适当地具有内容。由于复杂的RWD框架的使用经常导致Web页面,并且难以检测到响应布局故障(RLF),开发人员采用生成潜在RLF报告的测试工具。由于响应网页的测试工具,如重新精读,分析名为Document对象模型(DOM)的网页表示,它们可能无意中标记不是人类可见的问题,从而要求开发人员手动确认并将每个潜在的RLF手动确认和分类为真实正(TP),假阳性(FP)或不可观察到的问题(NOI)-A的过程,这是耗时和易于易于出错的过程。本文的会议版本呈现Viser,该工具自动分类了redecheck报告的三种类型的RLF。由于VATER未设计为自动确认和分类两种类型的RLF,因此本文介绍了verve,这是一个自动分类redecheck报告的所有RLF类型的工具。随着在Web页面中的HTML元素的不透明度以及Viser,Verve工具还使用基于直方图的图像比较来对网页中的RLF进行分类。本文的实证实验中使用的25个网页和20个未考虑的新页面,揭示了Verve对所有五种类型的RLF的分类经常同意人类手动生产的分类。实验还揭示了平均迈出了大约4秒,以分类重新查询的469中的任何RLF。由于本文演示了将RLF作为TP,FP或NOI分类,因此可公开可用的工具,而不是由人类Web开发人员完成的相同手动过程的主观和错误,我们认为这是非常适合的用于支持复杂响应网页的测试。

著录项

获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号