计算机工程与应用2016,Vol.52Issue(13):43-47,5.DOI:10.3778/j.issn.1002-8331.1408-0154
基于图像匹配的移动应用自动化测试方法研究
Research on automated testing of mobile applications based on image matching.
摘要
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.关键词
手机应用测试/自动化测试/图像匹配/快速鲁棒性特征(SURF)/RANSAC算法Key words
mobile application testing/testing automation/image matching/Speeded Up Robust Feature(SURF)/RANSAC algorithm分类
信息技术与安全科学引用本文复制引用
李昕宇,侯春萍,王宝亮,宁国津,于奎星..基于图像匹配的移动应用自动化测试方法研究[J].计算机工程与应用,2016,52(13):43-47,5.基金项目
国家自然科学基金(No.91320201) (No.91320201)
国家高技术研究发展计划(863)(No.2012AA03A301) (863)
教育部博士点基金(No.20130032110010). (No.20130032110010)