ubuntu搭建robotFramwork

1、安装pip,

sudo apt-get install python-pip

2、安装robotframework,

sudo pip install robotframework

3、安装selenium2library,

sudo pip install robotframework-selenium2library

4、安装Wxpython ,

sudo apt-get install python-wxgtk2.8 python-wxtools wx2.8-i18n

5、安装ride,

sudo pip install robotframework-ride

6、打开ride

在终端里面输入

ride.py,弹出Ride界面

7、安装mysql服务器

a、sudo apt-get install mysql-server   mysql-client

b、验证mysql安装成功

sudo netstat -tap | grep mysql

c、sudo apt-get install libmysqlclient-dev

c、安装pymysql

安装python 的setuptool和pip工具:

sudo apt-get install python-setuptools

安装pip:sudo apt-get install python-pip

安装python-mysql时报错:error: command 'i686-linux-gnu-gcc' failed with exit status 1(原因缺少python-dev)

执行:sudo apt-get install python-dev

执行:sudo pip install mysql-python

8、安装databaselibraly:pip install robotframework-databaselibrary

9、安装requests :pip install requests

10、安装requests :pip install -U robotframework-requests

你可能感兴趣的:(ubuntu搭建robotFramwork)