Skip navigation

DSpace

機構典藏 DSpace 系統致力於保存各式數位資料(如:文字、圖片、PDF)並使其易於取用。

點此認識 DSpace
DSpace logo
English
中文
  • 瀏覽論文
    • 校院系所
    • 出版年
    • 作者
    • 標題
    • 關鍵字
  • 搜尋 TDR
  • 授權 Q&A
    • 我的頁面
    • 接受 E-mail 通知
    • 編輯個人資料
  1. NTU Theses and Dissertations Repository
  2. 電機資訊學院
  3. 電機工程學系
請用此 Handle URI 來引用此文件: http://tdr.lib.ntu.edu.tw/jspui/handle/123456789/77133
標題: iOS 應用程式自動化測試與跨平台整合
Automated Testing for iOS Applications and Cross-Platform Integration
作者: Kuan-Chun Wang
王冠鈞
指導教授: 王凡
關鍵字: 手機測試,iOS 應用程式測試,跨平台測試,黑箱測試,軟體測試,
mobile testing,iOS application testing,cross-platform testing,black box testing,software testing,
出版年 : 2020
學位: 碩士
摘要: 目前的手機自動化測試工具較多對於 Android 平台的設計與開發,因 iOS 系 統向來較封閉與非開源的情況下,較少開發者願意針對 iOS 平台開發相關測試工 具,然而,iOS 系統上應用程式數量是僅次於 Android 平台,數量也相當多,亦即 自動化測試的需求亦然存在,若能克服 iOS 系統之限制因素,著手開發相關工具, 勢必能造福廣大的開發者。
這篇論文針對 iOS 系統設計測試工具,開發一個負責處理 iOS 基本操作的模 組。此模組會先自動地為系統設定環境與安裝相依套件,開始執行後,可獲取 iOS 應用程式畫面之結構性資料與系統資料,用以辨別畫面中可操作之物件並將物件 解析成符合一現存測試工具規範之相對應資料結構,讓測試工具能夠對應用程式 進行後續操作,並且不會因為底層實作不同,而需重新設計測試演算法。此一測試 工具原始僅支援網頁與 Android 平台之測試,在加入本篇論文所開發之 iOS 模組 後,即能另外支援 iOS 應用程式之測試,以及產生測試報告,成為一跨平台自動化 測試工具。在跨平台整合上,我們著手避免不同平台開發可能造成的不一致性,對 於相似的物件或屬性,進行統一的轉換,使得分析後的資料以及測試報告,能維持 相同的規格及品質。
為了應證此 iOS 模組是否能夠有效執行 iOS 應用程式的操作,我們在測試工 具上設計了包含大多數基本操作的測試演算法,並實際應用於 iOS 上的熱門應用 程式。根據實驗結果,此模組可正確地在手機裝置上執行測試工具所要求的基本操 作,並成功執行 iOS 自動化測試。
Current automated testing tools are mainly developed for the Android platform. Due to the proprietary nature of the iOS platform, developers have paid little attention on test framework developments or studies for iOS. However, the number of iOS applications is only second to that of Android applications, that is, the needs of automated testing tools exist as well. If the obstacles to the development for the iOS platform could be solved, more related tools could be developed and would definitely benefit lots of iOS developers.
In this thesis, we focus on testing tool development for the iOS platform that a platform module responsible for handling fundamental operations for iOS devices is developed. It first configures the dependencies for testing on iOS devices automatically. Then, during execution, the hierarchical XML data and system information can be acquired, which is used for recognizing operatable elements and parsed into data structures that conform to an existing testing framework so that it can operate on the system without redefining any top-level testing algorithms. The testing framework is originally for web and Android applications only. With the proposed design in our work, the testing framework is able to support iOS applications as well, i.e. a cross-platform testing framework. For the cross-platform integration, we want to avoid the inconsistencies during developments on different platforms, so we generalize elements or attributes that have similar characteristics by transforming them into identical words, which makes the analyzed data and testing reports have the same standard and quality.
To assess the effectiveness of the iOS platform module, we implement some test algorithms for various test scenarios on the testing framework and apply it on popular iOS applications. According to the experiment result, the module can correctly perform operations on the mobile devices based on requests from the testing framework and successfully execute automated tests on iOS devices.
URI: http://tdr.lib.ntu.edu.tw/jspui/handle/123456789/77133
DOI: 10.6342/NTU202000242
全文授權: 未授權
顯示於系所單位:電機工程學系

文件中的檔案:
檔案 大小格式 
ntu-109-R06921107-1.pdf
  目前未授權公開取用
19.58 MBAdobe PDF
顯示文件完整紀錄


系統中的文件,除了特別指名其著作權條款之外,均受到著作權保護,並且保留所有的權利。

社群連結
聯絡資訊
10617臺北市大安區羅斯福路四段1號
No.1 Sec.4, Roosevelt Rd., Taipei, Taiwan, R.O.C. 106
Tel: (02)33662353
Email: ntuetds@ntu.edu.tw
意見箱
相關連結
館藏目錄
國內圖書館整合查詢 MetaCat
臺大學術典藏 NTU Scholars
臺大圖書館數位典藏館
本站聲明
© NTU Library All Rights Reserved