首页> 外文会议>Fourth IEEE international conference on software testing, verification, and validation workshops >Behind the Scenes: An Approach to Incorporate Context in GUI Test Case Generation
【24h】

Behind the Scenes: An Approach to Incorporate Context in GUI Test Case Generation

机译:幕后:在GUI测试用例生成中纳入上下文的方法

获取原文

摘要

Graphical user interfaces (GUIs) are a common way to interact with software. To ensure the quality of such software it is important to test the possible interactions with its user interface. GUI testing is a challenging task as they can allow, in general, infinitely many different sequences of interactions with the software. As it is only possible to test a limited amount of possible user interactions, it is crucial for the quality of GUI testing to identify relevant sequences and avoid improper ones. In this paper we propose a model for better GUI testing. Our model is created based on two observations. It is a common case that different user interactions result in the execution of the same code fragments. That is, it is sufficient to test only interactions that execute different code fragments. Our second observation is that user interactions are context-sensitive. That is, the control flow that is taken in a program fragment handling a user interaction depends on the order of some preceding user interactions. We show that these observations are relevant in practice. We present a preliminary implementation that utilizes these observations for test case generation.
机译:图形用户界面(GUI)是与软件进行交互的常用方式。为了确保此类软件的质量,重要的是测试与用户界面的可能交互。 GUI测试是一项具有挑战性的任务,因为它们通常可以允许与软件进行无限多种不同的交互序列。由于只能测试有限数量的可能的用户交互,因此对于GUI测试的质量来说至关重要的是识别相关序列并避免不正确的序列。在本文中,我们提出了一个更好的GUI测试模型。我们的模型是基于两个观察结果而创建的。通常的情况是,不同的用户交互会导致执行相同的代码片段。也就是说,仅测试执行不同代码片段的交互就足够了。我们的第二个观察结果是用户交互是上下文相关的。即,在处理用户交互的程序片段中采用的控制流取决于某些先前的用户交互的顺序。我们表明,这些观察结果在实践中是相关的。我们提出了一个初步的实现,利用这些观察来生成测试用例。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号