环境搭建初期,各种安装问题,解决了一天终于好了,也不知道啥原因,写出来供大家参考:
首先,异常如下:Selenium2Library 导入报错问题,且运行报错:qcannot import name GLOBAL_VARIABLES
运行case后界面报错 from robot.variables import GLOBAL_VARIABLES ImportError: cannot import name GLOBAL_VARIABLES
解决:
直接在D:\Program Files (x86)\Python\Lib\site-packages\Selenium2Library缺少文件的路径下,添加了个GLOBAL_VARIABLES.py 的空文件。

相关文章:

  • 2022-12-23
  • 2021-09-03
  • 2022-12-23
  • 2022-12-23
  • 2021-09-16
  • 2022-12-23
  • 2022-12-23
  • 2021-05-12
猜你喜欢
  • 2021-12-13
  • 2021-05-01
  • 2021-07-28
  • 2021-10-28
  • 2022-12-23
  • 2021-12-23
  • 2022-12-23
相关资源
相似解决方案