Tuesday 29 July 2014

Guice provision errors on mac selenium cucumber automation java

Guice provision errors on mac

This problem occurs due to technical path errors
In my case I have given wrong path for chrome as below.. thats why its came.. After correcting path.. it resolved.

I have given this path as per windows .. thats why this path is not working on mac ... hence the below error occuring..

/Users/usreid/Desktop/automationframework/\\Applications\\Google Chrome.exe] 

After that I have change my path as per mac the it started working fine.

Click here how-to-setup-chrome-driver path -on-mac


Failure in after hook:RegistrationHooks.signOut()

Message: com.google.inject.ProvisionException: Guice provision errors:
1) Error in custom provider, org.openqa.selenium.WebDriverException: The chrome binary [/Users/usreid/Desktop/automationframework/\\Applications\\Google Chrome.exe] does not exist.

Build info: version: '2.37.0', revision: 'a7c61cbd68657e133ae96672cf995890bad2ee42', time: '2013-10-18 09:51:02'

System info: host: 'localhost', ip: '127.0.0.1', os.name: 'Mac OS X', os.arch: 'x86_64', os.version: '10.9.2', java.version: '1.6.0_65'

Driver info: driver.version: unknown

  while locating com.comapanyname.selenium.WebDriverProvider

  at com.comapanyname
.configuration.guice.WebDriverModule.configure(WebDriverModule.java:15)

  while locating org.openqa.selenium.WebDriver

    for parameter 1 at com.comapanyname.selenium.DocumentAccessor.<init>(DocumentAccessor.java:31)

No comments:

Post a Comment