I'm getting the vibe that you don't really understand what 'a path issue' (or for that matter the PATH environment variable) is all about.
Just because the chrome exe is there, does not mean the directory it is on your path. from a command prompt type "PATH" and hit the enter key, the system should display the current path which will be a series of subdirectories seperated by semicolons (;) Under Windows, the path is set under myComputer > Properties > Advanced system settings > Environment Variables Look for the 'path' variable in the system variables section. I generally like to create a directory such as c:\util or c:\bin and put stuff that I want to be able to get at from the command line into that directory and then add that directory to the path. On Oct 14, 12:21 pm, Babu <[email protected]> wrote: > 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 <[email protected]> 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 <[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 readhttp://watir.com/support. In short: search > > > before you ask, be nice. > > > > [email protected] > > >http://groups.google.com/group/watir-general > > > [email protected] Hide quoted text - > > > - Show quoted text -- 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]
