Jenkins acceptance test Harness : Selenium grid issues

17 views
Skip to first unread message

ni n

unread,
Oct 30, 2015, 9:27:30 AM10/30/15
to Jenkins Developers
Hello all!

I am trying to run ATH using remotewebdriver, for that I have modified the FallbackConfig.java (at~/src/main/java/org/jenkinsci/test/acceptance/FallbackConfig.java) as following: 
case "remotewebdriver":
DesiredCapabilities icaps = new DesiredCapabilities();
icaps.setBrowserName("firefox");
return new InfinityConnection().createWebDriver(icaps);
Moreover, I have created RemoteWebdriverConnection.java (at ~/src/main/java/org/jenkinsci/test/acceptance/utils/RemoteWebdriverConnection.java)
public class RemoteWebdriverConnection {
public WebDriver createWebDriver (DesiredCapabilities icaps) throws MalformedURLException {
return new RemoteWebDriver(new URL("HubURL:HubPort/wd/hub"), icaps);
}
}
The above test setup runs perfectly on different selenium Hubs in my network (Multiple machines) when I simply create a hub and connect a node to it (Hub can be anywhere and node can be anywhere within my network) specify the browser.
However, it gives me an error (see below) when I specify additional capabilities on my mac mini which acts as a grid and the available browser is Firefox (Version 30 on Windows 8 64 bit)
case "remotewebdriver":
DesiredCapabilities icaps = new DesiredCapabilities();
icaps.setCapability("browser", "FIREFOX_30_WINDOWS_8_64");
icaps.setCapability("email", "te...@mywebsite.com");
icaps.setCapability("record", true);
 return new InfinityConnection().createWebDriver(icaps);

Stack trace for error: on hastebin

I cannot seem to understand where exactly is the Guice error, and what might be going wrong. I would be really grateful for  any guidance/suggestions!


Thank you very much in advance,

Greetings from Germany,
Reply all
Reply to author
Forward
0 new messages