The approach in this article shows how to locate the target element using multiple locators in a single statement.
This article discusses the PageObject design pattern and the PageFactory class from WebDriver support libraries. I believe this is a very robust way to model your tests. The way this design pattern is formulated, it becomes easier making changes to the flow, logic or the UI. A few discrepancies between the C# and Java implementation of the PageFactory have been included as well.
In this article, I will explain the basics of using NUnit as the unit/regression testing framework along with the WebDriver API to automate Web browsers. NUnit is developed using C# and uses an attribute based programming model. A great thing about NUnit is that its very easy to learn and allows us to abstract away our tests and enable us to focus on the test code.
This article provides an introduction to Selenium and the Selenium Suite of tools: Selenium IDE, Selenium Grid, Selenium RC and Selenium WebDriver. It also answers some common questions revolving Selenium. I have created a simple example with the well-known Mercury Tours website to understand how to write tests using the WebDriver API.