透過您的圖書館登入
IP:3.21.241.17
  • 學位論文

結合XML和影像技術對App做Monkey和腳本測試

Combining XML and Image Technology for Monkey Test with Scripts on Mobile Apps

指導教授 : 王凡

摘要


隨著手機裝置的快速發展,我們的生活逐漸和手機應用程式密不可分。手機應用程式的測試對於我們來說也變得越來越重要和困難。為了減少Monkey測試產生的一些時間耗費,我們設計了一個方法可以結合Monkey測試和腳本測試。在這篇論文,我們會結合XML和影像技術來比較當前的手機畫面和腳本是否符合。如果符合,則我們就執行腳本,如此一來就可以通過一些Monkey測試不能通過的頁面,像是搜尋或登入。我們設計了一個叫做MWIC的工具來提升效率和腳本的重複使用率。在MWIC裡面我們結合XML和影像技術來判斷腳本是否符合手機畫面,而我們的實驗也顯示這個工具可以提升腳本的重複使用度。

並列摘要


With the rapid development of the mobile devices, our life has been gradually related to mobile phones and mobile applications. For such a large number of mobile applications, software testing of Android applications has become more important and difficult than ever. In order to reduce the futile action of Monkey test, we present a method which combines Monkey test and scripts. In this paper, we will use XML and image technology to compare the current screen with the scripts we recorded. If the screen matches any script, we will execute that script. So that the testing can pass some situations, such as searching or log in. We developed a software tool “Monkey With Image Comparison (MWIC)” to increase the efficiency and reusability of test script replay. In MWIC, we combine XML and image technology to evaluate the applicability of a test script to a screen. Our experiment shows that our tool can enhance the precision in reusing test scripts.

並列關鍵字

Mobile Testing Android Scrip XML Image technology

參考文獻


Reference
[1] S. Curtis. “Quarter of the world will be using smartphone in 2016”. [Online]. Available: http://www.telegraph.co.uk/technology/mobile-phones/11287659/Quarter-of-the-world-will-be-using-smartphones-in-2016.html, Dec 2016.
[2] “Gartner Says Worldwide Sales of Smartphone Recorded First Ever Decline During the Fourth Quarter of 2017”. [Online]. Available: https://www.gartner.com/newsroom/id/3859963, Feb 2018
[3] M. Ermuth, M. Pradel, “Monkey see, monkey do: Effective generation of gui tests with inferred macro events,” ISSTA, New York, NY, USA, pages 82–93, 2016, ACM.
[4] R. Brummayer, F. Lonsing, Armin. Biere, Ofer. Strichman, Stefan. Szeider, “Automated Testing and Debugging of SAT and QBF Solvers”. Springer Berlin Heidelberg. pp. 44–57

延伸閱讀