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/70136
標題: 運用圖形分類在檢測網頁程式之分析系統
Using Image Classification for Automatic Page Analysis on the Testing of Web Apps
作者: Chun-Hsien Yu
余俊賢
指導教授: 王凡(Farn Wang)
關鍵字: 自動化測試,自動分析,腳本測試,測試評估,
Automatic Software Testing,Testing Analysis,Script Traces,Trace Evaluation,
出版年 : 2018
學位: 碩士
摘要: 網頁及手機的普及使得在開發上面自動化的測試變得越發重要,快速和廣泛的測試活動一直在程式開發的流程中存在著。然而如何確保有效的分析與測試仍然需要許多人力及時間的投入,這一點上一直是一件十分耗時費力的事情。
在執行自動化測試的時候,會將測試分為兩種,一種是完全放任他自由地、隨機地讓程式在頁面上執行各種動作;另一種則是,規劃固定的運行模式讓一切行為模組化。得到的結果,前者是盡可能地做壓力測試得知系統或服務的極限或缺失;後者則是,測試已知的功能看是否健全完整。然而,兩者都有各自需要設定目標、對象及行為。對人類來說,辨識和分類是極其簡單的事情,可是對測試的過程來說卻是一件耗時費力的事。
在本文中,提出了一個針對網頁及手機頁面的視覺化檢視及測試方法,透過圖形分類的方法在整合及收集頁面資訊的同時,自動地分類給測試腳本做使用,並且提升測試的有效程度,不再只是盲目的隨機測試,進而做到快速、有效且有意義的測試功能。由於,目前並沒有相對應完整的資料庫,我們會事先在網站上搜集好目標的資料,然後對此作分析及學習。最後,用分類的方式將畫面的元素自動標示相對應的標籤,以加速測試的進行。
Nowadays, increasing number of developers are using software testing technology to ensure the quality of their products in both web and mobile applications. It is a technique that providing random event traces and observing to see if the system or applications crash or not. At the moment, analyzing testing traces is still a heavy time-consuming and labor-intensive work.
When processing software testing, we follow two testing protocols: one is to randomly execute actions on the page and the other is to set up modules of actions. For the result, the former one we can know that whether the service or system is able to overcome this kind of stress test and the later one is to test if our defined functions work well. However, both behaviors require setting targets and labeled them ahead. For human beings, it is such an easy job to classify or detect contents but for software testing, it is not. And this is the reason why we still require labor force for doing so.
In this thesis, we present Smart-Eye, a visualized analysis service for both web pages and mobile applications. With the advantage of image classification, Smart-Eye helps software testers in organizing data and labeling them for the later testing scripts. Not only the analysis but the analysis improves the time consumption and accuracy. Because there is no complete dataset in this domain, we first gathered needed information and then built a classifying model from them. Last, we used it to do our intense work and made it an auto-labeling tool for later software testing in order to speed up the process of software testing in both aspects above.
URI: http://tdr.lib.ntu.edu.tw/jspui/handle/123456789/70136
DOI: 10.6342/NTU201800240
全文授權: 有償授權
顯示於系所單位:電機工程學系

文件中的檔案:
檔案 大小格式 
ntu-107-1.pdf
  未授權公開取用
3.41 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