Android手機自動化測試系統(tǒng)的設(shè)計與實現(xiàn)
發(fā)布時間:2019-05-18 04:53
【摘要】:近年來,移動通信行業(yè)快速發(fā)展,為了滿足用戶對移動終端設(shè)備的強烈需求,縮短產(chǎn)品的開發(fā)周期對移動終端制造商極其重要。如何又快、又好地對產(chǎn)品進行測試成了各大廠商亟待解決的重中之重。但是,,現(xiàn)有的手工測試方法不僅無法滿足日益增長的測試需求,并且由于手工測試的特點,導(dǎo)致測試人員效率低下,錯誤不斷。 本文針對現(xiàn)有的Android手機測試方法所存在的嚴重問題,設(shè)計并實現(xiàn)了基于Robot Framwork框架的Android手機自動化測試系統(tǒng)。論文在闡述了自動化測試的基本概念、優(yōu)缺點的基礎(chǔ)上,介紹了本文研究的自動化測試方案所需要的相關(guān)技術(shù);以某公司的某款手機為例,分析了手機的功能測試需求;以RobotFramwork框架為基礎(chǔ),設(shè)計了一個手機自動化測試系統(tǒng),并以測試需求為基準設(shè)計了覆蓋需求的測試用例;搭建了Windows系統(tǒng)上的自動化測試環(huán)境,并通過封裝用Python語言編寫關(guān)鍵字,調(diào)用monkeyrunner工具中提供的安卓接口,實現(xiàn)了模擬手動操作手機的功能;在框架中編寫了與測試用例相對應(yīng)的可執(zhí)行腳本;使用本文設(shè)計的自動化測試系統(tǒng)對某公司手機進行了測試,并使用統(tǒng)計后的結(jié)果進行分析。 基于Robot Framwork框架的Android手機自動化測試的結(jié)果表明,此方案能夠解決上文提到的測試難題,提高測試效率和可靠性,降低測試成本和人力,有效地提高了效益,達到了本課題的預(yù)期目標。
[Abstract]:In recent years, with the rapid development of mobile communication industry, in order to meet the strong demand of users for mobile terminal equipment, shortening the product development cycle is very important for mobile terminal manufacturers. How to test the products quickly and well has become the most important problem to be solved by the major manufacturers. However, the existing manual testing methods can not only not meet the increasing testing requirements, but also lead to the low efficiency of testers and continuous errors because of the characteristics of manual testing. Aiming at the serious problems existing in the existing Android mobile phone testing methods, this paper designs and implements a Android mobile phone automatic test system based on Robot Framwork framework. On the basis of expounding the basic concept, advantages and disadvantages of automatic testing, this paper introduces the related technologies needed by the automatic testing scheme studied in this paper, and takes a mobile phone of a company as an example to analyze the functional testing requirements of mobile phones. Based on RobotFramwork framework, an automatic test system for mobile phone is designed, and a test case covering requirements is designed based on the test requirements. The automatic test environment on Windows system is built, and the function of simulating manual operation of mobile phone is realized by encapsulating the keyword written in Python language and calling the Android interface provided in monkeyrunner tool. The executable script corresponding to the test case is written in the framework, and the mobile phone of a company is tested by using the automatic test system designed in this paper, and the statistical results are used to analyze it. The results of Android mobile phone automation test based on Robot Framwork framework show that this scheme can solve the test problems mentioned above, improve the test efficiency and reliability, reduce the test cost and manpower, and effectively improve the efficiency. The expected goal of this subject has been achieved.
【學(xué)位授予單位】:西安電子科技大學(xué)
【學(xué)位級別】:碩士
【學(xué)位授予年份】:2014
【分類號】:TP311.53
本文編號:2479690
[Abstract]:In recent years, with the rapid development of mobile communication industry, in order to meet the strong demand of users for mobile terminal equipment, shortening the product development cycle is very important for mobile terminal manufacturers. How to test the products quickly and well has become the most important problem to be solved by the major manufacturers. However, the existing manual testing methods can not only not meet the increasing testing requirements, but also lead to the low efficiency of testers and continuous errors because of the characteristics of manual testing. Aiming at the serious problems existing in the existing Android mobile phone testing methods, this paper designs and implements a Android mobile phone automatic test system based on Robot Framwork framework. On the basis of expounding the basic concept, advantages and disadvantages of automatic testing, this paper introduces the related technologies needed by the automatic testing scheme studied in this paper, and takes a mobile phone of a company as an example to analyze the functional testing requirements of mobile phones. Based on RobotFramwork framework, an automatic test system for mobile phone is designed, and a test case covering requirements is designed based on the test requirements. The automatic test environment on Windows system is built, and the function of simulating manual operation of mobile phone is realized by encapsulating the keyword written in Python language and calling the Android interface provided in monkeyrunner tool. The executable script corresponding to the test case is written in the framework, and the mobile phone of a company is tested by using the automatic test system designed in this paper, and the statistical results are used to analyze it. The results of Android mobile phone automation test based on Robot Framwork framework show that this scheme can solve the test problems mentioned above, improve the test efficiency and reliability, reduce the test cost and manpower, and effectively improve the efficiency. The expected goal of this subject has been achieved.
【學(xué)位授予單位】:西安電子科技大學(xué)
【學(xué)位級別】:碩士
【學(xué)位授予年份】:2014
【分類號】:TP311.53
【參考文獻】
相關(guān)期刊論文 前9條
1 張舜堯;;手機自動化測試系統(tǒng)設(shè)計淺析[J];電腦知識與技術(shù)(學(xué)術(shù)交流);2007年20期
2 許靜,陳宏剛,王慶人;軟件測試方法簡述與展望[J];計算機工程與應(yīng)用;2003年13期
3 謝紅霞;吳紅梅;;基于Android的自動化測試的設(shè)計與實現(xiàn)[J];計算機時代;2012年02期
4 接卉;蘭雨晴;駱沛;;一種關(guān)鍵字驅(qū)動的自動化測試框架[J];計算機應(yīng)用研究;2009年03期
5 王繼成,高珍;軟件需求分析的研究[J];計算機工程與設(shè)計;2002年08期
6 董曉霞;;軟件測試工程化的研究和實踐[J];計算機工程與設(shè)計;2006年11期
7 葉振宇;智能手機軟件開發(fā)中的質(zhì)量控制策略[J];紹興文理學(xué)院學(xué)報;2005年01期
8 鄒明;鄭軍紅;;Android中JavaScript API的分析與應(yīng)用[J];軟件導(dǎo)刊;2012年10期
9 吳顯光;;軟件自動化測試[J];中國新通信;2012年14期
本文編號:2479690
本文鏈接:http://sikaile.net/kejilunwen/ruanjiangongchenglunwen/2479690.html
最近更新
教材專著