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
Mobile automation with Appium
If you've ever wanted to start exploring in a new field, you've certainly come across a point where you have to make a choice regarding what to use. In order to achieve better results, you spend hours looking for the right tool. Well, when it comes to mobile automation, no more. Here comes Appium. I. Appium Appium is … Continue reading Mobile automation with Appium
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
Selenium and singleton in Python – part two
Metaclass and Singleton Introduction As I promised, we are coming back with the second part of the tutorial related to singleton implementation in Python 3. Here we will cover two different approaches, much easier to understand and more Python-friendly. We will start with Metaclasses and in the last part, we will cover the singleton based on … Continue reading Selenium and singleton in Python – part two
Selenium and singleton in Python – part one
Going further with our series of design patterns applied in automation, in this article, we will cover one of the simplest creational patterns - Singleton. To get a better understanding of it, we will go step by step through four ways of implementation, so we've split the tutorial into two parts. First, we will address … Continue reading Selenium and singleton in Python – part one
From a messy script to page object pattern in Python
The purpose of this article is to help you understand how to organize a messy 'record and play' code into a maintainable one using the most popular design pattern in software testing 'page object pattern'. The transition from manual to automation testing is the logical next step for each software testers. But when you start your journey … Continue reading From a messy script to page object pattern in Python