You need to setup InternetExplorerDriver on your pc.Download from this place and unzip IEDriverServer.zip as you like.Place is in your pc PATH.See more detail from here.
If you use selenium web driver with JUnit or some other testing framework, you need to setup InternetExplorerDriver path into your code.See my JUnit sample setup;
@Before
public void setUp() throws Exception {
File file = new File("C:\IEDriverServer\IEDriverServer.exe");
System.setProperty("webdriver.ie.driver", file.getAbsolutePath());
driver = new InternetExplorerDriver();
driver.manage().timeouts().implicitlyWait(30, TimeUnit.SECONDS);
}
This blog has some selenium junit tutorials.You can also search many tutorials using google.com :D
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…