El ejecutable del controlador debe ser establecido por la propiedad del sistema webdriver.ie.driver

Estoy usando Selenium para automatizar las pruebas. Mi aplicación utiliza exclusivamente IE, no funcionará en otros navegadores.

Código:

import org.openqa.selenium.ie.InternetExplorerDriver;
import org.openqa.selenium.By;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.WebElement;

public class Test {
    public static void main(String[] args) {
        final String sUrl = "http://www.google.co.in/";                             
        System.setProperty("webdriver.chrome.driver","C:\\Users\\vthaduri\\workspace\\LDCSuite\\IEDriverServer.exe");
        WebDriver oWebDriver = new InternetExplorerDriver();
        oWebDriver.get(sUrl);
        WebElement oSearchInputElem = oWebDriver.findElement(By.name("q")); // Use name locator to identify the search input field.
        oSearchInputElem.sendKeys("Selenium 2");
        WebElement oGoogleSearchBtn = oWebDriver.findElement(By.xpath("//input[@name='btnG']"));  
        oGoogleSearchBtn.click();

        try {
            Thread.sleep(5000);
        } catch(InterruptedException ex) {
            System.out.println(ex.getMessage());
        }
        oWebDriver.close();
    }    
}

Y aquí está el error que estoy recibiendo

La ruta al ejecutable del controlador debe ser establecida por la propiedad del sistema webdriver.ie.driver; Para más información, verhttps://github.com/SeleniumHQ/selenium/wiki/InternetExplorerDriver. La última versión se puede descargar desdehttp://www.seleniumhq.org/download/ 12 de junio de 2012 4:18:42 PM org.apache.http.impl.client.DefaultRequestDirector tryExecute INFO: Excepción de E / S (java.net.SocketException) capturada cuando se procesa la solicitud: El software provocó un aborto de conexión: recv falló el 12 de junio, 2012 4:18:42 PM org.apache.http.impl.client.DefaultRequestDirector tryExecute

¿Alguien me puede ayudar en esto?

Respuestas a la pregunta(5)

Su respuesta a la pregunta