3

How to add the webdrivers of C# in VS 2005, I was tried the same but the "OpenQA" not found error is shown, Is there is any version problem?

3

I would suggest getting the latest Selenium2(webdriver) release from http://seleniumhq.org/download/

The following are the dll's needed to use webdriver in a solution

Add these from the package as a reference in your solution explorer:

webdriver.dll Castle.Core.dll, Ionic.Zip.dll, Newtonsoft.Json.Net35.dll, Selenium.WebDriverBackedSelenium.dll, ThoughtWorks.Selenium.Core.dll, WebDriver.Support.dll,

Then use these using statements:

using OpenQA.Selenium; using OpenQA.Selenium.Firefox; using OpenQA.Selenium.IE; using OpenQA.Selenium.Chrome; using OpenQA.Selenium.Remote;

1
  • Agreed, this is how I do it! – MichaelF Nov 2 '11 at 18:04

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.