Adding using statements

As well as adding a reference to the project for Selenium WebDriver and NUnit, you must also add a “using” statement for the sections you are going to use in your test. A good start is to add the following using statements to your file: [code] using OpenQA.Selenium; using OpenQA.Selenium.Firefox; using NUnit.Framework; [/code] Note: If […]

Creating your first C# WebDriver test

I use Microsoft Visual Studio 2013 to create my C# WebDriver tests. If you do not have this application then you can download Visual Studio Express from here. I think the most suitable option for our use is the “Express 2013 for Windows Desktop” version. Select File > New > Project from the menu and […]