I am elaborating on a question I asked yesterday about PATHs. I am trying to run my selenium tests in IE 8. I have downloaded the IEDriverServer_x64_2.33.0 and it is located in my downloads folder. I have tried adding this location in the following ways:
Control Panel> System>Advanced> Environment Variables
The path is separated by a semicolon in PATH and CLASSPATH (ex.;C:\Users\username\Downloads\IEDriverServer_x64_2.33.0) Neither of these gets my test to run. Could it be how i'm associating the ie browser? I can not run the driver in cmd.exe so i have assumed it is not this.
env.rb :
require 'selenium-webdriver'
require 'rubygems'
require 'rspec/expectations'
@driver = Selenium::WebDriver.for :ie
Any advice. I hope this is enough information to show my problem.
Also here is the error output:
Unable to find standalone executable. Please download the IEDriverServer from http://code.google.com/p/selenium/downloads/list and place the executable on your PATH. (Selenium::WebDriver::Error::WebDriverError)
You need to
unzip
the IEdriver zip file first. Then provideC:\Users\megaxelize\Downloads
in the path. Path to the IEDriver file is the path of the "folder" in which the IEDriver lies.UPDATE
For a quick test, just drop the IEDriver (not the zip file) and drop it in `C:\Windows\System32. Then run your tests.
Unzip the IEDriver.zip file in any folder, so that folder contains IEDriver file e.g you unzipped it in C:\Drivers\