Since SIkuli is a screen capture and replay based testing framework, it needs access to the Windows desktop. Running as a Windows service does not give access to the Windows desktop by default.
I suggest that you should configure a dedicated Windows machine that is logged into the Desktop automatically when Windows starts and automatically starts the JNLP based agent to connect to the Jenkins server. Assign a label to that agent (maybe 'sikuli') and run your sikuli tests on that agent. There are other techniques that attempt to give Windows desktop access to a Windows service. I'm not persuaded that they are worth the effort. Windows services generally are not expected to interact with the Windows desktop. Mark Waite On Thu, Feb 14, 2019 at 3:06 AM Sayali Waghmare <sayaliwaghmar...@gmail.com> wrote: > Hi, > > I have a robot sikuli script when run from terminal it just runs fine. > > When executed from jenkins as a job it is throwing a exception as > om.github.rainmanwy.robotframework.sikulilib.exceptions.TimeoutException: > Timeout happend, could not find P(signin.PNG) S: 0.7. > > Jenkins is installed as a service on windows machine. > > Attached are the logs. > > Thanks. > > -- > You received this message because you are subscribed to the Google Groups > "Jenkins Users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to jenkinsci-users+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/jenkinsci-users/2a3aa4be-8594-4a6e-92d5-07a8e2b215a0%40googlegroups.com > <https://groups.google.com/d/msgid/jenkinsci-users/2a3aa4be-8594-4a6e-92d5-07a8e2b215a0%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- Thanks! Mark Waite -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CAO49JtFh_DALy6T8twe3gE_u3_veuHrjqOv0hHbY13U0-pasTw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.