跳到主要內容

臺灣博碩士論文加值系統

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

詳目顯示

: 
twitterline
研究生:陳韻文
研究生(外文):CHEN, YUN-WEN
論文名稱:在Robot Framework測試腳本中使用AOP方式分離輔助型關鍵字
論文名稱(外文):Using AOP to Separate Assistive Keywords in Robot Framework Test Scripts
指導教授:謝金雲鄭有進鄭有進引用關係
指導教授(外文):HSIEH, CHIN-YUNCHENG, YU-CHIN
口試委員:劉立頌李允中
口試委員(外文):LIU, LI-SUNGLEE, YUN-ZHONG
口試日期:2019-05-31
學位類別:碩士
校院名稱:國立臺北科技大學
系所名稱:資訊工程系
學門:工程學門
學類:電資工程學類
論文種類:學術論文
論文出版年:2019
畢業學年度:107
語文別:中文
論文頁數:28
中文關鍵詞:面向切面的程式設計輔助性關鍵字
外文關鍵詞:Robot FrameworkAspect-oriented programmingAssistive keyword
相關次數:
  • 被引用被引用:0
  • 點閱點閱:184
  • 評分評分:
  • 下載下載:6
  • 收藏至我的研究室書目清單書目收藏:0
Robot Framework為一個撰寫測試動作的框架,使用關鍵字驅動、表格式撰寫方式使開發者容易開發。測試腳本主要由三種關鍵字構成,分別為操作型關鍵字、輔助型關鍵字、驗證型關鍵字。而其中輔助型關鍵字目的為使操作型關鍵字更加穩定,但是在Robot Framework測試腳本中加入的輔助型關鍵字與測試流程無關更會影響腳本閱讀。本論文提出使用AOP方式將操作型關鍵字與輔助型關鍵字分離,使腳本更容易維護。
When writing test scripts in Robot Framework, in addition to using operative keywords and assertive keywords, users would add assistive keywords to make test scripts more stable. However, assistive keywords are unrelated to the test actions and make test scripts hard to read. In this thesis, we propose to use Aspect-oriented programming (AOP) to separate assistive keywords from the test scripts. As a result, the test scripts are easy to read and maintain.
摘要 i
ABSTRACT ii
誌謝 iii
目錄 iv
表目錄 vi
圖目錄 vii
第一章 緒論 1
1.1 研究動機 1
1.2 研究背景及目標 1
1.3 論文組織及架構 2
第二章 知識背景 3
2.1 Robot Framework 3
2.2 Aspect-Oriented Programming 4
2.3 分離Robot Framework測試腳本中不同面向之測試動作 7
第三章 方法及實作方式 9
3.1 系統架構 9
3.2 Aspect Configuration 12
3.2.1 Pointcut 13
3.2.2 Advice 14
3.3 測試報表消除輔助性關鍵字 15
3.4 差異比較 16
第四章 案例分析 17
4.1 驗證合法Twitter使用者能成功登入 17
4.2 修改個人檔案 21
第五章 結論與未來研究方向 27
5.1 結論 27
5.2 未來研究方向 27
參考文獻 28

參考文獻

[1]連又瑩. (2018). 分離Robot Framework測試腳本中不同面向之測試動作= Separating Test Actions of Different Aspects in Robot Framework Test Script.
[2]Elrad T, Filman RE, Bader A. Aspect-Oriented Programming. Communications of the ACM. 2001;(10).
[3]Ishio T., Kusumoto S., and Inoue K. Program Slicing Tool for Effective Software Evolution Using AspectOriented Technique. Proceedings of Sixth International Workshop on Principles of Software Evolution, 2003. 3-12
[4]G. Murphy and C. Schwanninger. Aspect-oriented programming. IEEE Software, 23(1):20-23 Jan, 2006
[5]Robot Framework [Online]. Retrieved from https://robotframework.org/
[6]Robot Framework User Guide [Online]. Retrieved from https://robotframework.org/robotframework/latest/RobotFrameworkUserGuide.html#extending-robot-framework
[7]RED - Robot Editor. Eclipse based editor for RobotFramework testcases [Online]. Retrieved from http://nokia.github.io/RED/help/user_guide/working_with_RED/libs.html
[8]BuiltIn [Online]. Retrieved from http://robotframework.org/robotframework/latest/libraries/BuiltIn.html
[9]pickle — Python object serialization — Python 3.7.3 Documentation [Online]. Retrieved from https://docs.python.org/3.7/library/pickle.html
[10]吳彥銘. (2019). 將伺服器CPU與Memory使用率結合至Robot Framework測試報表=Combine Test Result Report with CPU and Memory Usage of Server Under Robot Framework


QRCODE
 
 
 
 
 
                                                                                                                                                                                                                                                                                                                                                                                                               
第一頁 上一頁 下一頁 最後一頁 top