【发布时间】:2016-05-09 12:45:09
【问题描述】:
我第一次在 Eclipse 中使用 sikuli。我将 sikuli 脚本 jar 文件导入到我的项目中,并使用了屏幕和模式类。
我遇到了错误
[error] ResourceLoaderBasic: checkLibsDir: libs dir is not on system path: D:\libs
[action] ResourceLoaderBasic: checkLibsDir: Please wait! Trying to add it to user's path
[info] runcmd: reg QUERY HKCU
[info] runcmd: reg QUERY HKEY_CURRENT_USER\Environment /v PATH
[error] ResourceLoaderBasic: checkLibsDir: Logout and Login again! (Since libs folder is in user's path, but not activated)
[error] Terminating SikuliX after a fatal error! Sorry, but it makes no sense to continue!
If you do not have any idea about the error cause or solution, run again
with a Debug level of 3. You might paste the output to the Q&A board.
【问题讨论】:
-
如果您不知道错误原因或解决方案,请使用 3 调试级别再次运行
-
很明显,您的 PATH 中缺少
D:\libs(如错误日志中的提示)。如果您不知道如何添加,请谷歌如何添加 PATH 条目。
标签: java selenium automation sikuli