首页> 外文会议>IEEE/ACM International Conference on Automated Software Engineering >Sketch-guided GUI test generation for mobile applications
【24h】

Sketch-guided GUI test generation for mobile applications

机译:适用于移动应用程序的草图引导GUI测试生成

获取原文

摘要

Mobile applications with complex GUIs are very popular today. However, generating test cases for these applications is often tedious professional work. On the one hand, manually designing and writing elaborate GUI scripts requires expertise. On the other hand, generating GUI scripts with record and playback techniques usually depends on repetitive work that testers need to interact with the application over and over again, because only one path is recorded in an execution. Automatic GUI testing focuses on exploring combinations of GUI events. As the number of combinations is huge, it is still necessary to introduce a test interface for testers to reduce its search space. This paper presents a sketch-guided GUI test generation approach for testing mobile applications, which provides a simple but expressive interface for testers to specify their testing purposes. Testers just need to draw a few simple strokes on the screenshots. Then our approach translates the strokes to a testing model and initiates a model-based automatic GUI testing. We evaluate our sketch-guided approach on a few real-world Android applications collected from the literature. The results show that our approach can achieve higher coverage than existing automatic GUI testing techniques with just 10-minute sketching for an application.
机译:如今,具有复杂GUI的移动应用程序非常流行。但是,为这些应用程序生成测试用例通常是单调乏味的专业工作。一方面,手动设计和编写精美的GUI脚本需要专业知识。另一方面,使用记录和回放技术生成GUI脚本通常取决于测试人员需要一遍又一遍地与应用程序进行交互的重复工作,因为在执行过程中仅记录了一条路径。自动GUI测试专注于探索GUI事件的组合。由于组合的数量巨大,仍然有必要为测试人员引入一个测试界面,以减少其搜索空间。本文提出了一种草图引导的GUI测试生成方法,用于测试移动应用程序,该方法为测试人员提供了一个简单而富有表现力的界面,以指定其测试目的。测试人员只需要在屏幕截图上画一些简单的笔画。然后,我们的方法将笔划转换为测试模型,并启动基于模型的自动GUI测试。我们从文献中收集的一些真实世界的Android应用程序上评估我们的素描指导方法。结果表明,与现有的自动GUI测试技术相比,我们的方法只需10分钟的草绘即可实现更高的覆盖范围。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号