Python接口自动化——使用openpyxl读写操做excel表

在接口自动化测试中,咱们将测试用例写在excel文件里。因此须要openpyxl这个模块读写excel表中的数据。测试 注意:只能操做 .xlsx 格式excel openpyxl中有三大对象:code workbook : 工做表(excel表)对象 sheet : 表单(excel表底部)blog cell : 单元格接口 1、模块安装 pip install openpyxl 2、模块导入
相关文章
相关标签/搜索