Unable to run the DemoTests in Mac machine

81 views
Skip to first unread message

Rathish R

unread,
Nov 18, 2017, 11:58:34 AM11/18/17
to Cognizant Intelligent Test Scripter
I get the below error. In the Lib folder, the chromedriver present , looks like it is for Windows. Do we need to do anything specific for Mac machine? Could you please advice.


Launching Local Driver
2017-11-17 14:51:07:11S -0500 [SEVERE] com.cognizant.cognizantits.engine.core.Task onError:The driver executable does not exist: /Users/coo328/Documents/CapOne_Projects/CITS_POC/cognizant-intelligent-test-scripter-1.1/lib/Drivers/chromedriver
java.lang.IllegalStateException: The driver executable does not exist: /Users/coo328/Documents/CapOne_Projects/CITS_POC/cognizant-intelligent-test-scripter-1.1/lib/Drivers/chromedriver
at com.google.common.base.Preconditions.checkState(Preconditions.java:534)
at org.openqa.selenium.remote.service.DriverService.checkExecutable(DriverService.java:136)
at org.openqa.selenium.remote.service.DriverService.findExecutable(DriverService.java:131)
at org.openqa.selenium.chrome.ChromeDriverService.access$000(ChromeDriverService.java:32)
at org.openqa.selenium.chrome.ChromeDriverService$Builder.findDefaultExecutable(ChromeDriverService.java:137)
at org.openqa.selenium.remote.service.DriverService$Builder.build(DriverService.java:329)
at org.openqa.selenium.chrome.ChromeDriverService.createDefaultService(ChromeDriverService.java:88)
at org.openqa.selenium.chrome.ChromeDriver.<init>(ChromeDriver.java:146)
at com.cognizant.cognizantits.engine.drivers.WebDriverFactory.create(WebDriverFactory.java:187)
at com.cognizant.cognizantits.engine.drivers.WebDriverFactory.create(WebDriverFactory.java:167)

Cognizant Intelligent Test Scripter

unread,
Nov 18, 2017, 12:06:19 PM11/18/17
to Cognizant Intelligent Test Scripter
As you can clearly see from the error "The driver executable does not exist: /Users/coo328/Documents/CapOne_Projects/CITS_POC/cognizant-intelligent-test-scripter-1.1/lib/Drivers/chromedriver" , the chromedriver file is missing. We packed only chromedriver.exe for windows. For other platforms you need to download them put it in the lib/Drivers directory 

You can download the chromedriver from here and put it in the appropriate directory. 
Reply all
Reply to author
Forward
0 new messages