跳到主要內容

臺灣博碩士論文加值系統

(18.97.14.86) 您好!臺灣時間:2025/02/15 08:51
字體大小: 字級放大   字級縮小   預設字形  
回查詢結果 :::

詳目顯示

: 
twitterline
研究生:汪子超
研究生(外文):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
指導教授:鄭永斌鄭永斌引用關係
指導教授(外文):Yung-Pin Cheng
學位類別:碩士
校院名稱:國立中央大學
系所名稱:資訊工程學系
學門:工程學門
學類:電資工程學類
論文種類:學術論文
論文出版年:2017
畢業學年度:105
語文別:英文
論文頁數:64
中文關鍵詞:測試自動化軟體使用者介面
外文關鍵詞:TestingAutomationSoftwareGraphic User InterfaceGUI
相關次數:
  • 被引用被引用:1
  • 點閱點閱:215
  • 評分評分:
  • 下載下載:15
  • 收藏至我的研究室書目清單書目收藏:0
使用者介面測試以及整合測試在軟體產業當中扮演著舉足輕重的地位。對於以上兩種類型的測試,「使用者介面測試自動化」理應是其中一種強而有力的解決方法,也有被產業界所採納的案例,但在現存的使用者介面測試自動化工具中,仍存在著許多的問題。
在一些不同的使用情境上的「使用者介面測試自動化」測試案例當中,使用者與待測系統的互動藉由「錄製/重播」軟體或腳本撰寫的方式產出測試腳本,並在加上關鍵的測試斷言之後進行儲存。藉此,在每一次的軟體產品釋出以前,便可以將錄製好的測試案例對待測系統進行重播以確保軟體產品的品質以及正確性。然而,當圖形化使用者介面上的元件會頻繁發生樣式上的變更,或是介面在不同版本的軟體之間有所更新,抑或是重播的環境與產生測試腳本當下的環境有所不同時,大多數現存的使用者介面測試自動化工具其可用性、完整性以及彈性皆在不同的使用情境上出現各種問題。
本篇論文提出現存使用者介面測試自動化工具的問題,以及真實且成功的「錄製/重播」軟體應用案例:將錄製與重播軟體「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.
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
連結至畢業學校之論文網頁點我開啟連結
註: 此連結為研究生畢業學校所提供,不一定有電子全文可供下載,若連結有誤,請點選上方之〝勘誤回報〞功能,我們會盡快修正,謝謝!
QRCODE
 
 
 
 
 
                                                                                                                                                                                                                                                                                                                                                                                                               
第一頁 上一頁 下一頁 最後一頁 top
無相關期刊