摘要
分析了当前Web自动化测试工具在软件自动化测试中应用的状况,提出了将图像比对技术引入Web自动化测试的方法。从现有的Applitools软件测试平台入手,分析了其功能及结构,给出了将图像比对技术引入Web自动化测试的系统结构。同时,尝试利用Pillow和OpenCV库在本地进行图像比对操作,实现了Applitools在云端的功能。并将其与Selenium框架相结合,实现了纯本地化的图像自动化测试。最后,对于图像自动化测试提出了可能的发展建议。
This paper analyzes the current application of web automation test tools in software automation test,and puts forward a method of introducing image comparison technology into web automation test.Starting with the existing testing platform called applitools,this paper analyzes its function and structure,and presents the system structure of introducing image comparison technology into web automatic test.At the same time,we try to use the pillow and opencv library to compare images locally,and realize the function of applitools in the cloud.And it is combined with selenium framework to realize localization of image automatic testing.Finally,the possible development of image automatic test is proposed.
作者
苗力元
李启明
刘雅东
郑梦青
MIAO Liyuan;LI Qiming;LIU Yadong;ZHENG Mengqing
出处
《信息通信技术与政策》
2019年第11期79-84,共6页
Information and Communications Technology and Policy