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

雲端測試服務平台Android測試過程錄影服務設計與實作

Design and Implementation of a Video Recording Service for Android Testing on Cloud Testing Platform

指導教授 : 陳偉凱

摘要


隨著Android智慧型手機的普及,產生了Android破碎化(Fragmentation)的軟硬體生態,因此雲端Android應用程式測試服務順勢興起。由於Android雲端測試服務在雲端進行,因此,使用者僅能看到測試報表,並無法觀看測試過程,也無法接觸到實體測試裝置。然而,有許多測試失敗情形是無法僅由測試的錯誤訊息推知其錯誤狀況的,例如:有些測試失敗是因測試裝置之螢幕長寬比不合,使得畫面顯示不完全,或是手機預設值不一致,導致出現非預期的結果。此時,如果能有完整畫面操作過程的記錄,對於測試人員診斷測試失敗的原因會有很大的幫助。因此,本論文提出一個能支援手機畫面錄影的雲端Android測試過程錄影服務,並實作在雲端測試服務平台(STF-CTP),透過錄影方式,記錄測試過程中待測程式執行測試腳本的畫面,並且如果是Robot Framework測試,還能在測試影片以字幕方式顯示Keyword執行的順序。此外,本論文設計兩個測試案例,驗證錄影功能的效益,實驗結果顯示在測試時的錄影功能雖然會對手機效能產生些微影響,但是錄影功能確實能改善診斷測試錯誤所需的時間,提高效率。

並列摘要


The increasing popularity of Android smartphones created Android fragmentation, namely combinations of Android software and hardware do not provide a consistent experience for all the users. Therefore, Android application testing services on the cloud rises. Since such a testing service is performed on the cloud, the user (tester) can only look at the test report for test results. The user usually cannot observe the entire testing process, and also cannot touch the physical device under test. The problem is that there are many test failures, which cannot be easily inferred by only looking at the test error message from the test report. For example, a test can fail in case that the screen aspect ratio of the mobile device does not match the target aspect ratio (showing an incomplete screen display). If there is a video recording of the complete testing process, the video can be very helpful for the tester to diagnose test failures. Therefore, this thesis proposes a video recording service, which is designed and implemented on the cloud testing platform, STF-CTP. During testing process, the screen of the device under test is recorded. In addition, for Robot Framework testing, the recorded video can use subtitles to display the keywords that are being executed. This thesis also designs two test cases to study whether using the proposed video recording service is beneficial. The experimental results show that, while the video recording service slightly affects the performance of the mobile device under test, the recording can indeed significantly shorten the time needed for the tester to diagnose test failures.

參考文獻


[24]洪陳佐,一個確保Android雲端測試裝置即用性的方法,碩士論文,國立台北科技大學資訊工程系碩士班,台北,2013。
[1]Android, [Online]. Available: http://www.android.com/.
Baird Research, 2011.
[4]林憲良,雲端測試策略效能評估之研究,碩士論文,國立台北科技大學資訊工程系碩士班,台北,2012。
[6]FFmpeg, [Online]. Available: https://www.ffmpeg.org/

延伸閱讀