sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #50130
[Question #677830]: Sikuli script failing while running on Selenium-Grid
New question #677830 on Sikuli:
https://answers.launchpad.net/sikuli/+question/677830
Steps that I configured:
1. created a windows subsystem for Linux(Ubuntu) on my WIN10
2. Installed java and Jenkins on Linux Subsystem
3.Selenium-Grid Hub : Registered Ubuntu server as Grid
4. Selenium- Grid Node: Registered my local Windows as Node
5. Launching Jenkins on my Windows10 system that I configured on Linux Subsystem
My StartNode JSON file:
{
"capabilities":
[
{
"browserName": "internet explorer",
"maxInstances": 1,
"seleniumProtocol": "WebDriver",
"applicationName":"sikuli",
"browserVersion": "11"
},
{
"browserName": "chrome",
"maxInstances": 1,
"seleniumProtocol": "WebDriver"
}
],
"platform":"Windows",
"host":"127.0.0.1",
"proxy": "org.openqa.grid.selenium.proxy.DefaultRemoteProxy",
"maxSession": 5,
"port": 5555,
"register": true,
"registerCycle": 5000,
"hub": "http://127.0.0.1:4444",
"nodeStatusCheckTimeout": 5000,
"nodePolling": 5000,
"role": "node",
"unregisterIfStillDownAfter": 60000,
"downPollingLimit": 2,
"debug": false,
"servlets" : [],
"withoutServlets": [],
"custom": {}
}
Error on Jenkins:
16:26:30 java.lang.NullPointerException
16:26:30 at org.sikuli.script.Screen.capture(Screen.java:587)
16:26:30 at org.sikuli.script.Screen.capture(Screen.java:607)
16:26:30 at org.sikuli.script.Region.doCheckLastSeenAndCreateFinder(Region.java:3001)
16:26:30 at org.sikuli.script.Region.checkLastSeenAndCreateFinder(Region.java:2996)
16:26:30 at org.sikuli.script.Region.doFind(Region.java:2945)
16:26:30 at org.sikuli.script.Region.access$500(Region.java:21)
16:26:30 at org.sikuli.script.Region$RepeatableFind.run(Region.java:3169)
16:26:30 at org.sikuli.script.Region$Repeatable.repeat(Region.java:3125)
16:26:30 at org.sikuli.script.Region.wait(Region.java:2756)
16:26:30 at org.sikuli.script.Region.find(Region.java:2329)
16:26:30 at org.sikuli.script.Region.getLocationFromTarget(Region.java:3238)
16:26:30 at org.sikuli.script.Region.click(Region.java:3736)
16:26:30 at org.sikuli.script.Region.keyin(Region.java:4414)
16:26:30 at org.sikuli.script.Region.type(Region.java:4377)
16:26:30 at ?.When an user logs in with badgeID as 42028 and password as sdsds(/var/lib/jenkins/workspace/Test/src/test/resources/features/Donor Volumes/TrimaAccel/Rinseback_VolumeLoss.feature:13)
** It is starting Internet Explorer and failing once Sikuli script starts.
Please advice ..
--
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.