Tag: Design Pattern

Design Pattern - Factory

Design Pattern – Factory

So far in our Design Pattern series, we have learnt about the Page Object Model and Facade and how they can be used within test automation. Both of which have their pros and cons, and both have situations where one is better suited than the other. In part three, we’re going to learn about another commonly…
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

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

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