Closed foal closed 9 years ago
C:\Development\work\repo\github\gwtchosen\integration-test>mvn -version
Apache Maven 3.3.3 (7994120775791599e205a5524ec3e0dfe41d4a06; 2015-04-22T13:57:37+02:00)
Maven home: C:\Development\Apache\maven\bin\..
Java version: 1.8.0_51, vendor: Oracle Corporation
Java home: C:\Development\Oracle\JDK\Java\jre
Default locale: en_US, platform encoding: Cp1251
OS name: "windows 8.1", version: "6.3", arch: "amd64", family: "dos"
The command to run the tests is mvn clean verify -Pintegration-test
inside the integration-test folder, although we will look at why debugging the integration tests with gwt-run
doesn't work anymore
Ok, Now I have a looot of exceptions in the log, but the important is only one :)
doubleBackstroke_removeLastOption(ChosenIT) Time elapsed: 0 sec <<< ERROR!
java.lang.IllegalStateException: The path to the driver executable must be set by the webdriver.chrome.driver system property; for more information, see http://code.google.com/p/selenium/wiki/ChromeDriver. The latest version can be downloaded from http://chromedriver.storage.googleapis.com/index.html
at com.google.common.base.Preconditions.checkState(Preconditions.java:197)
at org.openqa.selenium.remote.service.DriverService.findExecutable(DriverService.java:105)
at org.openqa.selenium.chrome.ChromeDriverService.createDefaultService(ChromeDriverService.java:89)
at org.openqa.selenium.chrome.ChromeDriver.<init>(ChromeDriver.java:106)
at ChosenIT.<init>(ChosenIT.java:77)
So which version of a chrome driver I should use?
Version 2.17 : http://chromedriver.storage.googleapis.com/index.html?path=2.17/ You need to put it on your PATH. You can check https://sites.google.com/a/chromium.org/chromedriver/ for more informations
Now it works. Thank you!
mvn clean verify -Pintegration-test -Dwebdriver.chrome.driver="C:\Program Files (x86)\Google\Chrome\Application\chromedriver.exe"
Follow the instruction from the mail page and