WebDriverException

61 views
Skip to first unread message

Nico Khodabakhsh

unread,
Oct 3, 2017, 4:55:45 PM10/3/17
to xeb...@googlegroups.com
Hi,

First of all thanks alot for the nice fitnesse Xebium project example.
I'm new to fitnesse an I need some help with it.
I have installed Xebium and tried out to run the SimpleTestScript, but I have got selenium.WebDriverException

before the exception apear an empty firefox browser gets open wit the text search or enter address in the urol field.
Further I have a couple of questions:
How can I change firefox browser to internet explorer?
How can I import and build the Xebium project in eclipse?
Is there any good online training course to learn test automation with fitnesse and write a fixture in Java?

I appreciate your help very much!

__EXCEPTION__:org.openqa.selenium.WebDriverException: Failed to connect to binary FirefoxBinary(C:\Program Files (x86)\Mozilla Firefox\firefox.exe) on port 7055; process output follows: 
la.org","minVersion":"51.0","maxVersion":"55.*"}],"targetPlatforms":[],"multiprocessCompatible":true,"signedState":2,"seen":true,"dependencies":[],"hasEmbeddedWebExtension":false,"userPermissions":{"hosts":["<all_urls>","http://*/*","https://*/*"],"apis":[],"permissions":["tabs","downloads","nativeMessaging","webRequest","cookies"]}}
1507061083130	DeferredSave.extensions.json	DEBUG	Save changes
1507061083130	addons.xpi	DEBUG	Updating database with changes to installed add-ons
1507061083130	addons.xpi-utils	DEBUG	Updating add-on states
1507061083132	addons.xpi-utils	DEBUG	Writing add-ons list
1507061083136	addons.xpi	DEBUG	Registering manifest for C:\Program Files (x86)\Mozilla Firefox\browser\features\aush...@mozilla.org.xpi
1507061083136	addons.xpi	DEBUG	Calling bootstrap method startup on aush...@mozilla.org version 2.0
1507061083138	addons.xpi	DEBUG	Registering manifest for C:\Program Files (x86)\Mozilla Firefox\browser\features\e10sr...@mozilla.org.xpi
1507061083139	addons.xpi	DEBUG	Calling bootstrap method startup on e10sr...@mozilla.org version 1.50
1507061083139	addons.xpi	DEBUG	Registering manifest for C:\Program Files (x86)\Mozilla Firefox\browser\features\fir...@getpocket.com.xpi
1507061083140	addons.xpi	DEBUG	Calling bootstrap method startup on fir...@getpocket.com version 1.0.5
1507061083141	addons.xpi	DEBUG	Registering manifest for C:\Program Files (x86)\Mozilla Firefox\browser\features\scree...@mozilla.org.xpi
1507061083141	addons.xpi	DEBUG	Calling bootstrap method startup on scree...@mozilla.org version 6.6.0
1507061083142	addons.xpi	DEBUG	Registering manifest for C:\Program Files (x86)\Mozilla Firefox\browser\features\webc...@mozilla.org.xpi
1507061083142	addons.xpi	DEBUG	Calling bootstrap method startup on webc...@mozilla.org version 1.1
1507061083147	addons.manager	DEBUG	Registering shutdown blocker for XPIProvider
1507061083148	addons.manager	DEBUG	Provider finished startup: XPIProvider
1507061083148	addons.manager	DEBUG	Starting provider: LightweightThemeManager
1507061083148	addons.manager	DEBUG	Registering shutdown blocker for LightweightThemeManager
1507061083148	addons.manager	DEBUG	Provider finished startup: LightweightThemeManager
1507061083148	addons.manager	DEBUG	Starting provider: GMPProvider
1507061083153	addons.manager	DEBUG	Registering shutdown blocker for GMPProvider
1507061083154	addons.manager	DEBUG	Provider finished startup: GMPProvider
1507061083154	addons.manager	DEBUG	Starting provider: PluginProvider
1507061083154	addons.manager	DEBUG	Registering shutdown blocker for PluginProvider
1507061083154	addons.manager	DEBUG	Provider finished startup: PluginProvider
1507061083155	addons.manager	DEBUG	Completed startup sequence
1507061084440	addons.manager	DEBUG	Starting provider: <unnamed-provider>
1507061084440	addons.manager	DEBUG	Registering shutdown blocker for <unnamed-provider>
1507061084440	addons.manager	DEBUG	Provider finished startup: <unnamed-provider>
1507061084682	DeferredSave.extensions.json	DEBUG	Write succeeded
1507061084682	addons.xpi-utils	DEBUG	XPI Database saved, setting schema version preference to 19
1507061084682	DeferredSave.extensions.json	DEBUG	Starting timer
1507061084720	DeferredSave.extensions.json	DEBUG	Starting write
1507061084728	addons.repository	DEBUG	No addons.json found.
1507061084729	DeferredSave.addons.json	DEBUG	Save changes
1507061084732	DeferredSave.addons.json	DEBUG	Starting timer
1507061084796	addons.manager	DEBUG	Starting provider: PreviousExperimentProvider
1507061084796	addons.manager	DEBUG	Registering shutdown blocker for PreviousExperimentProvider
1507061084796	addons.manager	DEBUG	Provider finished startup: PreviousExperimentProvider
1507061084800	DeferredSave.addons.json	DEBUG	Starting write
1507061084809	DeferredSave.extensions.json	DEBUG	Write succeeded
1507061084839	DeferredSave.addons.json	DEBUG	Write succeeded
[GPU 3872] WARNING: pipe error: 109: file c:/builds/moz2_slave/m-rel-w32-00000000000000000000/build/src/ipc/chromium/src/chrome/common/ipc_channel_win.cc, line 346

