博碩士論文 104522067 詳細資訊




以作者查詢圖書館館藏 以作者查詢臺灣博碩士 以作者查詢全國書目 勘誤回報 、線上人數:10 、訪客IP:54.198.165.74
姓名 汪子超(Tzu-Chao Wang)  查詢紙本館藏   畢業系所 資訊工程學系
論文名稱 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)
檔案 [Endnote RIS 格式]    [Bibtex 格式]    [檢視]  [下載]
  1. 本電子論文使用權限為同意立即開放。
  2. 已達開放權限電子全文僅授權使用者為學術研究之目的,進行個人非營利性質之檢索、閱讀、列印。
  3. 請遵守中華民國著作權法之相關規定,切勿任意重製、散佈、改作、轉貼、播送,以免觸法。

摘要(中) 使用者介面測試以及整合測試在軟體產業當中扮演著舉足輕重的地位。對於以上兩種類型的測試,「使用者介面測試自動化」理應是其中一種強而有力的解決方法,也有被產業界所採納的案例,但在現存的使用者介面測試自動化工具中,仍存在著許多的問題。
在一些不同的使用情境上的「使用者介面測試自動化」測試案例當中,使用者與待測系統的互動藉由「錄製/重播」軟體或腳本撰寫的方式產出測試腳本,並在加上關鍵的測試斷言之後進行儲存。藉此,在每一次的軟體產品釋出以前,便可以將錄製好的測試案例對待測系統進行重播以確保軟體產品的品質以及正確性。然而,當圖形化使用者介面上的元件會頻繁發生樣式上的變更,或是介面在不同版本的軟體之間有所更新,抑或是重播的環境與產生測試腳本當下的環境有所不同時,大多數現存的使用者介面測試自動化工具其可用性、完整性以及彈性皆在不同的使用情境上出現各種問題。
本篇論文提出現存使用者介面測試自動化工具的問題,以及真實且成功的「錄製/重播」軟體應用案例:將錄製與重播軟體「Korat」導入工業電腦公司「ADLINK」的工業 4.0 生產線上,以及半導體晶圓製造公司「TSMC」。導入的經驗以及其相關工作將作為未來使用者介面測試自動化軟體的開發以及商業應用等參考。
摘要(英) GUI (graphic user interface) testing and integration testing play a pivotal position in software industry. The GUI test automation, should ideally be a powerful solution to GUI / integration test. It has been actually adopted by some commercial companies for formal use. However, the adoption often appears to be problematic and difficult in practice.
In a GUI automation test case, the interactions between user and the system under test can be recorded with “Capture / Replay” software, or be manually written into test scripts. Afterwards, testers are required to add assertion to determine the correctness of the test runs. By regressing these GUI tests, the quality and correctness of software product can be ensured by performing test runs before each iterative software production release. However, when it comes to frequent changes of UI elements, evolvement of user interface, and the replaying environments are different from the ones when scripts were recorded or written, the usability, robustness, and flexibility of most of the GUI test automation tools remain problematic and are yet not sufficient enough for practical usage.
This paper describes and analyzes the problems of GUI test automation tools, and the real successful cases of applying a capture / replay software – Korat to the industry 4.0 production line of industrial personal computer (IPC) company – ADLINK and the Taiwan Semiconductor Manufacturing Company – TSMC. The experiences and works presented in this paper are provided as a reference for the development and the commercial application of GUI test automation tools.
關鍵字(中) ★ 測試
★ 自動化
★ 軟體
★ 使用者介面
關鍵字(英) ★ Testing
★ Automation
★ Software
★ Graphic User Interface
★ GUI
論文目次 Chapter 1 Introduction 1
Chapter 2 Background 3
2.1 GUI Test Automation 3
2.2 Major Approaches to UI Element Recognition 3
2.2.1 Image-based Recognition 4
2.2.2 Object-based Recognition 5
2.2.3 Comparison and Summary 5
2.3 Major Approaches to Test Case Generation 5
2.4 GUI Test Automation Tools Introduction 6
2.4.1 Selenium 7
2.4.2 Ranorex Studio 8
2.4.3 Sikuli 11
2.4.4 CodedUI 12
2.4.5 Our Previous Work – An Image-Based Test Automation Tool Korat 13
2.4.6 Comparison and Summary 18
2.5 Related Works in Practice 18
Chapter 3 Why And When GUI Test Automation Fails 20
3.1 SUT UI Element Versatility 20
3.2 SUT UX Complexity 20
3.3 Accuracy of Image Recognition 21
3.4 Wait and Precondition 23
3.5 Platform Limitation 23
3.6 Difficulty in SUT debugging 24
3.7 Difficulty in Test Case Adjustment and Maintenance 25
3.8 Summary 26
Chapter 4 Approach 27
4.1 Extension Works to The Korat Software 27
4.1.1 Theme Design 28
4.1.2 Brand Icon 29
4.1.3 Project Explorer 30
4.1.4 Shared Common Resources 32
4.1.5 Event Editor 33
4.1.6 Test Case Editor 34
4.1.7 Image Cutter Editor 35
4.1.8 IRP Editor 38
4.1.9 Preview of Recognition Result 39
4.1.10 Multi-Platform Availability 40
4.1.11 Installer 40
4.1.12 Log / Test Report 40
4.1.13 Korat C# Library 44
4.2 Software Development Process 51
4.2.1 Issues of Student as Formal Employee Resource 51
4.2.2 Tools Adopted as Vendor / Customer Communication Channel 52
4.2.3 Development Lifecycle 52
4.3 Software Quality Contribution 53
Chapter 5 Evaluation 54
Chapter 6 Conclusions and Future Works 56
6.1 User Experience 56
6.2 User Interface 57
6.3 System Refactoring 57
6.4 Play StarCraft II 57
6.5 DevOp and Deployment in Smart Factor 4.0 Production Line 57
Acknowledgments and References 59
參考文獻 Yung-Pin Cheng, Deron Liang, and Wei-Jen Wang. “Korat - A Platform Independent Test Automation Tool by Emulating Keyboard/Mouse Hardware Signals”. In proceedings of the IEEE AUTOTESTCON conference, pages 1-7, 2016.
Shin-Jie Lee, Chi-En Huang, Chieh-Lin Yu, Yu-Xian Chen, Shuo-Heng Shih. “SideeX: Expanding Selenium IDE Record-Playback Automation Capability”. In proceedings of the TCSE conference, 2016.
Selenium: http://www.seleniumhq.org/
Ranorex Studio: http://www.ranorex.com/test-automation-tools/ranorex-studio-automated-testing-software.html
Sikuli: http://www.sikuli.org/
CodedUI: https://msdn.microsoft.com/en-us/library/dd286726.aspx
ADLINK: http://www.adlinktech.com/
TSMC: http://www.tsmc.com/english/default.htm
指導教授 鄭永斌(Yung-Pin Cheng) 審核日期 2017-3-28
推文 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聯絡  - 隱私權政策聲明