1. Download Databaselibrary
2. Install an Oracle support library: cx_oracle
Windows can download the. exe to install, this library is: https://pypi.python.org/pypi/cx_Oraclehttps://pypi.python.org/pypi/cx_Oracle
The number of bits to download is the same as the number of Python bits, I download the 64-bit, (Cx_oracle-5.1.2-py2.7.egg-info), the cx_oracle version is 11g, download finished directly after installation
3. dll
We don't necessarily need to have the Oracle client installed, it's okay to install it,
No need to uninstall, we just have to ensure that the DLL placed in the site-packages is right.
I downloaded the instantclient and then the D:\Program files\instantclient_12_1\oraclient Lite\product\11.2.0\client_lite\bin, Then find Oci.dll, Oraocci11.dll, oraociei11.dll in this installation directory
copy these 3 files to the C:\Python27\Lib\site-packages directory
4. Import Databaselibrary in Robotframework
5. Next, we can connect Oracle in Robotframework
"Robotframework Connect Oracle" Robot Connect Oracle Database