博碩士論文 105522094 詳細資訊




以作者查詢圖書館館藏 以作者查詢臺灣博碩士 以作者查詢全國書目 勘誤回報 、線上人數:25 、訪客IP:18.224.64.226
姓名 陳立軒(Li-Hsuan Chen)  查詢紙本館藏   畢業系所 資訊工程學系
論文名稱
(Enhance Korat by Branch Capability in Capture/Replay User Scenario to Industrial Test Case Automation)
相關論文
★ 使用PolyTraceAid進行程式文件覆蓋率計算與分群★ Support Visual Debugging in Electronic Design Automation Software by xDIVA
★ 設計與實作視覺化追蹤點以支援xDIVA進行程式動畫★ Combine Internal Test Oracles and Capture/Replay GUI Testing for Precise Replay and Higher Validation Power
★ Dissimilarity of Polymorphic Execution Sequences★ The Analysis of Capturing System Test Cases into Unit Test Cases
★ 動態延遲載入的測試覆蓋率★ 建構於JMeter之自動化分散式壓力測試架構
★ 模組化因修改具耦合的程式碼所伴隨的成本漣漪★ Design a Pluggable Architecture for Layout Algorithms in xDIVA
★ 重複性程式碼檢測之外掛模組設計★ Visual Perception of Realistic Rendering in xDiva 3D Environment
★ Why and When GUI Test Automation Fails in Practice and Our Solutions to The Problem★ Why and When GUI Test Automation Fails in Practice and Our Solutions to The Problem
★ Very High Precision Optical Character Recognition For Clean-Fixed-Sized True Type Characters★ implement race detection functionality inXThreadDebugger base on pluggable modulesystem
檔案 [Endnote RIS 格式]    [Bibtex 格式]    [相關文章]   [文章引用]   [完整記錄]   [館藏目錄]   [檢視]  [下載]
  1. 本電子論文使用權限為同意立即開放。
  2. 已達開放權限電子全文僅授權使用者為學術研究之目的,進行個人非營利性質之檢索、閱讀、列印。
  3. 請遵守中華民國著作權法之相關規定,切勿任意重製、散佈、改作、轉貼、播送,以免觸法。

