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

一個以巨集為基礎的圖型使用者介面測試規格語言

A GUI Test Specification Language based on Macro Component

指導教授 : 陳偉凱

摘要


圖形使用者介面(Graphical User Interface,簡稱GUI)已被廣泛的使用在各種應用軟體中,但是對於GUI的測試而言,一般測試腳本(Test Script)並沒有針對連續執行的事件作組織與結構,以致於測試腳本有著不易重複使用、不易閱讀與不易維護的缺點。因此,本論文提出了一個以巨集為基礎的GUI測試規格語言,用來有效的組織元件與事件所構成的GUI測試腳本,以提高對於設計、閱讀或維護GUI測試腳本的容易度。我們實作出具有編輯GUI測試規格語言能力的GUI測試工具GTT3。GTT3測試工具以巨集(Macro)作為組織測試腳本的核心,搭配測試先行的開發方式,並整合錄影播放的功能,讓測試者不需以手工撰寫GUI測試所需的程式碼,使得GUI測試趨向於容易重複使用、容易閱讀與容易開發的目標。

並列摘要


GUI (Graphical User Interface) has been extensively applied to application software. However, for the software testing of GUI, test scripts are generally not organized to encapsulate the structure of the sequence of events. Therefore, GUI test scripts become difficult to read, reuse, and maintain. In this thesis, we propose a GUI test specification language based on macro components. The language is used to organize and encapsulate GUI test scripts composed of components and events. Thus, the readability, reusability, and maintainability of the GUI test scripts are improved. We implement an editor for designing GUI test scripts based on our GUI test specification language on a GUI Testing Tool called GTT3. GTT3 applies the concept of macro components as the core of organizing GUI test scripts. It is test-driven development enabled and integrates the functionality of capture and replay. With the use of GTT3, testers do not need to write test scripts by hand, making GUI testing a lot easier.

參考文獻


[1] Johan Andersson and Geoff Bache, The Video Store Revisited Yet Again: “Adventures in GUI Acceptance Testing, Lecture Notes in Computer Science,” Lecture Notes in Computer Science, Volume 3092, pp. 1–10, 2004
[3] Kent Beck, “Test-Driven Development By Example,” ISBN: 0321146530, Addison Wesley, November 08, 2002
[4] R.V. Binder, “Design for Testability in Object-Oriented Systems,” Communications of the ACM, volume 37, No 9, pp. 87-101, 1994.
[5] Jessica Chen, “Expressing Graphical User's Input for Test Specifications,” Lecture Notes in Computer Science, Springer-Verlag Heidelberg, vol. 2480, pp. 347, 2002.
[7] Woei Kae Chen, Tung Hung Tsai, and Hung Hsing Chao, “Integration of Specification-based and CR-based Approaches for GUI Testing,” AINA, vol. 01, no. 1, pp. 967-972, 19th 2005.

被引用紀錄


張雄展(2013)。圖形使用者介面多選一與隨意順序之測試方法〔碩士論文,國立臺北科技大學〕。華藝線上圖書館。https://doi.org/10.6841/NTUT.2013.00627
李玠錞(2013)。Web應用程式之雲端效能測試系統〔碩士論文,國立臺北科技大學〕。華藝線上圖書館。https://doi.org/10.6841/NTUT.2013.00471
王鈺(2013)。GUI測試腳本耦合度之研究〔碩士論文,國立臺北科技大學〕。華藝線上圖書館。https://doi.org/10.6841/NTUT.2013.00279
康芷瑜(2013)。以雲端測試服務進行之Web應用程式效能測試實驗〔碩士論文,國立臺北科技大學〕。華藝線上圖書館。https://doi.org/10.6841/NTUT.2013.00231
陳怡靜(2012)。一個支援元件抽象化的Android GUI測試工具〔碩士論文,國立臺北科技大學〕。華藝線上圖書館。https://doi.org/10.6841/NTUT.2012.00718

延伸閱讀