電機資訊學院: 電子工程學研究所指導教授: 王凡黃上誼Huang, Shang-YiShang-YiHuang2017-03-062018-07-102017-03-062018-07-102016http://ntur.lib.ntu.edu.tw//handle/246246/276608在行動裝置市場的高度競爭下,我們的生活已經和手機息息相關,手機的型號日新月異,手機裡的應用程式更是層出不窮,而領先於蘋果,安卓作業系統是近年來市佔率最高的,對於如此大量的手機應用程式開發,程式品質的測試也會變得相對困難且重要。 為了減少人力驗證的成本,以往會用隨機點選的方式去做自動化測試,但隨機點選的方式缺乏了一點選取的依據,導致在過程中浪費不少時間,因此我們在此篇論文提出了一種自動調整程式設定的方法,來提高程式探索的效率。為增加此方法的準確性,我們開發了一個圖形化使用介面的腳本錄製工具「TraceRecorder」,藉由腳本的錄製與適當時機的播放,會讓我們的探索更有效率。最後,我們提出一個黑箱測試下,算出程式碼涵蓋率的技術,來驗證我們的方法所提升的效率。In the highly competitive market of the mobile devices, our life has been closely related to mobile phones. Mobile phone technology is developing everyday, and the development of phone applications is endless. Ahead of Apple’s iOS, Android operating system has the highest market share in recent years. For such a large number of mobile application development, software testing of Android applications will become relatively difficult and important. In order to reduce the cost of manpower verification, random click would be used to do automated testing. Because random click lacks some selected basis, it wastes a lot of time in the process. Therefore, we propose a method to automatically adjust application’s settings in this paper, to improve the efficiency of the exploration during testing. To increase the accuracy of this method, we developed a graphical user interface(GUI) tool ""TraceRecorder"" for script recording. By recording and playing the script at the appropriate time, we will explore applications more efficient. Finally, we propose a technique to calculate code coverage under black-box testing. At the same time, it can be used to validate the efficiency our method improving.4301487 bytesapplication/pdf論文公開時間: 2016/8/24論文使用權限: 同意有償授權(權利金給回饋本人)安卓圖形化使用者介面測試測試案例的產生黑箱測試涵蓋率AndroidGUI TestingTest Case GenerationBlack-box TestingCoverage安卓應用程式之自動化組態測試與涵蓋率分析Automated Configuration Testing and Coverage Analysis for Android Appsthesis10.6342/NTU201602249http://ntur.lib.ntu.edu.tw/bitstream/246246/276608/1/ntu-105-R03943162-1.pdf