Build info: version: '2.52.0', revision: '4c2593cfc3689a7fcd7be52549167e5ccc93ad28', time: '2016-02-11 11:22:43'
System info: host: 'DESKTOP-H0AVLLT', ip: '192.168.2.4', os.name: 'Windows 10', os.arch: 'x86', os.version: '10.0', java.version: '1.8.0_131'
Driver info: driver.version: FirefoxDriver
	at org.openqa.selenium.firefox.internal.NewProfileExtensionConnection.start(NewProfileExtensionConnection.java:125) [selenium-firefox-driver-2.52.0.jar]
	at org.openqa.selenium.firefox.FirefoxDriver.startClient(FirefoxDriver.java:271) [selenium-firefox-driver-2.52.0.jar]
	at org.openqa.selenium.remote.RemoteWebDriver.<init>(RemoteWebDriver.java:119) [selenium-remote-driver-2.52.0.jar]
	at org.openqa.selenium.firefox.FirefoxDriver.<init>(FirefoxDriver.java:216) [selenium-firefox-driver-2.52.0.jar]
	at org.openqa.selenium.firefox.FirefoxDriver.<init>(FirefoxDriver.java:211) [selenium-firefox-driver-2.52.0.jar]
	at org.openqa.selenium.firefox.FirefoxDriver.<init>(FirefoxDriver.java:207) [selenium-firefox-driver-2.52.0.jar]
	at org.openqa.selenium.firefox.FirefoxDriver.<init>(FirefoxDriver.java:124) [selenium-firefox-driver-2.52.0.jar]
	at com.xebia.incubator.xebium.DefaultWebDriverSupplier.newWebDriver(DefaultWebDriverSupplier.java:63) [file:/C:/Users/N.%20Khodabakhsh/Documents/Xebium/target/classes/]
	at com.xebia.incubator.xebium.SeleniumDriverFixture.defaultWebDriverInstance(SeleniumDriverFixture.java:91) [file:/C:/Users/N.%20Khodabakhsh/Documents/Xebium/target/classes/]
	at com.xebia.incubator.xebium.SeleniumDriverFixture.startBrowserOnUrl(SeleniumDriverFixture.java:184) [file:/C:/Users/N.%20Khodabakhsh/Documents/Xebium/target/classes/]
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [rt.jar:1.8.0_131]
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [rt.jar:1.8.0_131]
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.8.0_131]
	at java.lang.reflect.Method.invoke(Method.java:498) [rt.jar:1.8.0_131]
	at fitnesse.slim.fixtureInteraction.DefaultInteraction.methodInvoke(DefaultInteraction.java:81) [fitnesse-20151230.jar]
	at fitnesse.slim.MethodExecutor.callMethod(MethodExecutor.java:57) [fitnesse-20151230.jar]
	at fitnesse.slim.MethodExecutor.invokeMethod(MethodExecutor.java:38) [fitnesse-20151230.jar]
	at fitnesse.slim.MethodExecutor.findAndInvoke(MethodExecutor.java:72) [fitnesse-20151230.jar]
	at fitnesse.slim.FixtureMethodExecutor.execute(FixtureMethodExecutor.java:20) [fitnesse-20151230.jar]
	at fitnesse.slim.StatementExecutor.getMethodExecutionResult(StatementExecutor.java:135) [fitnesse-20151230.jar]
	at fitnesse.slim.StatementExecutor.call(StatementExecutor.java:108) [fitnesse-20151230.jar]
	at fitnesse.slim.instructions.CallInstruction.executeInternal(CallInstruction.java:35) [fitnesse-20151230.jar]
	at fitnesse.slim.instructions.Instruction.execute(Instruction.java:29) [fitnesse-20151230.jar]
	at fitnesse.slim.ListExecutor$Executive.executeStatement(ListExecutor.java:49) [fitnesse-20151230.jar]
	at fitnesse.slim.ListExecutor$Executive.executeStatements(ListExecutor.java:43) [fitnesse-20151230.jar]
	at fitnesse.slim.ListExecutor.execute(ListExecutor.java:85) [fitnesse-20151230.jar]
	at fitnesse.slim.SlimServer.executeInstructions(SlimServer.java:84) [fitnesse-20151230.jar]
	at fitnesse.slim.SlimServer.processOneSetOfInstructions(SlimServer.java:77) [fitnesse-20151230.jar]
	at fitnesse.slim.SlimServer.tryProcessInstructions(SlimServer.java:64) [fitnesse-20151230.jar]
	at fitnesse.slim.SlimServer.serve(SlimServer.java:49) [fitnesse-20151230.jar]
	at fitnesse.slim.SlimService.handle(SlimService.java:154) [fitnesse-20151230.jar]
	at fitnesse.slim.SlimService.acceptOne(SlimService.java:162) [fitnesse-20151230.jar]
	at fitnesse.slim.SlimService.accept(SlimService.java:124) [fitnesse-20151230.jar]
	at fitnesse.slim.SlimService.startWithFactory(SlimService.java:76) [fitnesse-20151230.jar]
	at fitnesse.slim.SlimService.main(SlimService.java:56) [fitnesse-20151230.jar]
