期刊文献+

UI自动化测试关键技术应用研究

Application Research on Key Technologies of UI Automated Testing
在线阅读 下载PDF
导出
摘要 随着软件行业的不断壮大,软件规模逐渐扩大且结构愈发复杂。传统的手动测试方式无法满足高效、高质量的需求,这为软件测试带来了新挑战。为了确保软件质量并提升测试效率,用户界面(UI)自动化测试应运而生,成为一种高效且可靠的测试方法。然而,在企业实际生产测试中,UI自动化测试仍然面临一些挑战,如在生产环境的测试集群中提高测试效率、针对多平台软件进行测试、处理非标准控件场景等问题。为了解决上述实际测试问题,本文提出以下方案:使用Paramiko构建轻量级分布式测试系统;结合Uiautomator2和Selenium构建移动端和Web端的跨平台测试;采用PaddleOCR与尺度不变特征变换(SIFT)算法处理非标准控件问题。经实践验证,所提方案能够有效地解决实际测试中的问题,并具有较高的实际应用价值。 With the continuous growth of the software industry,the scale of software gradually expands and its structure becomes more and more complex.Traditional manual testing methods cannot meet the requirements of high efficiency and high quality,which brings new challenges to software testing.In order to ensure software quality and improve testing efficiency,user interface(UI)automated testing is emerged as an efficient and reliable testing method.However,in the actual production testing of enterprises,UI automatied testing still faces some challenges,such as improving testing efficiency in the testing cluster of the production environment,testing for multi-platform software,and dealing with non-standard control scenarios.In order to solve the above practical testing problems,this paper proposes the following scheme.Paramiko is used to build a lightweight distributed testing system.Uiautomator2 and Selenium are combined to build a cross-platform testing for mobile and Web.PaddleOCR and scale invariant feature transform(SIFT)algorithm are used to deal with non-standard control problems.It has been verified by practice that the above scheme can effectively solve the problems in the actual testing and has high practical application value.
作者 闫红红 周千明 薛涛 YAN Honghong;ZHOU Qianming;XUE Tao(School of Computer Science,Xi’an Polytechnic University,Xi’an 710048,China;Shaanxi Key Laboratory of Clothing Intelligence,Xi’an Polytechnic University,Xi’an 710048,China)
出处 《微型电脑应用》 2025年第7期19-23,共5页 Microcomputer Applications
基金 陕西省2020年技术创新引导专项基金(2020CGXNG-012) 陕西省教育厅科研计划项目(19JK0377) 西安工程大学教学改革项目(21XXGH02)。
关键词 软件测试 UI Paramiko 跨平台 非标控件 software testing UI Paramiko cross-platform non-standard control
  • 相关文献

参考文献9

二级参考文献64

  • 1李东,宫云战.软件测试方法综述[J].装甲兵工程学院学报,2003,17(2):9-13. 被引量:6
  • 2巩敦卫,孙晓燕.基于模式定理的遗传算法交叉和变异概率上限[J].控制与决策,2004,19(5):554-556. 被引量:8
  • 3张德平,聂长海,徐宝文.划分测试中测试用例最优分配问题研究[J].南京大学学报(自然科学版),2005,41(5):553-561. 被引量:4
  • 4傅博.基于蚁群算法的软件测试数据自动生成[J].计算机工程与应用,2007,43(12):97-99. 被引量:32
  • 5Lowe D G. Object recognition from local scale-invariant features. In: Proceedings of the 7th IEEE International Conference on Computer Vision. Kerkyra, Greece: IEEE, 1999. 1150-1157.
  • 6Lowe D G. Distinctive image features from scale-invariant keypoints. International Journal of Computer Vision, 2004, 60(2): 91-110.
  • 7Mikolajczyk K, Matas J. Improving descriptors for fast tree matching by optimal linear projection. In: Proceedings of the 11th IEEE International Conference on Computer Vision. Rio de Janeiro, Brazil: IEEE, 2007. 1-8.
  • 8Klare B, Li Z F, Jain A K. Matching forensic sketches to mug shot photos. IEEE Transactions on Pattern Analysis and Machine Intelligence, 2011, 33(3): 639-646.
  • 9Mikolajczyk K, Schmid C. A performance evaluation of local descriptors. IEEE Transactions on Pattern Analysis and Machine Intelligence, 2005, 27(10): 1615-1630.
  • 10Huang C R, Chen C S, Chung P C. Contrast context histogram — an efficient discriminating local descriptor for object recognition and image matching. Pattern Recognition, 2008, 41(10): 3071-3077.

共引文献74

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部