RF连接mongodb:
需要下载两个安装两个文件包,pymongo,robotframework-mongodblibrary
1.pymongo的安装:pip install pymongo
2.robotframework-mongodblibrary的安装:下载地址:
https://github.com/iPlantCollaborativeOpenSource/Robotframework-MongoDB-Library
切换到下载解压包下,用python setup.py install命令安装
我robotframework是在python2的环境下安装的,
1.png在robotframework中导入
339B01DD-E932-4a14-A3F8-A6F0063E7819.png
网友评论