摘要如今,随着移动互联网技术的飞速发展,移动互联网渗透到各个行业和多个领域,对人们的生活、学习、工作、娱乐的方式产生越来越大的影响。为确保移动APP应用程序的健壮性和安全性,面向移动APP应用程序的测试技术得到了很大的发展。其中,GUI Ripping技术对于GUI自动化测试起到了推动的作用。GUI抓取工具已经被移植到多种平台,包括java AWT和Swing,iOS,Android,UNO,微软Windows和网络。从本质上说,这一技术已经改变了研究人员和从业者认为的图形用户界面测试的性质的方式,GUI测试不再认为是手动的活动,这归功于主要GUI翻录,自动化已成为主要的当前图形用户界面测试技术的重点。本文主要设计实现了一个GUI Ripping算法,并进行了移动APP测试覆盖率检测实验,验证表明GUI Ripping算法对提高自动化测试覆盖率的方面具有一定的可行性。82430
毕业论文关键词 自动化测试 移动APP GUI Ripping 软件测试
毕 业 设 计 说 明 书 外 文 摘 要
Title Research on automatic coverage detection technology of mobile APP test based on Ripping GUI
Abstract
Nowadays, with the rapid development of mobile Internet technology, the mobile Internet has penetrated into every industry and a number of fields。 It has more and more influence on people's life, study, work and entertainment。 In order to ensure the robustness and security of mobile APP applications, the test technology for mobile APP applications has been greatly developed。 Among them, Ripping GUI technology for GUI automated testing has played a role in promoting。 GUI capture tool has been ported to a variety of platforms, including Java AWT and Swing, iOS, Android, UNO, Microsoft Windows and network。 In essence, this technology has changed nature of researchers and practitioners believe that graphical user interface testing, is no longer considered manual activity, but due to the main GUI ripping, automation has become the focus of the main current graphical user interface testing technology。 This article is mainly about the design and realize a GUI Ripping algorithm, and carries on the mobile app test coverage test。 Results show that Gui Ripping algorithm has certain feasibility ton improve the coverage of test automation 。
Keywords: automated test; mobile APP; GUI Ripping;software test
本科毕业设计说明书 第 Ⅰ 页
目 录
1 引言 7
1.1 研究的背景和意义 7
2 相关理论和技术 9
2.1 GUI测试 9
2。1。1 GUI简介 9
2。1。2 GUI自动化测试 10
2。1。3 实现安卓应用程序的图形用户界面 10
2.2 GUI测试模型 11
2。2。1 GUI树 11
2。2。2 事件流图 12
2。2。3 事件交互图 13
3 ripping算法的设计 15
3.1 GUI FOREST 15
3.2 GUI遍历模型 16
3.3 基于爬虫的遍历算法