...
首页> 外文期刊>Software Testing, Verification and Reliability >GUICop: Approach and toolset for specification-based GUI testing
【24h】

GUICop: Approach and toolset for specification-based GUI testing

机译:GUICop:基于规范的GUI测试的方法和工具集

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

摘要

Oracles used for testing graphical user interface (GUI) programmes are required to take into consideration complicating factors such as variations in screen resolution or colour scheme when comparing observed GUI elements with expected GUI elements. Researchers proposed fuzzy comparison rules and computationally expensive image processing techniques to tame the comparison process because otherwise the naive matching comparison would be too constraining and consequently impractical. Alternatively, this paper proposes GUICop, a novel approach with a supporting toolset that takes (1) a GUI programme and (2) user-defined GUI specifications characterizing the rendering behaviour of the GUI elements and checks whether the execution traces of the programme satisfy the specifications. GUICop comprises the following: (1) a GUI Specification Language; (2) a Driver; (3) Instrumented GUI Libraries; 4) a Solver; and (5) a Code Weaver. The user defines the specifications of the subject GUI programme using the GUI Specification Language. The Driver traverses the GUI structure of the programme and generates events that drive its execution. The Instrumented GUI Libraries capture the GUI execution trace, ie, information about the positions and visibility of the GUI elements. And the Solver, enabled by code injected by the Code Weaver, checks whether the traces satisfy the specifications. GUICop was successfully evaluated using 4 open source GUI applications that included 8 defects, namely, Jajuk, Gason, JEdit, and TerpPaint.
机译:在将观察到的GUI元素与预期的GUI元素进行比较时,需要使用用于测试图形用户界面(GUI)程序的Oracle来考虑复杂的因素,例如屏幕分辨率或配色方案的变化。研究人员提出了模糊比较规则和计算上昂贵的图像处理技术,以驯服比较过程,因为否则天真的匹配比较会过于局限,因此不切实际。或者,本文提出了GUICop,一种具有支持工具集的新颖方法,该工具集采用(1)GUI程序和(2)用户定义的GUI规范来表征GUI元素的呈现行为,并检查程序的执行轨迹是否满足要求。规格。 GUICop包括以下内容:(1)GUI规范语言; (2)司机; (3)仪器化GUI库; 4)求解器; (5)一个代码编织者。用户使用GUI规范语言定义主题GUI程序的规范。驱动程序遍历程序的GUI结构,并生成驱动程序执行的事件。仪器化的GUI库捕获GUI执行跟踪,即有关GUI元素的位置和可见性的信息。求解器由Code Weaver注入的代码启用,可以检查迹线是否满足规范。 GUICop已成功使用4个开源GUI应用程序进行了评估,其中包括Jajuk,Gason,JEdit和TerpPaint等8个缺陷。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号