WebDriver

The approach in this article shows how to locate the target element using multiple locators in a single statement.

by Anshoo Arora on June 4, 2012 | Selenium | 18 Comments

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.

by Anshoo Arora on May 1, 2012 | Selenium | 22 Comments

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.

by Anshoo Arora on April 30, 2012 | Selenium | 6 Comments

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.

by Anshoo Arora on March 27, 2012 | Selenium | 27 Comments