I have written a sample code to launch IE browser
and load google page.
public class Sample {
public static void main(String[] args)
{
try:
public static void main(String[] args)
{
try
{
string path = @"H:\IEDriverServer.exe";
WebDriver driver = new InternetExplorerDriver(path);
driver.manage().timeouts().implicitlyWait(10,TimeUnit.SECONDS);
driver.manage().window().maximize();
driver.get("http://www.google.com");
}
catch(Exception ex)
{
}
}