顯示具有 UNIX 標籤的文章。 顯示所有文章
顯示具有 UNIX 標籤的文章。 顯示所有文章

2015年10月5日 星期一

rebot

robotframework 可以使用 rebot <file1>.xml <file2>.xml來合併xml,並且合併之後log.html與report.html也會跟著update

可使用參數--name <name>來變更suite name

如用Windows寫sh script時要注意檔案格式需為UNIX,否則可能有執行上問題,錯誤訊息
' failed: Data source does not exist.Appengine/X3000001.robot

Try --help for usage information.
: not found3: script.sh:
參考資料
https://twiki.cern.ch/twiki/bin/view/EMI/RobotFrameworkAdvancedGuide#Using_the_rebot_Tool
http://stackoverflow.com/questions/25988071/combining-robot-framework-test-reports

2014年8月20日 星期三

Jenkins文字檔識別問題

使用Jenkins讀入文檔時發現無法讀取出現error,後來發現是使用的notepad++將格式存成了DOS/Windows。解決方法為選取編輯-檔案格式轉換-轉換成UNIX格式即可解決。

參考資料
http://stackoverflow.com/questions/16239551/eol-conversion-in-notepad