一种手绘制导的移动应用界面测试方法
作者:
作者单位:

作者简介:

成浩亮(1994-),男,硕士,主要研究领域为软件工程,新型软件测试方法.
汤恩义(1982-),男,博士,副教授,CCF专业会员,主要研究领域为软件工程,新型软件测试方法,程序分析方法.
玉淳舟(1996-),男,硕士生,主要研究领域为软件工程,新型软件测试方法.
张初成(1992-),男,硕士,主要研究领域为软件工程,新型软件测试方法,程序分析方法.
陈鑫(1975-),男,博士,副教授,CCF专业会员,主要研究领域为软件工程,软件测试,验证技术.
王林章(1973-),男,博士,教授,博士生导师,CCF杰出会员,主要研究领域为模型驱动的软件测试与验证,安全测试,软件测试自动化.
卜磊(1983-),男,博士,副教授,博士生导师,CCF杰出会员,主要研究领域为形式化方法,实时混成系统,复杂系统测试和验证.
李宣东(1963-),男,博士,教授,博士生导师,CCF会士,主要研究领域为软件工程,软件建模与分析,软件测试与验证.

通讯作者:

汤恩义,E-mail:eytang@nju.edu.cn

中图分类号:

基金项目:

国家重点研发计划(2017YFB1001801);国家自然科学基金(61772260,61402222,61632015,61690204)


Approach of Sketch-guided GUI Testing for Mobile App
Author:
Affiliation:

Fund Project:

National Key Research and Development Program of China (2017YFB1001801); National Natural Science Foundation of China (61772260, 61402222, 61632015, 61690204)

  • 摘要
  • |
  • 图/表
  • |
  • 访问统计
  • |
  • 参考文献
  • |
  • 相似文献
  • |
  • 引证文献
  • |
  • 资源附件
  • |
  • 文章评论
    摘要:

    软件测试在提高移动应用的安全性和可靠性方面扮演着重要角色.然而,目前主流的移动应用界面测试技术存在着许多不足:人工编写脚本和录制回放技术需要消耗大量的人力成本,自动化测试在移动应用界面测试的应用场景上受到了诸多限制.针对这些问题,提出一种基于手绘制导的移动应用界面测试方法.该方法通过设计一种简单直观且具有较强表达能力的手绘语言来帮助测试者轻松表达其测试意图,测试者仅需在待测应用的界面图像上做简单绘制,就能生成对应的测试模型,并以此为基础生成界面测试所需的测试用例.以近年来在相关文献中已经用作移动应用界面测试的评估用例集为基准来评估该方法的测试效果.评估结果表明:在提供很少人力成本的条件下,手绘图形所表达的用户测试意图在制导移动应用界面测试上能起到非常关键的作用.

    Abstract:

    Software testing plays an important role in improving the security and reliability of mobile applications. However, there are many shortcomings in the current mainstream testing technology for mobile application. For example, manual scripting and recording playback techniques require a lot of labor costs, while automatic testing solutions have been limited when they are applied in mobile applications. This article presents a sketch-guided GUI test generation approach for testing mobile applications. It provides a simple but expressive sketch language to help testers specify their testing purposes easily. Testers just need to draw a few simple strokes on the corresponding screenshots of the application under test, then the proposed approach recognizes these strokes automatically and converts them into the test model. Finally, test cases are generated based on the model. The effects of proposed sketch-guided testing technique are evaluated based on the test cases, which were used in the literature of mobile application testing in recent years. The results show that the proposed approach is significantly effective with little labor cost in GUI testing of mobile applications.

    参考文献
    相似文献
    引证文献
引用本文

成浩亮,汤恩义,玉淳舟,张初成,陈鑫,王林章,卜磊,李宣东.一种手绘制导的移动应用界面测试方法.软件学报,2020,31(12):3671-3684

复制
分享
文章指标
  • 点击次数:
  • 下载次数:
  • HTML阅读次数:
  • 引用次数:
历史
  • 收稿日期:2018-12-11
  • 最后修改日期:2019-05-08
  • 录用日期:
  • 在线发布日期: 2020-12-03
  • 出版日期: 2020-12-06
您是第位访问者
版权所有:中国科学院软件研究所 京ICP备05046678号-3
地址:北京市海淀区中关村南四街4号,邮政编码:100190
电话:010-62562563 传真:010-62562533 Email:jos@iscas.ac.cn
技术支持:北京勤云科技发展有限公司

京公网安备 11040202500063号