robot执行是环境变量使用的不是syspath
将当前py文件添加到环境变量中需要使用 robotframework 内置OperatingSystem库
通过 OperatingSystem().append_to_environment_variable(‘path‘,os.path.dirname(__file__)) 方法将当前环境变量中
robotframework 自定义库导入 modulenotfounderror
原文:https://www.cnblogs.com/ioan/p/13597089.html