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

一個確保Android雲端測試裝置即用性的方法

A Method for Ensuring Device Availability in Android Cloud Testing

指導教授 : 鄭有進

摘要


本論文研究在Android雲端測試平台上裝置即用性的兩個問題,分別對其提出解決的方法。首先Android測試平台中,以WiFi方式連接測試行動裝置是常見的做法,如待測程式改變測試裝置的WiFi設定或者將之關閉,將導致後續的測試活動無法在遭受影響的測試裝置正常執行。第二個是提供測試服務時,測試裝置的狀態經過使用後沒有復原,下次進行測試時,將導致測試裝置環境條件不一致,測試結果也可能被影響。在本論文中上述兩個問題,實作Agent在測試裝置上來解決。在Android雲端測試平台STF-CTP,Agent與的Integration Station互動來偵測測試的開始與結束,在測試結束後重新設定測試裝置的狀態。本論文用Robotium與UI Automator撰寫測試案例來說明WiFi設定與測試裝置狀態改變。

並列摘要


This thesis studies the following two device availability problems on Android testing platforms and proposes solution for each. First, connecting platform with testing devices over WiFi is a common approach. In such an approach, if the application under testing changes WiFi settings or turns off WiFi network on the testing device, the subsequent test cases would not be executed normally. Second, running a test case can change the device state. If the device state is not restored a correct state, the correctness of subsequent tests will be affected. In this thesis, the two problems are solved by implanting an agent on the testing device. In the Andirod cloud testing platform STF-CTP, the agent collaborates with the integration station to detect the beginning and ending of a test and for setting device state. The proposed solutions are demonstrated with test cases written in Robotium and UI Automator testing, respectively, that change WiFi setting and device state.

參考文獻


[7] 王宣皓,雲端持續整合服務半自動供裝之設計與實作,碩士論文,國立台北科技大學資訊工程所,台北,2011年。
[16] 李俊毅,鄭有進,Android雲端測試平台的安全性防護方法,TCSE研討會,2013。
[2] Len Bass, Paul Clements and Rick Kazman, Software Architecture in Practice (3rd Edition). Addison-Wesley Professional, 2012
[19] Kostya Vasilyev, http://kmansoft.com/
[1] Google Play, https://play.google.com/

被引用紀錄


賴勇安(2014)。一個以移除未使用的程式碼改善軟體維護性的方法:以STF-CTP為例〔碩士論文,國立臺北科技大學〕。華藝線上圖書館。https://doi.org/10.6841/NTUT.2014.00370
李友文(2014)。雲端測試服務平台Android測試過程錄影服務設計與實作〔碩士論文,國立臺北科技大學〕。華藝線上圖書館。https://doi.org/10.6841/NTUT.2014.00093
李俊毅(2013)。Android雲端測試平台的安全性防護方法〔碩士論文,國立臺北科技大學〕。華藝線上圖書館。https://doi.org/10.6841/NTUT.2013.00569

延伸閱讀