Blog

Creating our framework

Framework – Your First Framework – Part 3

In part two, we created the foundation of our framework, by setting up the classes that allow us to setup and dispose of our driver instances. But we’re not going to be doing much in the way of testing by just opening an empty window and closing it. Next, we’re going to create some wrapper…
Read more

Testing trends

Trends – The Demand for Automation and The Risk for Testing

The demand for automation skills when hiring testers has increased dramatically in the time I’ve been involved in the industry. Back when I started, it was a “nice to have” skill set that would at most be listed under the desired skills but never the list of required. Now though, it’s rare to see a…
Read more

Best Practise

Best Practises – Naming Standards Part Two

Part one saw us learn about good and bad naming for variables and method names, and the type of rules you should follow when deciding on names. In part two, we’re going to expand upon the naming standards for methods. Having a good method name is a start, but you need to take in to…
Read more

Creating our framework

Framework – Your First Framework Part 2

In part one, we built our Driver factory class that will allow us to create an instance of a browser driver, depending on the parameter we passed in. This was an important first step, as without this we would have to manually create our browser instance in our tests themselves. By doing it this way,…
Read more

Be a better automation tester

Tip – Avoid Being on the Defensive

Writing code can be a hugely satisfying exercise. When you’ve finally cracked the solution to that problem you’ve been trying to solve for hours or even days, and the code just flows from your fingertips, it can leave you with a great sense of achievement and confidence. And rightly so.  Unfortunately, however, the reality of…
Read more

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

Be a better automation tester

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

Creating our 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