Caused by: org.openqa.selenium.firefox.NotConnectedException: Unable to connect to host 127.0.0.1 on port 7055 after 45000 ms. Firefox console output:
la.org","minVersion":"51.0","maxVersion":"55.*"}],"targetPlatforms":[],"multiprocessCompatible":true,"signedState":2,"seen":true,"dependencies":[],"hasEmbeddedWebExtension":false,"userPermissions":{"hosts":["<all_urls>","http://*/*","https://*/*"],"apis":[],"permissions":["tabs","downloads","nativeMessaging","webRequest","cookies"]}}
1507061083130	DeferredSave.extensions.json	DEBUG	Save changes
1507061083130	addons.xpi	DEBUG	Updating database with changes to installed add-ons
1507061083130	addons.xpi-utils	DEBUG	Updating add-on states
1507061083132	addons.xpi-utils	DEBUG	Writing add-ons list
1507061083136	addons.xpi	DEBUG	Registering manifest for C:\Program Files (x86)\Mozilla Firefox\browser\features\aush...@mozilla.org.xpi
1507061083136	addons.xpi	DEBUG	Calling bootstrap method startup on aush...@mozilla.org version 2.0
1507061083138	addons.xpi	DEBUG	Registering manifest for C:\Program Files (x86)\Mozilla Firefox\browser\features\e10sr...@mozilla.org.xpi
1507061083139	addons.xpi	DEBUG	Calling bootstrap method startup on e10sr...@mozilla.org version 1.50
1507061083139	addons.xpi	DEBUG	Registering manifest for C:\Program Files (x86)\Mozilla Firefox\browser\features\fir...@getpocket.com.xpi
1507061083140	addons.xpi	DEBUG	Calling bootstrap method startup on fir...@getpocket.com version 1.0.5
1507061083141	addons.xpi	DEBUG	Registering manifest for C:\Program Files (x86)\Mozilla Firefox\browser\features\scree...@mozilla.org.xpi
1507061083141	addons.xpi	DEBUG	Calling bootstrap method startup on scree...@mozilla.org version 6.6.0
1507061083142	addons.xpi	DEBUG	Registering manifest for C:\Program Files (x86)\Mozilla Firefox\browser\features\webc...@mozilla.org.xpi
1507061083142	addons.xpi	DEBUG	Calling bootstrap method startup on webc...@mozilla.org version 1.1
1507061083147	addons.manager	DEBUG	Registering shutdown blocker for XPIProvider
1507061083148	addons.manager	DEBUG	Provider finished startup: XPIProvider
1507061083148	addons.manager	DEBUG	Starting provider: LightweightThemeManager
1507061083148	addons.manager	DEBUG	Registering shutdown blocker for LightweightThemeManager
1507061083148	addons.manager	DEBUG	Provider finished startup: LightweightThemeManager
1507061083148	addons.manager	DEBUG	Starting provider: GMPProvider
1507061083153	addons.manager	DEBUG	Registering shutdown blocker for GMPProvider
1507061083154	addons.manager	DEBUG	Provider finished startup: GMPProvider
1507061083154	addons.manager	DEBUG	Starting provider: PluginProvider
1507061083154	addons.manager	DEBUG	Registering shutdown blocker for PluginProvider
1507061083154	addons.manager	DEBUG	Provider finished startup: PluginProvider
1507061083155	addons.manager	DEBUG	Completed startup sequence
1507061084440	addons.manager	DEBUG	Starting provider: <unnamed-provider>
1507061084440	addons.manager	DEBUG	Registering shutdown blocker for <unnamed-provider>
1507061084440	addons.manager	DEBUG	Provider finished startup: <unnamed-provider>
1507061084682	DeferredSave.extensions.json	DEBUG	Write succeeded
1507061084682	addons.xpi-utils	DEBUG	XPI Database saved, setting schema version preference to 19
1507061084682	DeferredSave.extensions.json	DEBUG	Starting timer
1507061084720	DeferredSave.extensions.json	DEBUG	Starting write
1507061084728	addons.repository	DEBUG	No addons.json found.
1507061084729	DeferredSave.addons.json	DEBUG	Save changes
1507061084732	DeferredSave.addons.json	DEBUG	Starting timer
1507061084796	addons.manager	DEBUG	Starting provider: PreviousExperimentProvider
1507061084796	addons.manager	DEBUG	Registering shutdown blocker for PreviousExperimentProvider
1507061084796	addons.manager	DEBUG	Provider finished startup: PreviousExperimentProvider
1507061084800	DeferredSave.addons.json	DEBUG	Starting write
1507061084809	DeferredSave.extensions.json	DEBUG	Write succeeded
1507061084839	DeferredSave.addons.json	DEBUG	Write succeeded
[GPU 3872] WARNING: pipe error: 109: file c:/builds/moz2_slave/m-rel-w32-00000000000000000000/build/src/ipc/chromium/src/chrome/common/ipc_channel_win.cc, line 346

	at org.openqa.selenium.firefox.internal.NewProfileExtensionConnection.start(NewProfileExtensionConnection.java:113) [selenium-firefox-driver-2.52.0.jar]
	at org.openqa.selenium.firefox.FirefoxDriver.startClient(FirefoxDriver.java:271) [selenium-firefox-driver-2.52.0.jar]
	at org.openqa.selenium.remote.RemoteWebDriver.<init>(RemoteWebDriver.java:119) [selenium-remote-driver-2.52.0.jar]
	at org.openqa.selenium.firefox.FirefoxDriver.<init>(FirefoxDriver.java:216) [selenium-firefox-driver-2.52.0.jar]
	at org.openqa.selenium.firefox.FirefoxDriver.<init>(FirefoxDriver.java:211) [selenium-firefox-driver-2.52.0.jar]
	at org.openqa.selenium.firefox.FirefoxDriver.<init>(FirefoxDriver.java:207) [selenium-firefox-driver-2.52.0.jar]
	at org.openqa.selenium.firefox.FirefoxDriver.<init>(FirefoxDriver.java:124) [selenium-firefox-driver-2.52.0.jar]
	at com.xebia.incubator.xebium.DefaultWebDriverSupplier.newWebDriver(DefaultWebDriverSupplier.java:63) [file:/C:/Users/N.%20Khodabakhsh/Documents/Xebium/target/classes/]
	at com.xebia.incubator.xebium.SeleniumDriverFixture.defaultWebDriverInstance(SeleniumDriverFixture.java:91) [file:/C:/Users/N.%20Khodabakhsh/Documents/Xebium/target/classes/]
	at com.xebia.incubator.xebium.SeleniumDriverFixture.startBrowserOnUrl(SeleniumDriverFixture.java:184) [file:/C:/Users/N.%20Khodabakhsh/Documents/Xebium/target/classes/]
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [rt.jar:1.8.0_131]
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [rt.jar:1.8.0_131]
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.8.0_131]
	at java.lang.reflect.Method.invoke(Method.java:498) [rt.jar:1.8.0_131]
	at fitnesse.slim.fixtureInteraction.DefaultInteraction.methodInvoke(DefaultInteraction.java:81) [fitnesse-20151230.jar]
	at fitnesse.slim.MethodExecutor.callMethod(MethodExecutor.java:57) [fitnesse-20151230.jar]
	at fitnesse.slim.MethodExecutor.invokeMethod(MethodExecutor.java:38) [fitnesse-20151230.jar]
	at fitnesse.slim.MethodExecutor.findAndInvoke(MethodExecutor.java:72) [fitnesse-20151230.jar]
	at fitnesse.slim.FixtureMethodExecutor.execute(FixtureMethodExecutor.java:20) [fitnesse-20151230.jar]
	at fitnesse.slim.StatementExecutor.getMethodExecutionResult(StatementExecutor.java:135) [fitnesse-20151230.jar]
	at fitnesse.slim.StatementExecutor.call(StatementExecutor.java:108) [fitnesse-20151230.jar]
	at fitnesse.slim.instructions.CallInstruction.executeInternal(CallInstruction.java:35) [fitnesse-20151230.jar]
	at fitnesse.slim.instructions.Instruction.execute(Instruction.java:29) [fitnesse-20151230.jar]
	at fitnesse.slim.ListExecutor$Executive.executeStatement(ListExecutor.java:49) [fitnesse-20151230.jar]
	at fitnesse.slim.ListExecutor$Executive.executeStatements(ListExecutor.java:43) [fitnesse-20151230.jar]
	at fitnesse.slim.ListExecutor.execute(ListExecutor.java:85) [fitnesse-20151230.jar]
	at fitnesse.slim.SlimServer.executeInstructions(SlimServer.java:84) [fitnesse-20151230.jar]
	at fitnesse.slim.SlimServer.processOneSetOfInstructions(SlimServer.java:77) [fitnesse-20151230.jar]
	at fitnesse.slim.SlimServer.tryProcessInstructions(SlimServer.java:64) [fitnesse-20151230.jar]
	at fitnesse.slim.SlimServer.serve(SlimServer.java:49) [fitnesse-20151230.jar]
	at fitnesse.slim.SlimService.handle(SlimService.java:154) [fitnesse-20151230.jar]
	at fitnesse.slim.SlimService.acceptOne(SlimService.java:162) [fitnesse-20151230.jar]
	at fitnesse.slim.SlimService.accept(SlimService.java:124) [fitnesse-20151230.jar]
	at fitnesse.slim.SlimService.startWithFactory(SlimService.java:76) [fitnesse-20151230.jar]
	at fitnesse.slim.SlimService.main(SlimService.java:56) [fitnesse-20151230.jar]