摘要(中) 在軟體開發的過程當中,為了修復或是增加功能工程師會不斷的修改既有的程式碼。為了確保在每一次改動之後的軟體品質,回歸測試是一個不可或缺的一環。為了讓測試人員進行回歸測試更有效率,本實驗室開發了一套錄製/播放類的測試軟體-Korat。
在一開始把Korat推廣到業界使用時,我們發現了Korat這種錄製/播放類的軟體,在進行直線式的測試案例時是可以運作良好的,但是對當時的Korat而言若是測試案例不是直線式的時候就會無法處理。把Korat應用在BIOS大廠AMI的測試案例之上時,其中一部分的測試案例需要使用到branch的功能,讓測試案例能在不同的情況之下產生不同的反應。但是在錄製時會因為待測系統只會進入其中的一條路徑,所以當時的Korat在使用錄製的方式建立非直線型的測試案例會碰到一些困難。
本論文將針對Korat這個錄製/播放類的測試工具無法錄製像是branch這一類非直線型測試案例這一問題提出解決方法,並且透過改良Korat讓Korat可以以錄製的方式建立這一類測試案例以驗證此方法的可行性。
摘要(英) In order to fix the software bug or add functionality into software, engineers often need to frequently modify the existing source code in the software development life cycle. In order to ensure existing features are not damaged by the changes, regression testing is an indispensable quality assurance activity in modern software engineering. In the past, our lab developed a record/replay testing tool – Korat. Korat′s major advantage is that it frees the testers from programming, testing, and debugging test code.
We have been aware of that Korat is not capable of processing some test cases when we introduced Korat to the industry. Korat works well on linear test cases, but not on non-linear test cases. When applied Korat to the AMI (a well-known BIOS company) test cases, some of the test cases require the branch function to react differently under different conditions. However, the system under test only enters one of the paths when recording. As a result, Korat encounters difficulties in establishing a non-linear test case at that time.
This paper proposes a solution to the non-linear branch recording problem. To proof the feasibility of this solution, I will improve Korat to make it possible to recording non-linear test cases.
關鍵字(中) ★ Korat
★ Regression testing
★ Capture/Replay
★ Branch
關鍵字(英)
論文目次 摘要 i
Abstract ii
目錄 iii
圖目錄 vi
表目錄 ix
一、緒論 1
二、研究背景 4
2-1 軟體測試 4
2-2 回歸測試 4
2-3 測試自動化與測試案例產生 5
2-3-1 Model-based 測試案例產生 5
2-3-2 Session-based 測試案例產生 7
2-3-3 撰寫測試程式 8
2-3-4 使用測試工具 8
2-3-5 結論 9
2-4 自動化測試工具之類型 10
2-4-1 線型腳本 10
2-4-2 模組化測試 10
2-4-3 資料驅動 10
2-4-4 關鍵字驅動 11
2-4-5 混合型 12
2-5 GUI 測試工具 12
2-5-1 測試案例產生方法 12
2-5-2 GUI component的操作與存取 14
2-5-3 結論 19
2-6 Korat 20
三、問題描述與分析 22
3-1 AMI測試案例 22
3-1-1 額外動作處理 24
3-1-2 狀態檢查 25
3-2 Branch 介紹 27
3-3 錄製branch 的困難 28
3-4 Branch 的類別 29
四、解決方法 34
4-1 歸類 34
4-2 實作細節 37
4-2-1 條件判斷 37
4-2-2 行動 39
4-3 成果 40
五、評估 46
5-1 AMI測試案例-額外動作處理 46
5-2 AMI測試案例-狀態檢查 48
5-3 登入網站 49
六、結論與未來展望 52
參考文獻 53
參考文獻 [1] X.-C. Chen, Korat: An O.S.-independent Capture/Replay Test Automation System, Institute of Computer Science & Information Engineering, National Central University, 2014.
[2] "American Megatrends Inc. - Home," American Megatrends Inc., [Online]. Available: https://ami.com. [Accessed 6 4 2018].
[3] F. Ricca and P. Tonella, "Analysis and Testing of Web Applications," in ICSE ′01 Proceedings of the 23rd International Conference on Software Engineering, Toronto, Ontario, Canada, 2001.
[4] M. Utting, A. Pretschner and B. Legeard, "A Taxonomy of Model-Based Testing," Software Testing, Verification & Reliability, pp. 297-312, 5 8 2012.
[5] P. K. Arora and R. Bhatia, "Mobile agent-based regression test case generation using model and formal specifications," IET Software, pp. 30-40, 2017.
[6] "Spec Explorer," Microsoft Corporation, [Online]. Available: https://msdn.microsoft.com/en-us/library/ee620411.aspx. [Accessed 17 3 2018].
[7] S. Sprenkle, S. Sampath, E. Gibson, L. Pollock and A. Souter, "An empirical comparison of test suite reduction techniques for user-session-based testing of Web applications," in 21st IEEE International Conference on Software Maintenance (ICSM′05), Budapest, Hungary, Hungary, 2005.
[8] X. Peng and L. Lu, "Session-based performance test case generation for Web applications," in 2010 8th International Conference on Supply Chain Management and Information, Hong Kong, China, 2010.
[9] X. Peng and L. Lu, "A new approach for session-based test case generation by GA," in 2011 IEEE 3rd International Conference on Communication Software and Networks, Xi′an, China, 2011.
[10] M. Kagathara, "Behavior Driven Testing (BDT): Tools for Automated Testing," [Online]. Available: https://www.infostretch.com/blog/automated-testing-using-bdt-behavior-driven-testing/. [Accessed 31 5 2018].
[11] "Cucumber," Cucumber Ltd., [Online]. Available: https://cucumber.io/. [Accessed 31 5 2018].
[12] "jbehave," [Online]. Available: http://jbehave.org/. [Accessed 31 5 2018].
[13] "Serenity BDD - Automated Acceptance Testing with Style," Serenity BDD, [Online]. Available: http://www.thucydides.info/#/. [Accessed 31 5 2018].
[14] "Gauge," ThoughtWorks, Inc., [Online]. Available: https://gauge.org/. [Accessed 31 5 2018].
[15] "Robot Framework," [Online]. Available: http://robotframework.org/. [Accessed 31 5 2018].
[16] "RedwoodHQ | Open Source Test Automation Framework," 2013. [Online]. Available: http://redwoodhq.com/. [Accessed 31 5 2018].
[17] "Test Automation for GUI Testing | Ranorex," Ranorex, [Online]. Available: https://www.ranorex.com/. [Accessed 31 5 2018].
[18] "Selenium IDE," [Online]. Available: https://www.seleniumhq.org/projects/ide/. [Accessed 31 5 2018].
[19] "Automation Testing Tool For Web Applications | Free - Sahi," Sahi Pro, [Online]. Available: http://sahipro.com/. [Accessed 31 5 2018].
[20] "Automated UI Testing Tools | TestComplete," SmartBear Software, 2018. [Online]. Available: https://smartbear.com/product/testcomplete/overview/. [Accessed 31 5 2018].
[21] "Katalon Studio: Best automated testing tool for web, mobile, API," Katalon LLC., 2018. [Online]. Available: https://www.katalon.com/. [Accessed 31 5 2018].
[22] R. Hocke, "SikuliX," [Online]. Available: http://www.sikulix.com/. [Accessed 29 3 2018].
[23] "SideeX - Smart Record-Playback Browser Automation," SideeX Contributors, [Online]. Available: http://sideex.org/. [Accessed 27 4 2018].
[24] "ADLINK," ADLINK Technology Inc., [Online]. Available: https://emb.adlinktech.com/en/index.aspx. [Accessed 4 4 2018].
指導教授 鄭永斌(Yung-Pin Cheng) 審核日期 2018-6-29
推文 facebook   plurk   twitter   funp   google   live   udn   HD   myshare   reddit   netvibes   friend   youpush   delicious   baidu   
網路書籤 Google bookmarks   del.icio.us   hemidemi   myshare   

若有論文相關問題,請聯絡國立中央大學圖書館推廣服務組 TEL:(03)422-7151轉57407,或E-mail聯絡  - 隱私權政策聲明