1. 程式人生 > >Robot Framework 常用的第三方庫

Robot Framework 常用的第三方庫

整理一些看起來比較常用的維護比較好的庫方便以後學習和使用

https://github.com/bulkan/robotframework-requests

https://github.com/serhatbolsu/robotframework-appiumlibrary
https://github.com/peritus/robotframework-httplibrary
https://github.com/franz-see/Robotframework-Database-Library
https://github.com/ncbi/robotframework-pageobjects
https://github.com/xyb/robotframework-debuglibrary
https://github.com/rickypc/robotframework-extendedselenium2library
https://github.com/kitconcept/robotframework-djangolibrary
https://github.com/datakurre/robotframework-selenium2screenshots

有了這個,看起來都不用再收集了大笑

https://github.com/fkromer/awesome-robotframework

npp-robot 這個用notepad++寫robot挺有用

https://github.com/vkosuri/npp-robot
https://github.com/Chetic/robotframework-async

在pypi上面搜了一下robotframwork相關的庫:

https://pypi.python.org/pypi?%3Aaction=search&term=robotframework&submit=search

還是有一點意外發現:

debug的庫

https://pypi.python.org/pypi/robotframework-debuglibrary/1.0.2

語法檢查:

https://pypi.python.org/pypi/robotframework-lint/0.9

SCP,基於SSHLibrary,上傳下載檔案方便

https://pypi.python.org/pypi/robotframework-scpcompat/0.1.0

https://pypi.python.org/pypi/robotframework-scplibrary/1.1.1

workbench:

https://pypi.python.org/pypi/robotframework-workbench/0.5

功能挺多:

  • editor, a text editor optimized for editing pipe-delimited text files
  • debugger, a graphical test monitor and minimal debugger
  • keyword browser, a graphical tool for browsing keyword documentation
  • runner, a graphical front end to pybot and jybot
  • monitor, a tool for monitoring a running test
操作JSON的library

https://pypi.python.org/pypi/robotframework-jsonlibrary/0.2

基於Faker的library,可以生成隨機的測試資料:

https://pypi.python.org/pypi/robotframework-faker/4.2.0

嵌入Chart

https://pypi.python.org/pypi/robotframeworkplus/0.2

https://github.com/frehberg/robotframeworkplus

example:https://github.com/frehberg/robotframeworkplus/blob/master/docs/screenshot-chart.png

Async執行庫:

https://pypi.python.org/pypi/robotframework-async/1.0.3

https://pypi.python.org/pypi/robotframework-run-keyword-async/1.0.7

這個不錯,應該用途很多

JSON validation

https://pypi.python.org/pypi/robotframework-jsonschemalibrary/1.0

Mock-Server

http://www.mock-server.com/

管理robot檔案的web webapp

https://pypi.python.org/pypi/robotframework-rfdoc/0.5

WireMock

http://wiremock.org/


加註釋的selenium截圖

https://pypi.python.org/pypi/robotframework-selenium2screenshots/0.8.0

並行執行:

https://pypi.python.org/pypi/robotframework-pabot/0.43

RobotX

https://github.com/idumpling/robotx/
這個口氣不小,回頭看看怎麼讓測試飛起來 Best Practice https://github.com/idumpling/robotx/blob/master/docs/ROBOT_BEST_PRACTICE.md