Selenium test using Sikuli can't click on image when run from Jenkins
I'm writing Selenium Webdrivr tests and I'm using Sikuli to click on a Browse button. I have an image of the button stored on the disk, and here is my code.
ScreenRegion screen = new DesktopScreenRe
Mouse mouse = new DesktopMouse();
Keyboard kb = new DesktopKeyboard();
String sikuliImagesPath = getSikuliImages
Target browseTarget = new ImageTarget(new File(sikuliImag
ScreenRegion browseRegion = screen.
mouse.click(
The selenium tests project is a Maven project and here is the Sikuli dependency in my pom.xml file:
<dependency>
</dependency>
When I'm running the test from my IDE, a Firefox browser is launched and it's clicking on the button just fine. But when I run it from Jenkins, it's launching the browser on the same machine where it was previously working, but I get a NullPointerExce
Do you have any idea why it's not working, can I provide any additional information that might be helpful?
Thank you!
Question information
- Language:
- English Edit question
- Status:
- Expired
- For:
- SikuliX Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply: