zoukankan      html  css  js  c++  java
  • Robot Framework:Excel操作

    robot framework 操作Excel需要安装库 ExcelLibrary

    pip install robotframework-ExcelLibrary

    将ExcelLibrary 导入到robot framework中

    使用例子:

    遇到问题:

     FAIL : NotImplementedError: formatting_info=True not yet implemented   原因是因为 xlrd只能操作.xls格式,文件直接改后缀名会报错,需要重新保存为.xls文件

    FAIL : UnboundLocalError: local variable 'cellValue' referenced before assignment  原因是操作错误 使用2 无法读取excel行列值,应使用A1、A2、B1、B2... 

  • 相关阅读:
    class7-附
    class6-附
    class6
    class5-附
    class4-附
    class4
    class3-附【家庭资产配置】
    class2
    芒果绿的blog
    java网络爬虫基础学习(四)
  • 原文地址:https://www.cnblogs.com/rechin/p/10069527.html
Copyright © 2011-2022 走看看