PIP Upgrade:
python-m pip Install--upgrade pip
First, install robotframework-selenium2library, equivalent to the selenium in Python
Cmd>pip Install Robotframework-selenium2library
Second, the interface test request
CMD>PIP Install requests (support the second step, otherwise RF introduced Requestslibrary Library will error)
Cmd>pip Install-u robotframework-requests
Third, the relevant dictionary
Load collections directly without PIP install
Iv. installation of MySQL
Install the Databaselibrary library First, then install the Pymysql
Where the installation of the Databaselibrary library is a bit special, so put in the last record
Here is a copy of the contents according to Jing, the Databaselibrary Library has the original and modified version of the points.
1, installation Databaselibrary
1). How to install the original
The original installation has 2 methods:
A. PIP installation
Cmd>pip Install robotframework-databaselibrary (Note: This is version 0.6)
B. Source code Installation
On GitHub download version 0.7, and then unzip the installation, previously introduced the installation method, into the extracted directory (with setup.py file),
Then enter: Python setup.py install
2). How to install the modified version
Because the original package is a bit small problem: SQLite under Windows can only use the current directory of the database file, specify the path because of the Windows path delimiter \ In Python as an escape character,
Then add the implementation of some small problems, to use \\\\ to do the path separation, so I made a little change to solve the problem.
Modified version of GitHub home: https://github.com/qitaos/Robotframework-Database-Library
Modified version of PyPI home: https://pypi.python.org/pypi/robotframework-databaseslibrary
And the original path is very similar, I just add a s, copyright or belong to the original author.
There are 2 ways to install a modified version:
A. PIP installation
Cmd>pip Install Robotframework-databaseslibrary
B. Source code Installation
To the modified version of the GitHub webpage to download the latest version, into the extracted directory (with setup.py file),
Then enter: Python setup.py install
Note: Although the modified version of the PIP installed on the name of the addition of a s, but load the test library, the name is still databaselibrary, so if you install the original, and then install the modified version, will be overwritten.
However, the coverage of this actually has little impact, recommend the use of modified version.
2, the above completed the installation of the Databaselibrary library, and then install MySQL
Cmd>pip Install Pymysql
In summary, the best command to install MySQL with PIP is:
Cmd>pip Install Robotframework-databaseslibrary
Cmd>pip Install Pymysql