1.安装mysql数据库,并启动,创建数据库test及user表(可以自定义) 2.配置robotframework环境加载DatabaseLibrary 3.安装pymysql,下载地址:https://github.com/PyMySQL/PyMySQL 4.演示代码: Connect To Database Using Custom Params pymysql host='127.0.0.1',port=3306,user='root',passwd='123456',db='test'…