Update your path. If you can't run the exe from a command line, without being in the directory the exe is in, it's defiantly a PATH issue.
On Fri, Oct 14, 2011 at 2:15 PM, Babu <[email protected]> wrote: > i addedd all the file under > C:\Documents and Settings\sdasgupta\Local Settings\Application Data > \Google\Chrome\Application > but getting same error? > is only WebDriver*.* file need to load? > > On Oct 14, 3:03 pm, bis <[email protected]> wrote: >> http://code.google.com/p/selenium/wiki/ChromeDriver >> >> >> >> On Fri, Oct 14, 2011 at 3:57 PM, Babu <[email protected]> wrote: >> > hi my code is : >> > require 'rubygems' >> > require 'watir-webdriver >> > browser1 = Watir::Browser.new :firefox >> > browser2 = Watir::Browser.new :ie >> > browser2 = Watir::Browser.new :chrome >> >> > firefix and ie is opening but not chrome. >> > i have installed chrome in >> > "C:\Documents and Settings\sdasgupta\Local Settings\Application Data >> > \Google\Chrome\Application\chrome.exe" >> >> > not under C:\programfiles\... >> >> > i m getting error: >> > C:/Ruby187/lib/ruby/gems/1.8/gems/selenium-webdriver-2.7.0/lib/ >> > selenium/webdrive >> > r/chrome/service.rb:18:in `executable_path': Unable to find the >> > chromedriver exe >> > cutable. Please download the server from >> >http://code.google.com/p/chromium/downl >> > oads/list and place it somewhere on your PATH. More info at >> >http://code.google.c >> > om/p/selenium/wiki/ChromeDriver. >> > (Selenium::WebDriver::Error::WebDriverError) >> > from C:/Ruby187/lib/ruby/gems/1.8/gems/selenium- >> > webdriver-2.7.0/lib/sele >> > nium/webdriver/chrome/service.rb:28:in `default_service' >> > from C:/Ruby187/lib/ruby/gems/1.8/gems/selenium- >> > webdriver-2.7.0/lib/sele >> > nium/webdriver/chrome/bridge.rb:12:in `initialize' >> > from C:/Ruby187/lib/ruby/gems/1.8/gems/selenium- >> > webdriver-2.7.0/lib/sele >> > nium/webdriver/common/driver.rb:35:in `new' >> > from C:/Ruby187/lib/ruby/gems/1.8/gems/selenium- >> > webdriver-2.7.0/lib/sele >> > nium/webdriver/common/driver.rb:35:in `for' >> > from C:/Ruby187/lib/ruby/gems/1.8/gems/selenium- >> > webdriver-2.7.0/lib/sele >> > nium/webdriver.rb:81:in `for' >> > from C:/Ruby187/lib/ruby/gems/1.8/gems/watir-webdriver-0.3.5/ >> > lib/watir-w >> > ebdriver/browser.rb:35:in `initialize' >> > from chrome.rb:3:in `new' >> > from chrome.rb:3 >> >> > -- >> > Before posting, please readhttp://watir.com/support. In short: search >> > before you ask, be nice. >> >> > [email protected] >> >http://groups.google.com/group/watir-general >> > [email protected]<http://groups.google.com/group/watir-general%0Awatir-general+unsubscr...>- >> > Hide quoted text - >> >> - Show quoted text - > > -- > Before posting, please read http://watir.com/support. In short: search before > you ask, be nice. > > [email protected] > http://groups.google.com/group/watir-general > [email protected] > -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. [email protected] http://groups.google.com/group/watir-general [email protected]
