網址:https://github.com/brain-tec/odoo-robot-framework
# 安裝
```
pip install robotframework
pip install robotframework-selenium2library
git clone https://github.com/brain-tec/odoo-robot-framework.git
easy_install robotframework-databaselibrary
```
# 運行
需要安裝webdriver
修改config\_80.py\_template之中的信息并保存為config\_80.py
DOS窗口執行pybot -v CONFIG:config\_80.py demo.robot
# 腳本編寫:
寫一個文本文件: test.robot 內容包括:
> _\*\*\* Settings \*\*\*_
>
> _Documentation Test of all elements in OpenERP
> Resource odoo\_8\_0.robot_
>
> _\*\*\* Test Cases \*\*\*
> 登陸
Login admin admin demo_
>
> _進倉庫菜單_
>
> _ MainMenu 235_
>
> _MRP 運行 SubMenu 272_
將其與odoo-robot-framework中的odoo\_8\_0.robot放在同一個目錄中并運行:
> _robot test.robot_