Met vriendelijke groet / Best regards,
Nico Khodabakhsh

Cirilo Wortel

unread,
Oct 4, 2017, 2:39:02 AM10/4/17
to xeb...@googlegroups.com
Hi Nico, 

Sorry i’ve not been doing much with Xebium lately, but the most common reason for problems like this is that your Selenium driver version mismatches your browser version. This is quite delicate, versions should be inline. it says you’re using selenium-firefox-driver-2.52.0.jar, so try to find out if this can be used with your current installed version.

For using internet explorer you have to fill browser type iexplore in stead of firefox (if I remember correctly). My experience is that it’s a good practice to first get things to work on Chrome, because debugging often is a bit simpler. Once its stable move to other browsers.

regards,

Cirilo

--
You received this message because you are subscribed to the Google Groups "Xebium" group.
To unsubscribe from this group and stop receiving emails from it, send an email to xebium+un...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

nico.kho...@gmail.com

unread,
Oct 7, 2017, 5:09:30 PM10/7/17
to Xebium
Hi Cirilo,

Thank you for your reply.
I have downgrade firefox to 45.0 version and it works with selenium-firefox-driver-2.52.0.jar version. Also works fine with chrome 61.0 version.
But it does not work with IE Version 11. I have got the WebdriverException below with IE version 11.
So how can I change the classpath jars sothat is works wit the current IE and firefox version? And who can help me to build xebium with eclipse?

