I have a simple Selenium test within VS2010 test project as follows.
[TestMethod]
public void MyTestInIE8()
{
IWebDriver driver = new InternetExplo
I had this problem as well and the solution I found was to wait a little while after using the FindElement()
method before acting on the element.
Something like this:
var element = driver.FindElement(By.Id("Name"))
Thread.Sleep(200);
element.SendKeys("John");
Apparently there are some race conditions caused by the driver. Or that's my guess anyway.
The Internet Explorer driver requires some configuration of IE as documented in the project wiki. You will need to make sure that the browser is configured properly on your build server.
The Selenium project has been updated recently to throw a more useful error in the case where the IE driver isn't configured properly. Updating to 2.0rc2 will give you this more useful error.