== robotframework的一些特性==
重用性好,可以利用現有關鍵字來組合新關鍵字;
支援變量;
支援建立基于資料驅動的測試用例。
提供标簽以分類和選擇将被執行的測試用例;
平台、應用無關;
易于內建,提供了指令行接口和基于xml的輸出檔案;
易于與版本管理內建;
==robotframework的架構方案==
==robotframework的中文支援==
由于初始并不支援中文,于是在生成測試報告的時候對于中文的關鍵字無法識别,使用下面的方法可以正常顯示中文。
在[pythondir]\lib\site-packages\robot\utils下的encoding.py檔案中,找到def _get_output_encoding(): 原來的編碼是’cp437’ 将其改成’ cp936’(簡體中文,gbk) 。
==目前robotframework支援的測試庫==
下面這些是可以在robotframework上支援的測試庫,但是要獨立安裝程式。在安裝之後,使用的時候要單獨加載測試庫。
seleniumlibrary - a web testing library that uses popularselenium tool internally.
watir-robot - a web testing library that uses popularwatir tool via theremote library interface.
watinlibrary - a web testing library that useswatin tool (a .net port of watir) via theremote library interface.
swinglibrary - a swing gui testing library.
eclipselibrary - a library for testing eclipse rcp applications using swt widgets.
databaselibrary (python) - another library for database testing. implemented with python and works also on jython.
sshlibrary - a test library that enables ssh and sftp.
http test library using livetest
http test library using requests
how-to: sikuli and robot framework integration - this is not really a library but these instructions explain how to integratesikuli tool with robot framework
最新内容請見作者的github頁:http://qaseven.github.io/