Best regards, Nico


__EXCEPTION__:org.openqa.selenium.WebDriverException: session null does not exist (WARNING: The server did not provide any stacktrace information) Command duration or timeout: 16 milliseconds Build info: version: '2.52.0', revision: '4c2593cfc3689a7fcd7be52549167e5ccc93ad28', time: '2016-02-11 11:22:43' System info: host: 'DESKTOP-H0AVLLT', ip: '192.168.2.4', os.name: 'Windows 10', os.arch: 'x86', os.version: '10.0', java.version: '1.8.0_131' Driver info: org.openqa.selenium.ie.InternetExplorerDriver Capabilities [{capabilities={acceptInsecureCerts=false, browserVersion=11, se:ieOptions={nativeEvents=true, browserAttachTimeout=0, ie.ensureCleanSession=false, elementScrollBehavior=0, enablePersistentHover=true, ie.browserCommandLineSwitches=, ie.forceCreateProcessApi=false, requireWindowFocus=false, initialBrowserUrl=http://localhost:25833/, ignoreZoomSetting=false, ie.fileUploadDialogTimeout=3000, ignoreProtectedModeSettings=false}, browserName=internet explorer, pageLoadStrategy=normal, unhandledPromptBehavior=dismiss, platformName=windows, setWindowRect=true}, sessionId=605fdc05-47de-4ee2-a107-823151336852, platform=ANY}] Session ID: null at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) [rt.jar:1.8.0_131] at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) [rt.jar:1.8.0_131] at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) [rt.jar:1.8.0_131] at java.lang.reflect.Constructor.newInstance(Constructor.java:423) [rt.jar:1.8.0_131] at org.openqa.selenium.remote.ErrorHandler.createThrowable(ErrorHandler.java:206) [selenium-remote-driver-2.52.0.jar] at org.openqa.selenium.remote.ErrorHandler.throwIfResponseFailed(ErrorHandler.java:158) [selenium-remote-driver-2.52.0.jar] at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:678) [selenium-remote-driver-2.52.0.jar] at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:701) [selenium-remote-driver-2.52.0.jar] at org.openqa.selenium.remote.RemoteWebDriver.getWindowHandle(RemoteWebDriver.java:553) [selenium-remote-driver-2.52.0.jar] at com.thoughtworks.selenium.webdriven.Windows.<init>(Windows.java:39) [selenium-leg-rc-2.52.0.jar] at com.thoughtworks.selenium.webdriven.WebDriverCommandProcessor.setUpMethodMap(WebDriverCommandProcessor.java:201) [selenium-leg-rc-2.52.0.jar] at com.thoughtworks.selenium.webdriven.WebDriverCommandProcessor.<init>(WebDriverCommandProcessor.java:55) [selenium-leg-rc-2.52.0.jar] at com.xebia.incubator.xebium.fastseleniumemulation.FastWebDriverCommandProcessor.<init>(FastWebDriverCommandProcessor.java:19) [file:/C:/Users/N.%20Khodabakhsh/Documents/Xebium/target/classes/] at com.xebia.incubator.xebium.SeleniumDriverFixture.startWebDriverCommandProcessor(SeleniumDriverFixture.java:98) [file:/C:/Users/N.%20Khodabakhsh/Documents/Xebium/target/classes/] at com.xebia.incubator.xebium.SeleniumDriverFixture.startDriverOnUrl(SeleniumDriverFixture.java:169) [file:/C:/Users/N.%20Khodabakhsh/Documents/Xebium/target/classes/] at com.xebia.incubator.xebium.SeleniumDriverFixture.startBrowserOnUrl(SeleniumDriverFixture.java:184) [file:/C:/Users/N.%20Khodabakhsh/Documents/Xebium/target/classes/] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [rt.jar:1.8.0_131] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [rt.jar:1.8.0_131] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.8.0_131] at java.lang.reflect.Method.invoke(Method.java:498) [rt.jar:1.8.0_131] at fitnesse.slim.fixtureInteraction.DefaultInteraction.methodInvoke(DefaultInteraction.java:81) [fitnesse-20151230.jar] at fitnesse.slim.MethodExecutor.callMethod(MethodExecutor.java:57) [fitnesse-20151230.jar] at fitnesse.slim.MethodExecutor.invokeMethod(MethodExecutor.java:38) [fitnesse-20151230.jar] at fitnesse.slim.MethodExecutor.findAndInvoke(MethodExecutor.java:72) [fitnesse-20151230.jar] at fitnesse.slim.FixtureMethodExecutor.execute(FixtureMethodExecutor.java:20) [fitnesse-20151230.jar] at fitnesse.slim.StatementExecutor.getMethodExecutionResult(StatementExecutor.java:135) [fitnesse-20151230.jar] at fitnesse.slim.StatementExecutor.call(StatementExecutor.java:108) [fitnesse-20151230.jar] at fitnesse.slim.instructions.CallInstruction.executeInternal(CallInstruction.java:35) [fitnesse-20151230.jar] at fitnesse.slim.instructions.Instruction.execute(Instruction.java:29) [fitnesse-20151230.jar] at fitnesse.slim.ListExecutor$Executive.executeStatement(ListExecutor.java:49) [fitnesse-20151230.jar] at fitnesse.slim.ListExecutor$Executive.executeStatements(ListExecutor.java:43) [fitnesse-20151230.jar] at fitnesse.slim.ListExecutor.execute(ListExecutor.java:85) [fitnesse-20151230.jar] at fitnesse.slim.SlimServer.executeInstructions(SlimServer.java:84) [fitnesse-20151230.jar] at fitnesse.slim.SlimServer.processOneSetOfInstructions(SlimServer.java:77) [fitnesse-20151230.jar] at fitnesse.slim.SlimServer.tryProcessInstructions(SlimServer.java:64) [fitnesse-20151230.jar] at fitnesse.slim.SlimServer.serve(SlimServer.java:49) [fitnesse-20151230.jar] at fitnesse.slim.SlimService.handle(SlimService.java:154) [fitnesse-20151230.jar] at fitnesse.slim.SlimService.acceptOne(SlimService.java:162) [fitnesse-20151230.jar] at fitnesse.slim.SlimService.accept(SlimService.java:124) [fitnesse-20151230.jar] at fitnesse.slim.SlimService.startWithFactory(SlimService.java:76) [fitnesse-20151230.jar] at fitnesse.slim.SlimService.main(SlimService.java:56) [fitnesse-20151230.jar]

Op woensdag 4 oktober 2017 08:39:02 UTC+2 schreef Cirilo Wortel:
Hi Nico, 

Sorry i’ve not been doing much with Xebium lately, but the most common reason for problems like this is that your Selenium driver version mismatches your browser version. This is quite delicate, versions should be inline. it says you’re using selenium-firefox-driver-2.52.0.jar, so try to find out if this can be used with your current installed version.

For using internet explorer you have to fill browser type iexplore in stead of firefox (if I remember correctly). My experience is that it’s a good practice to first get things to work on Chrome, because debugging often is a bit simpler. Once its stable move to other browsers.

regards,

Cirilo

On 3 Oct 2017, at 22:55, Nico Khodabakhsh <nico.kho...@gmail.com> wrote:

Hi,

First of all thanks alot for the nice fitnesse Xebium project example.
I'm new to fitnesse an I need some help with it.
I have installed Xebium and tried out to run the SimpleTestScript, but I have got selenium.WebDriverException

before the exception apear an empty firefox browser gets open wit the text search or enter address in the urol field.
Further I have a couple of questions:
How can I change firefox browser to internet explorer?
How can I import and build the Xebium project in eclipse?
Is there any good online training course to learn test automation with fitnesse and write a fixture in Java?

I appreciate your help very much!

__EXCEPTION__:org.openqa.selenium.WebDriverException: Failed to connect to binary FirefoxBinary(C:\Program Files (x86)\Mozilla Firefox\firefox.exe) on port 7055; process output follows: 
la.org","minVersion":"51.0","maxVersion":"55.*"}],"targetPlatforms":[],"multiprocessCompatible":true,"signedState":2,"seen":true,"dependencies":[],"hasEmbeddedWebExtension":false,"userPermissions":{"hosts":["<all_urls>","http://*/*","https://*/*"],"apis":[],"permissions":["tabs","downloads","nativeMessaging","
webRequest","cookies"]}}
1507061083130	DeferredSave.extensions.json	DEBUG	Save changes
1507061083130	addons.xpi	DEBUG	Updating database with changes to installed add-ons
1507061083130	addons.xpi-utils	DEBUG	Updating add-on states
1507061083132	addons.xpi-utils	DEBUG	Writing add-ons list
1507061083136	addons.xpi	DEBUG	Registering manifest for C:\Program Files (x86)\Mozilla Firefox\browser\features\aushelp...@mozilla.org.xpi
1507061083136	addons.xpi	DEBUG	Calling bootstrap method startup on aush...@mozilla.org
 version 2.0
1507061083138	addons.xpi	DEBUG	Registering manifest for C:\Program Files (x86)\Mozilla Firefox\browser\features\e10sroll...@mozilla.org.xpi
1507061083139	addons.xpi	DEBUG	Calling bootstrap method startup on e10sr...@mozilla.org
 version 1.50
1507061083139	addons.xpi	DEBUG	Registering manifest for C:\Program Files (x86)\Mozilla Firefox\browser\features\firefo...@getpocket.com.xpi
1507061083140	addons.xpi	DEBUG	Calling bootstrap method startup on fir...@getpocket.com
 version 1.0.5
1507061083141	addons.xpi	DEBUG	Registering manifest for C:\Program Files (x86)\Mozilla Firefox\browser\features\screensh...@mozilla.org.xpi
1507061083141	addons.xpi	DEBUG	Calling bootstrap method startup on scree...@mozilla.org
 version 6.6.0
1507061083142	addons.xpi	DEBUG	Registering manifest for C:\Program Files (x86)\Mozilla Firefox\browser\features\webcomp...@mozilla.org.xpi
webRequest","cookies"]}}
1507061083130	DeferredSave.extensions.json	DEBUG	Save changes
1507061083130	addons.xpi	DEBUG	Updating database with changes to installed add-ons
1507061083130	addons.xpi-utils	DEBUG	Updating add-on states
1507061083132	addons.xpi-utils	DEBUG	Writing add-ons list
1507061083136	addons.xpi	DEBUG	Registering manifest for C:\Program Files (x86)\Mozilla Firefox\browser\features\aushelp...@mozilla.org.xpi
1507061083136	addons.xpi	DEBUG	Calling bootstrap method startup on aush...@mozilla.org
 version 2.0
1507061083138	addons.xpi	DEBUG	Registering manifest for C:\Program Files (x86)\Mozilla Firefox\browser\features\e10sroll...@mozilla.org.xpi
1507061083139	addons.xpi	DEBUG	Calling bootstrap method startup on e10sr...@mozilla.org
 version 1.50
1507061083139	addons.xpi	DEBUG	Registering manifest for C:\Program Files (x86)\Mozilla Firefox\browser\features\firefo...@getpocket.com.xpi
1507061083140	addons.xpi	DEBUG	Calling bootstrap method startup on fir...@getpocket.com
 version 1.0.5
1507061083141	addons.xpi	DEBUG	Registering manifest for C:\Program Files (x86)\Mozilla Firefox\browser\features\screensh...@mozilla.org.xpi
1507061083141	addons.xpi	DEBUG	Calling bootstrap method startup on scree...@mozilla.org
 version 6.6.0
1507061083142	addons.xpi	DEBUG	Registering manifest for C:\Program Files (x86)\Mozilla Firefox\browser\features\webcomp...@mozilla.org.xpi

Nico Khodabakhsh

unread,
Oct 7, 2017, 5:11:53 PM10/7/17
to xeb...@googlegroups.com
Hi Cirilo,

Thank you for your reply.
I have downgrade firefox to 45.0 version and it works with selenium-firefox-driver-2.52.0.jar version. Also works fine with chrome 61.0 version.
But it does not work with IE Version 11. I have got the WebdriverException below with IE version 11.
So how can I change the classpath jar's sothat is works wit the current IE and firefox version? And who can help me to build xebium with eclipse?

Best regards, Nico

Stefan Assenberg

unread,
Nov 28, 2017, 9:20:13 AM11/28/17
to Xebium
For IE11 you should download the IE webdrive with filename IEDriverServer.exe and make sure that it is compatible with your IE version & the .exe is on your systems PATH so it can be found.

I am using IEDriverServer 2.53.0.0 which works with my IE11 version 11.0.9600.18837.

Also make sure you are using the 32bit version of the webdriver as the 64bit version is sloooooooow.
Reply all
Reply to author
Forward
0 new messages