"Robotframework Connect Oracle" Robot Connect Oracle Database

Source: Internet
Author: User

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

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.