引用本文:成浩亮,汤恩义,玉淳舟,张初成,陈鑫,王林章,卜磊,李宣东.一种手绘制导的移动应用界面测试方法.软件学报,2020,31(12):3671-3684
【打印本页】   【下载PDF全文】   查看/发表评论  【EndNote】   【RefMan】   【BibTex】
←前一篇|后一篇→ 过刊浏览    高级检索
本文已被:浏览 2042次   下载 4241 本文二维码信息
码上扫一扫!
分享到: 微信 更多
一种手绘制导的移动应用界面测试方法
成浩亮1,2, 汤恩义1,2, 玉淳舟1,2, 张初成1,2, 陈鑫1,3, 王林章1,3, 卜磊1,3, 李宣东1,3
1.计算机软件新技术国家重点实验室(南京大学), 江苏 南京 210023;2.南京大学 软件学院, 江苏 南京 210093;3.南京大学 计算机科学与技术系, 江苏 南京 210023
摘要:
软件测试在提高移动应用的安全性和可靠性方面扮演着重要角色.然而,目前主流的移动应用界面测试技术存在着许多不足:人工编写脚本和录制回放技术需要消耗大量的人力成本,自动化测试在移动应用界面测试的应用场景上受到了诸多限制.针对这些问题,提出一种基于手绘制导的移动应用界面测试方法.该方法通过设计一种简单直观且具有较强表达能力的手绘语言来帮助测试者轻松表达其测试意图,测试者仅需在待测应用的界面图像上做简单绘制,就能生成对应的测试模型,并以此为基础生成界面测试所需的测试用例.以近年来在相关文献中已经用作移动应用界面测试的评估用例集为基准来评估该方法的测试效果.评估结果表明:在提供很少人力成本的条件下,手绘图形所表达的用户测试意图在制导移动应用界面测试上能起到非常关键的作用.
关键词:  手绘制导测试生成  模型驱动的自动化测试  移动应用  图形界面测试
DOI:10.13328/j.cnki.jos.005873
分类号:
基金项目:国家重点研发计划(2017YFB1001801);国家自然科学基金(61772260,61402222,61632015,61690204)
Approach of Sketch-guided GUI Testing for Mobile App
CHENG Hao-Liang1,2, TANG En-Yi1,2, YU Chun-Zhou1,2, ZHANG Chu-Cheng1,2, CHEN Xin1,3, WANG Lin-Zhang1,3, BU Lei1,3, LI Xuan-Dong1,3
1.State Key Laboratory for Novel Software Technology at Nanjing University, Nanjing 210023, China;2.Software Institute, Nanjing University, Nanjing 210093, China;3.Department of Computer Science and Technology, Nanjing University, Nanjing 210023, China
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.
Key words:  sketch guided test generation  model based test automation  mobile applications  graphical user interface testing

引用本文:
【打印本页】   【下载PDF全文】   查看/发表评论  【EndNote】   【RefMan】   【BibTex】
←前一篇|后一篇→ 过刊浏览    高级检索
本文已被:浏览次   下载  
分享到: 微信 更多
摘要:
关键词:  
DOI:
分类号:
基金项目:
Abstract:
Key words: