請用此 Handle URI 來引用此文件:
http://tdr.lib.ntu.edu.tw/jspui/handle/123456789/49753完整後設資料紀錄
| DC 欄位 | 值 | 語言 |
|---|---|---|
| dc.contributor.advisor | 王凡(Farn Wang) | |
| dc.contributor.author | Sui-Wei Chang | en |
| dc.contributor.author | 張書維 | zh_TW |
| dc.date.accessioned | 2021-06-15T11:46:08Z | - |
| dc.date.available | 2020-08-21 | |
| dc.date.copyright | 2020-08-21 | |
| dc.date.issued | 2020 | |
| dc.date.submitted | 2020-08-13 | |
| dc.identifier.citation | [1] S. Wang, Y. Zou, B. Upadhyaya and J. Ng, 'An Intelligent Framework for Auto-filling Web Forms from Different Web Applications,' 2013 IEEE Ninth World Congress on Services, Santa Clara, CA, 2013, pp. 175-179 [2] J. Lin, F. Wang and P. Chu, 'Using Semantic Similarity in Crawling-Based Web Application Testing,' 2017 IEEE International Conference on Software Testing, Verification and Validation (ICST), Tokyo, 2017, pp. 138-148 [3] World Wide Web Consortium, “Autofilling form controls: the autocomplete attribute”, from https://www.w3.org/TR/html52/sec-forms.html#sec-autofill [4] T. Cheng, F. Wang, “Automatic Topic Determination for Screen Elements Using Deep Learning Techniques,” [5] S. Araujo., Q. Gao, E. Leonardi, GJ. Houben. Carbon: Domain-Independent Automatic Web Form Filling. Web Engineering. ICWE, Berlin, 2010, pp 292-306 [6] G. Wassermann, D. Yu, A. Chandler, D. Dhurjati, H. Inamura, and Z. Su, “Dynamic test input generation for web applications,” In Proceedings of the 2008 international symposium on Software testing and analysis, New York, NY, USA, 2008, pp. 249-260 [7] World Wide Web Consortium, “Web Content Accessibility Guidelines (WCAG) 2.1”, from https://www.w3.org/TR/WCAG21/ [8] Restful API Tutorial, “REST Resource Naming Guide”, from https://restfulapi.net/resource-naming/ | |
| dc.identifier.uri | http://tdr.lib.ntu.edu.tw/jspui/handle/123456789/49753 | - |
| dc.description.abstract | 在軟體測試中,表單測試是很常見的測試案例,然而以往的作法都是透過軟體測試套件的API一個一個地將表單填寫完成,如何自動化的填寫表單是一個待解決的問題。另外,在測試網頁或行動應用程式的過程中,我們需要判斷畫面的主題,來決定測試流程,如何判斷畫面主題也是一個待解決的問題。 本篇論文中,我們使用資料卡的概念來當作表單填寫的原始資料,透過文件分析找出資料卡與表單欄位的相似度,使用穩定配對演算法找出兩者最適合的配對組合,來解決表單自動填寫的問題。主題判斷方面,我們使用主題模板來當作該主題預期會出現的元件,透過文件分析找出文件中的元素與主題模板中的元件的相似度,使用穩定配對演算法找出最適合的配對組合,以此決定頁面的主題。 | zh_TW |
| dc.description.abstract | In the field of software testing, a form testing is a common test case. The common solution is that a tester calls an API of testing framework to fill the input fields one by one. How to auto-fill a form has become a problem to be solved. Besides, we need to decide the testing procedure by the topic of a screen. As a result, how to identify the topic of a screen needs to be solved.
In this thesis, data cards would be used as mock data to fill a form. Through document analysis, the similarity between card data fields and input fields are calculated. A stable matching algorithm is used to find the stable matching to solve the form autofill problem. On the other hand, to complete a topic identification module, a topic card template would be used to store expected element in the topic. Through document analysis, the similarity between topic elements and document features is calculated. Also, a stable matching algorithm is used to find the stable matching to solve the topic identification problem | en |
| dc.description.provenance | Made available in DSpace on 2021-06-15T11:46:08Z (GMT). No. of bitstreams: 1 U0001-1108202023574500.pdf: 3498475 bytes, checksum: a2c9c7d1ea6814735de2af5f67056137 (MD5) Previous issue date: 2020 | en |
| dc.description.tableofcontents | CONTENTS
口試委員會審定書 i 誌謝 ii 中文摘要 iii ABSTRACT iv CONTENTS v LIST OF FIGURES viii LIST OF TABLES ix Chapter 1 Introduction 1 1.1 Background 1 1.2 Motivation 3 1.3 Contribution 4 Chapter 2 Related Work 8 2.1 Selenium 8 2.2 Cypress 8 2.3 Appium 9 2.4 Academic Research 9 Chapter 3 Preliminaries 10 3.1 Hyper Text Markup Language (HTML) 10 3.2 Auto Filling Form Control: The Autocomplete Attribute 11 3.3 Test as a Dragon (TaaD) 12 3.4 Data Card Management 12 3.5 Stable Matching Problem 14 Chapter 4 Autofill Form Module 15 4.1 Form Field Recognition 16 4.1.1 Document Feature Extraction 16 4.1.2 Feature Mapping 17 4.2 Calculate Similarity and Ordering of Preferences 19 4.3 Autofill Procedure 19 4.3.1 Stable Matching 20 4.3.2 Get the Best Data Card 20 Chapter 5 Topic Identification 22 5.1 Input 23 5.1.1 Web Path 23 5.1.2 Feature in Document 24 5.2 Topic Card Template 24 5.2.1 Weighting of Elements in Topic Card Template 24 5.3 Document Feature Extraction 25 5.4 Calculate Similarity and Ordering of Preferences 25 5.5 Stable Matching 26 Chapter 6 Experiment 28 6.1 Environment 28 6.2 Experimental Setup 28 6.2.1 Autofill Module Experiment Setup 28 6.2.2 Topic Identification Experiment Setup 29 6.3 Results of RQ1 and RQ2 32 6.4 Results of RQ3 34 Chapter 7 Conclusion 38 REFERENCE 39 LIST OF FIGURES Fig. 1.1 test flow chart 6 Fig. 1.2 A form sample 7 Fig. 3.1 HTML Example 10 Fig. 3.2 Form with autocomplete attribute example 12 Fig. 3.3 Data card example 13 Fig. 3.4 Topic card template example 13 Fig. 4.1 Autofill algorithm flowchart 15 Fig. 4.2 Input list (IL) example 17 Fig. 4.3 autocomplete mapping dictionary example 18 Fig. 5.1 Topic identification module flowchart 23 LIST OF TABLES Table. 3.1 Example of autocomplete attribute 11 Table. 6.1 Basic information of web page SUTs 30 Table. 6.2 Basic information of application SUTs 31 Table. 6.3 Autofill experiment result of web SUTs 33 Table. 6.4 Autofill experiment result of app SUTs 34 Table. 6.5 topic recognition experiment result of website 36 Table. 6.6 topic recognition experiment result of app 37 | |
| dc.language.iso | en | |
| dc.subject | 穩定配對演算法 | zh_TW |
| dc.subject | 網頁測試 | zh_TW |
| dc.subject | 行動應用程式測試 | zh_TW |
| dc.subject | 表單自動填寫 | zh_TW |
| dc.subject | 主題判定 | zh_TW |
| dc.subject | Mobile Testing | en |
| dc.subject | Web Testing | en |
| dc.subject | Stable Matching Algorithm | en |
| dc.subject | Topic identification | en |
| dc.subject | Form Autofill | en |
| dc.title | 藉由資料卡管理系統來實現表單自動填寫與主題判定於軟體自動測試框架 | zh_TW |
| dc.title | Automatic Form Filling and Topic Identification with Data Card Management in Software Testing Framework | en |
| dc.type | Thesis | |
| dc.date.schoolyear | 108-2 | |
| dc.description.degree | 碩士 | |
| dc.contributor.oralexamcommittee | 王帛霞(Po-Hsia Wang),張純明(Chun-Ming Chang),黃彥男(Yen-Nan Huang),陳銘憲(Ming-Hsien Chang),戴顯權(Hsien-Chuan Tai) | |
| dc.subject.keyword | 網頁測試,行動應用程式測試,表單自動填寫,主題判定,穩定配對演算法, | zh_TW |
| dc.subject.keyword | Web Testing,Mobile Testing,Form Autofill,Topic identification,Stable Matching Algorithm, | en |
| dc.relation.page | 40 | |
| dc.identifier.doi | 10.6342/NTU202003030 | |
| dc.rights.note | 有償授權 | |
| dc.date.accepted | 2020-08-14 | |
| dc.contributor.author-college | 電機資訊學院 | zh_TW |
| dc.contributor.author-dept | 電機工程學研究所 | zh_TW |
| 顯示於系所單位: | 電機工程學系 | |
文件中的檔案:
| 檔案 | 大小 | 格式 | |
|---|---|---|---|
| U0001-1108202023574500.pdf 未授權公開取用 | 3.42 MB | Adobe PDF |
系統中的文件,除了特別指名其著作權條款之外,均受到著作權保護,並且保留所有的權利。
