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

藉由資料卡管理系統來實現表單自動填寫與主題判定於軟體自動測試框架

Automatic Form Filling and Topic Identification with Data Card Management in Software Testing Framework

指導教授 : 王凡

摘要


在軟體測試中,表單測試是很常見的測試案例,然而以往的作法都是透過軟體測試套件的API一個一個地將表單填寫完成,如何自動化的填寫表單是一個待解決的問題。另外,在測試網頁或行動應用程式的過程中,我們需要判斷畫面的主題,來決定測試流程,如何判斷畫面主題也是一個待解決的問題。 本篇論文中,我們使用資料卡的概念來當作表單填寫的原始資料,透過文件分析找出資料卡與表單欄位的相似度,使用穩定配對演算法找出兩者最適合的配對組合,來解決表單自動填寫的問題。主題判斷方面,我們使用主題模板來當作該主題預期會出現的元件,透過文件分析找出文件中的元素與主題模板中的元件的相似度,使用穩定配對演算法找出最適合的配對組合,以此決定頁面的主題。

並列摘要


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

參考文獻


[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

延伸閱讀