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

安卓系統應用程式品質之測試自動化

Automated Testing for Quality of Android Applications

指導教授 : 王凡

摘要


為了提升安卓應用程式品質、減少測試時間、降低人力需求,本論文開發兩套黑箱測試自動化測試工具Monkey with Vision (MONVIS) 與 Application Quality Testing (AQT)。使用者無需撰寫任何測試腳本,MONVIS與AQT可自動執行應用程式找出品質不良之處。MONVIS是一套無測試知識自動化測試工具,可以模擬使用行為。因此,MONVIS用於檢測應用程式正確性包括閃退與例外。MONVIS利用電腦視覺技術解析應用程式畫面,以提升模擬使用者行為的準確性。AQT則進一步利用測試知識進而模擬使用者並且收集應用程式反應。AQT會檢查應用程式是否能正確安裝並且執行、程式執行時記憶體是否正常運作、當連線狀況改變時是否會有訊息告知使用者、使用者介面是否有符合設計原則與程式執行中是否有閃退情形。MONVIS與AQT追蹤程式各種品質的不良狀況,並據以提供應用程式相關的執行日誌、畫面、與測試報告給使用者,使用者可根據測試報告快速有效的進行軟體除錯與修正。

並列摘要


We develop two black-box testing tool called Monkey with Vision (MONVIS) and Application Quality Testing (AQT). In order to extend the automation level of testing technique, we develop MONVIS and AQT that allow tester manual intervention to be reduced. Even user haven't written any test script for Android applications, MONVIS and AQT exercise applications automatically and detect applications bugs. MONVIS is automated testing tool without human knowledge of the expected behavior of the Android application. Thus, MONVIS test application correctness properties such as crash and exception. AQT leverage human knowledge about how the application should response. AQT check app install and launch, memory use, connectivity, user interface and stability. MONVIS and AQT analyze the structure of applications GUI and then explores it automatically by simulating user activities. It provides logs, screenshots and test reports to user for determining the root cause if applications crash and find issues with applications quality. MONVIS and AQT test Android applications on different platforms, screen sizes and operating systems.

參考文獻


[3] D. Amalfitano, A. R. Fasolino, and P. Tramontana, “A GUI crawling-based technique for android mobile application testing,” Proc. 4th IEEE Int. Conf. Softw. Testing, Verif. Valid. Work. ICSTW 2011, pp. 252–261, 2011.
[4] D. Amalfitano, A. R. Fasolino, P. Tramontana, S. De Carmine, and G. Imparato, “A toolset for GUI testing of Android applications,” IEEE Int. Conf. Softw. Maintenance, ICSM, pp. 650–653, 2012.
[7] N. Semenenko, M. Dumas, and T. Saar, “Browserbite: Accurate Cross-Browser Testing via Machine Learning over Image Features,” 2013 IEEE Int. Conf. Softw. Maint., pp. 528–531, 2013.
[9] “Robotium.” [Online]. Available: http://robotium.com/.
[14] “Appium.” [Online]. Available: http://appium.io/.

延伸閱讀