Category: CodeProject

Design Pattern - Factory

Design Pattern – Facade

In the last article of this series, we learnt how to write tests using the Page Object Model design pattern. It allowed us to create a test with minimal code, keeping all the actions and element interactions in our page object class itself. This works brilliantly with web applications that have no set journey they…
Read more

Pixel Ratio Confusion

Tip – Walk Before You Can Run

It might seem that from the title, that this is hardly a tip. In fact, with any thing in life, this saying applies. But I wanted to take a moment to talk about this in the context of test automation, because it is something that can make or break whether someone is successful in learning…
Read more

Mistakes that make you facepalm

Mistakes – What Are You Waiting For?

Whether you write tests, write frameworks or both, one thing you are no doubt going to have to do at some point is have some kind of wait in your code. You might wonder why something so seemingly simple deserves its own article, but hopefully by the end of this, you’ll realise that waiting at…
Read more

Selenium Locators

Selenium – Locators

When creating automated tests with Selenium, the most common thing you’ll find yourself doing over and over again is finding out your locators for the elements in which you wish to interact with. There’s no two ways about it, this is a tedious task. There are automated page scrapers that can do this for you…
Read more

Our first JavaScript framework

Framework – Your First Framework Part 1

In the last article, we discussed the definition of a framework and expanded on it. And we tried to understand that the idea of writing your own framework isn’t quite as scary as you might think.  So today, we’re going to take the first step in to creating your first framework for testing web applications…
Read more

Mistakes that make you facepalm

Mistakes – Being Short Sighted?

I’ve been involved in test automation for over ten years now. During that time, I’ve learnt so much from just doing the job, working with some very clever people, and the wealth of knowledge on the internet. But where I’ve learnt most has been from making mistakes, sometimes big mistakes. And to help you avoid…
Read more

Design Pattern - Factory

Design Pattern – Page Object Model

In the first article of the this Design Pattern series, we looked at describing three of the more popular design patterns when it came to writing a framework. One of the three we learnt about was the Page Object Model design pattern. This is probably the most commonly used as it lends itself to creating…
Read more

Selenium Locators

Selenium – Writing Your First Test

In the last article of this series, we learnt about what Selenium and WebDriver were, and how they work. With that basic understanding, we can now look at how we implement the very basics of Selenium into code, and how we go about writing our first test. For the purpose of this article, we’re going…
Read more

Design Pattern - Factory

Design Pattern – Which One to Use?

When trying to design a framework, it’s important to understand that while there is no right or wrong way to do it, there are still good ways to do it. Designing your framework to allow tests to be created within a certain way is just good practise. There are three main design patterns that people…
Read more

Selenium Locators

Selenium – What Is It?

One of the most common technologies used throughout the world of automation is Selenium, and it’s one that you should strive to be comfortable with as it will see you far in terms of an automation career. In this mini-series, I will cover the basics of Selenium and what it is, and then go on…
Read more