基于图像匹配的移动应用自动化测试方法研究 - 计算机工程与应用.pdf

基于图像匹配的移动应用自动化测试方法研究 - 计算机工程与应用.pdf

  1. 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
  2. 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  3. 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
基于图像匹配的移动应用自动化测试方法研究 - 计算机工程与应用

Computer Engineering and Applications 计算机工程与应用 2016 ,52(13) 43 ⦾理论与研发⦾ 基于图像匹配的移动应用自动化测试方法研究 李昕宇,侯春萍,王宝亮,宁国津,于奎星 LI Xinyu, HOU Chunping, WANG Baoliang, NING Guojin, YU Kuixing 天津大学 电子信息工程学院,天津 300072 School of Electronic and Information Engineering, Tianjin University, Tianjin 300072, China LI Xinyu, HOU Chunping, WANG Baoliang, et al. Research on automated testing of mobile applications based on image matching. Computer Engineering and Applications, 2016, 52 (13):43-47. Abstract :Massive mobile applications have made the research of testing technology for mobile applications becoming a focus. The realization of automation test of mobile software can save time and manpower. An automation testing method based on the screenshot annotation and image matching is proposed. Taking the limited resolution and restricted details of the mobile phone screen into account and considering the characteristics of the mobile phone interface, such as images, text areas, lists, grids and so on, SURF feature points matching, RANSAC algorithm optimization and projection transfor- mation can be used to compare a phone interface screenshot and the reference automatically. Experiments show that this method is 1.69 times faster than SIFT, and 2.01 times faster than manual work, and it can check out 106 UI bugs out of 109 found by manual work, which is 1.71 times more accurate than SURF before optimization. Key words :mobile application testing; testing automation; image matching; Speeded Up Robust Feature (SURF); RANSAC algorithm 摘 要:海量的移动应用使得面向移动应用的测试技术研究成为当前的研究热点,通过基于手机截图的移动应用软 件自动化测试,可以节省大量的时间和人力,以此为背景提出了一种基于图像匹配和手机截屏区域标注的自动化测 试方法。主要考虑到手机界面分辨率和显示细节有限的特点,并根据移动应用在移动终端中UI 中的图像、文字、列 表、网格等各种区域显示的特点,通过SURF 特征点匹配、RANSAC 算法优化和投影变换,以及区域树优化,实现移 动应用的UI 截图与基准截图的自动匹配和对比。实验结果证明通过采用设计的自动化测试方法,单进程运行的效 率是采用SIFT 算法的1.69 倍,是手工的2.01 倍;能检测出人工检测发现的109 个界面显示问题中的106 个,准确率是 未经优化前的1.71 倍。 关键词:手机应用测试;自动化测试;图像匹配;快速鲁棒性特征(SURF );RAN

您可能关注的文档

文档评论(0)

magui + 关注
实名认证
内容提供者

该用户很懒,什么也没介绍

版权声明书
用户编号:8140007116000003

1亿VIP精品文档

相关文档