检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
作 者:李昕宇[1] 侯春萍[1] 王宝亮[1] 宁国津 于奎星
出 处:《计算机工程与应用》2016年第13期43-47,共5页Computer Engineering and Applications
基 金:国家自然科学基金(No.91320201);国家高技术研究发展计划(863)(No.2012AA03A301);教育部博士点基金(No.20130032110010)
摘 要:海量的移动应用使得面向移动应用的测试技术研究成为当前的研究热点,通过基于手机截图的移动应用软件自动化测试,可以节省大量的时间和人力,以此为背景提出了一种基于图像匹配和手机截屏区域标注的自动化测试方法。主要考虑到手机界面分辨率和显示细节有限的特点,并根据移动应用在移动终端中UI中的图像、文字、列表、网格等各种区域显示的特点,通过SURF特征点匹配、RANSAC算法优化和投影变换,以及区域树优化,实现移动应用的UI截图与基准截图的自动匹配和对比。实验结果证明通过采用设计的自动化测试方法,单进程运行的效率是采用SIFT算法的1.69倍,是手工的2.01倍;能检测出人工检测发现的109个界面显示问题中的106个,准确率是未经优化前的1.71倍。Massive mobile applications have made the research of testing technology for mobile applications becoming afocus. The realization of automation test of mobile software can save time and manpower. An automation testing methodbased on the screenshot annotation and image matching is proposed. Taking the limited resolution and restricted details ofthe 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 transformationcan be used to compare a phone interface screenshot and the reference automatically. Experiments show that thismethod is 1.69 times faster than SIFT, and 2.01 times faster than manual work, and it can check out 106 UI bugs out of109 found by manual work, which is 1.71 times more accurate than SURF before optimization.
关 键 词:手机应用测试 自动化测试 图像匹配 快速鲁棒性特征(SURF) RANSAC算法
分 类 号:TP302[自动化与计算机技术—计算机系统结构]
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:216.73.216.222