sikuli机器人框架-如何运行

时间:2019-05-16 07:19:11

标签: robotframework sikuli

我正在尝试将sikuli与带有Windows的机器人框架一起使用,我尝试了此tuto:

https://github.com/rainmanwy/robotframework-SikuliLibrary

pip install robotframework-SikuliLibrary = ok

java -jar SikuliLibrary.jar 3000 = ok

我有这个结果https://www.noelshack.com/2019-20-3-1557929305-nouvelle-image-bitmap-2.png

但是在此之后,我不知道如何继续生成报告

感谢您的回答

20/05/2019

我在sikuli中尝试了此代码,我导入错误:

导入单元测试 导入HTMLTestRunner

我有此错误消息:

Error in file 'C:\Users\xx\Desktop\rainman_repport.sikuli.robot\rainman_repport.robot': Importing test library 'C:\Users\G5999988\Desktop\rainman_repport.sikuli.robot\LoginLibrary.py' failed: NameError: name 'unittest' is not defined
Traceback (most recent call last):
  File "C:\Users\xx\Desktop\rainman_repport.sikuli.robot\LoginLibrary.py", line 8, in <module>
    class MyTest(unittest.TestCase):
PYTHONPATH:
  C:\Users\xx\Desktop\rainman_repport.sikuli
  C:\Users\xx\AppData\Roaming\Sikulix\Lib
  C:\Users\xx\Desktop\New folder\Lib
  C:\Users\xx\Desktop\New folder\sikulix.jar\Lib
  __classpath__
  __pyclasspath__/
  C:\Users\xx\Desktop
CLASSPATH:
  C:\Users\xx\Desktop\New folder\sikulix.jar

你有个主意吗?

0 个答案:

没有答案