###
Journal of Software:2020.31(12):3671-3684

一种手绘制导的移动应用界面测试方法
成浩亮,汤恩义,玉淳舟,张初成,陈鑫,王林章,卜磊,李宣东
(计算机软件新技术国家重点实验室(南京大学), 江苏 南京 210023;南京大学 软件学院, 江苏 南京 210093;计算机软件新技术国家重点实验室(南京大学), 江苏 南京 210023;南京大学 计算机科学与技术系, 江苏 南京 210023)
Approach of Sketch-guided GUI Testing for Mobile App
CHENG Hao-Liang,TANG En-Yi,YU Chun-Zhou,ZHANG Chu-Cheng,CHEN Xin,WANG Lin-Zhang,BU Lei,LI Xuan-Dong
(State Key Laboratory for Novel Software Technology at Nanjing University, Nanjing 210023, China;Software Institute, Nanjing University, Nanjing 210093, China;State Key Laboratory for Novel Software Technology at Nanjing University, Nanjing 210023, China;Department of Computer Science and Technology, Nanjing University, Nanjing 210023, China)
Abstract
Chart / table
Reference
Similar Articles
Article :Browse 78   Download 111
Received:December 11, 2018    Revised:May 08, 2019
> 中文摘要: 软件测试在提高移动应用的安全性和可靠性方面扮演着重要角色.然而,目前主流的移动应用界面测试技术存在着许多不足:人工编写脚本和录制回放技术需要消耗大量的人力成本,自动化测试在移动应用界面测试的应用场景上受到了诸多限制.针对这些问题,提出一种基于手绘制导的移动应用界面测试方法.该方法通过设计一种简单直观且具有较强表达能力的手绘语言来帮助测试者轻松表达其测试意图,测试者仅需在待测应用的界面图像上做简单绘制,就能生成对应的测试模型,并以此为基础生成界面测试所需的测试用例.以近年来在相关文献中已经用作移动应用界面测试的评估用例集为基准来评估该方法的测试效果.评估结果表明:在提供很少人力成本的条件下,手绘图形所表达的用户测试意图在制导移动应用界面测试上能起到非常关键的作用.
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.
文章编号:     中图分类号:TP311    文献标志码:
基金项目:国家重点研发计划(2017YFB1001801);国家自然科学基金(61772260,61402222,61632015,61690204) 国家重点研发计划(2017YFB1001801);国家自然科学基金(61772260,61402222,61632015,61690204)
Foundation items:National Key Research and Development Program of China (2017YFB1001801); National Natural Science Foundation of China (61772260, 61402222, 61632015, 61690204)
Author NameAffiliationE-mail
CHENG Hao-Liang State Key Laboratory for Novel Software Technology at Nanjing University, Nanjing 210023, China
Software Institute, Nanjing University, Nanjing 210093, China 
 
TANG En-Yi State Key Laboratory for Novel Software Technology at Nanjing University, Nanjing 210023, China
Software Institute, Nanjing University, Nanjing 210093, China 
eytang@nju.edu.cn 
YU Chun-Zhou State Key Laboratory for Novel Software Technology at Nanjing University, Nanjing 210023, China
Software Institute, Nanjing University, Nanjing 210093, China 
 
ZHANG Chu-Cheng State Key Laboratory for Novel Software Technology at Nanjing University, Nanjing 210023, China
Software Institute, Nanjing University, Nanjing 210093, China 
 
CHEN Xin State Key Laboratory for Novel Software Technology at Nanjing University, Nanjing 210023, China
Department of Computer Science and Technology, Nanjing University, Nanjing 210023, China 
 
WANG Lin-Zhang State Key Laboratory for Novel Software Technology at Nanjing University, Nanjing 210023, China
Department of Computer Science and Technology, Nanjing University, Nanjing 210023, China 
 
BU Lei State Key Laboratory for Novel Software Technology at Nanjing University, Nanjing 210023, China
Department of Computer Science and Technology, Nanjing University, Nanjing 210023, China 
 
LI Xuan-Dong State Key Laboratory for Novel Software Technology at Nanjing University, Nanjing 210023, China
Department of Computer Science and Technology, Nanjing University, Nanjing 210023, China 
 
Reference text:

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

CHENG Hao-Liang,TANG En-Yi,YU Chun-Zhou,ZHANG Chu-Cheng,CHEN Xin,WANG Lin-Zhang,BU Lei,LI Xuan-Dong.Approach of Sketch-guided GUI Testing for Mobile App.Journal of Software,2020,31(12):3671-3684