1, you need to install the underlying database
pip install robotframework-databaselibrary
2. Download and install the corresponding version of cx_Oracle, pay attention to and Oracle versions, system-digit, python version must match
https://sourceforge.net/projects/cx-oracle/files/5.1.2/
After the installation is complete, D: \ Python27 \ Lib \ site-packages appear these two files:
3, download the corresponding file instantclientx64112040.zip, Download
Link: https: //pan.baidu.com/s/16Cndxv2w6IbwA1TLlks0kQ
extraction code: p70z
or: http://www.pc6.com/softview/SoftView_434331.html
4, in the instantclientx64112040.zip oci.dll, oraocci11.dll, oraociei11.dll three files into D: \ Python27 \ Scripts path
5, introduced DatabaseLibrary library ( without introducing cx_Oracle Library )
Connect To Database Using Custom Params cx_Oracle 'username', 'password', '10 * 16 *:... 1521 / **** '
$ {RET} Query SELECT * from V $ Version
6, the test