i got it it is a PATH issue. i downloaded selenium-dotnet-2.8.0.zip then unzip and put all the files under net40 folder to C:\Documents and Settings\sdasgupta\Local Settings\Application Data \Google\Chrome\Application (this is where my chrome.exe resides)
please help On Oct 14, 3:17 pm, Cliff Cyphers <cliff.cyph...@gmail.com> wrote: > 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 <suvodasgu...@gmail.com> 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 <bis...@gmail.com> wrote: > >>http://code.google.com/p/selenium/wiki/ChromeDriver > > >> On Fri, Oct 14, 2011 at 3:57 PM, Babu <suvodasgu...@gmail.com> 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. > > >> > watir-general@googlegroups.com > >> >http://groups.google.com/group/watir-general > >> > watir-general+unsubscr...@googlegroups.com<http://groups.google.com/group/watir-general%0Awatir-general+unsubscr...>- > >> > Hide quoted text - > > >> - Show quoted text - > > > -- > > Before posting, please readhttp://watir.com/support. In short: search > > before you ask, be nice. > > > watir-general@googlegroups.com > >http://groups.google.com/group/watir-general > > watir-general+unsubscr...@googlegroups.com- Hide quoted text - > > - Show quoted text - -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. watir-general@googlegroups.com http://groups.google.com/group/watir-general watir-general+unsubscr...@googlegroups.com