Leverage automation testing with design patterns

After analyzing different design patterns applicable in the automation testing area, I've decided to share their usage with the local community, more exactly during a meetup organized by Romanian Testing Conference. I would like to express my gratitude to those folks for this opportunity. Now during this article, I'll share a summary of the presentation, … Continue reading Leverage automation testing with design patterns

Use Python decorators to define your testing scope

We've already had an introduction about the Python decorators in a previous article ' Decorate with decorators'. Our next goal is to use their benefits in automation software testing. An important usage which comes to our mind is about grouping different automated tests based on their popularity. With popularity, I mean how often a test … Continue reading Use Python decorators to define your testing scope

Our top design patterns each QA should know

After analyzing a series of design patterns applicable in automation testing, in this tutorial, we will classify them based on their utility while building a new framework. Their implementation is covered in Python 3, but of course, their benefits are the same in any other programming language you follow. To recap, we've covered the following … Continue reading Our top design patterns each QA should know

Setting up test stages with State Machine design

Sometimes debugging an automated test case is problematic, specifically when the test case has many stages built into it. Creating isolated stages can lead to a better identification of the issue. To address this problem we can use a design pattern called State Machine. What is state machine pattern? A state machine is an environment … Continue reading Setting up test stages with State Machine design

Performance testing using the observer pattern

In terms of behavioral design patterns applicable in automation testing, our next target is the observer. What is this? How should we apply it in automation? Well, after investigating different valuable scenarios, we've reached to the conclusion that it could have a huge impact in terms of performance testing. How so? Well we measure for … Continue reading Performance testing using the observer pattern

Test case life cycle based on state pattern

Going further with our research on different design patterns used on automation testing, we've made a stop around the state pattern. As any developer knows, this one is part of the behavioral family. For testers maybe it's a new concept, so as a short notice, behavioral patterns are responsible for setting up a communication between objects. … Continue reading Test case life cycle based on state pattern

Calling test methods using a beautiful facade

Facade pattern hides the complexity of objects creation under an interface which is exposed to a client. Using it, you can get access to different functions from the whole system without having to be worried about the implementation complexity. A useful thing to consider is that facade is a part of the structural design patterns, which … Continue reading Calling test methods using a beautiful facade

When builder comes in test automation

While playing around with different design patterns in order to increase the efficiency of building a maintainable automation related architecture I've decided to give a chance also to the builder pattern. The main idea of it is to separate the construction of a test from its representation so the builder will implement the whole test logic, and … Continue reading When builder comes in test automation

Apply Factory Pattern over Page Object to enrich the test design flow

The information described here requires a basic understanding of how Page Object Pattern is applied. It is recommended that you read this before moving forward with the content of this article. Factory pattern is useful when there is a large number of page object implementations. With great numbers comes great responsibility and this way the need … Continue reading Apply Factory Pattern over Page Object to enrich the test design flow