1. 安装依赖库
pip install PyMysql
pip install -U robotframework-databaselibrary
离线下载地址: https://github.com/franz-see/Robotframework-Database-Library/archives/0.2
安装完成后重启robot。
2. 启动robot。新建项目,导入库。(DatabaseLibrary)
连接MYSQL数据库:
连接Oracle数据库:
1.安装DatabaseLibrary (已经安装)
2. 安装cx-oracle 下载地址: https://sourceforge.net/projects/cx-oracle/files/