Press "Enter" to skip to content

Posts published in “Tutorials”

All you need to know about Selenium waits and their purpose

Vladimir Simonovski

What are Selenium waits? When executing a Selenium-based automated test, there is a high possibility that some of your tests would fail occasionally, even though you are certain that the elements are correctly located and the tests are correctly written, i.e. they become flaky. Everyone hates flaky tests especially when you need to run them a couple of times during the day due to the high development workload. The first step that every automation engineer would do is inspect the…

Write simple and effective API tests using Apache HTTP Client

Vladimir Simonovski

Apache HTTP Client is a library that allows us to write HTTP requests. Not only that we can use all the available HTTP methods, but the HTTP Client library can also be used for SSL requests as well as user authentication methods and proxies. In this blog post, you will see how you can create HTTP requests using this library and we will execute each method against the web service. Now let’s try to create GET, POST, PUT and DELETE…

A beginner’s guide to writing powerful BDD tests using Rest Assured and Cucumber

Vladimir Simonovski

Organizations today tend to invest a lot of effort and resources in setting an API test automation strategy. Having a well-structured test automation framework allows for a better test regression suite and better quality product, enhancing the test coverage and reducing the manual repetitive test efforts. Since automation testing plays an important role in software testing, companies can determine which tool can suit them the most to achieve the above-mentioned. In this blog post, we are going to focus on…

How to use Lombok @Builder and @Data annotations to improve your automation test framework?

Vladimir Simonovski

When transforming your test cases into automation scripts, some general rules should be followed: code compiled and build, tests successfully passed, understandable flows, and smooth test structure. Many of today’s concepts, design patterns, and libraries help in achieving a stable automation test suite. Specifically, API automation testing at all testing levels is always relying on some of the popular libraries that can ease the process of writing scripts and understand the test flows. In this post, we are going to…

How to work with TestNG Parameterization & Parallelization?

Vladimir Simonovski

Since it’s creation, the JUnit inspired framework is constantly used across multiple projects and organizations. TestNG is a part of many automation testing strategies where different approaches and patterns are used. The open-source framework is not an extension of JUnit, since it is designed to be better than JUnit by eliminating limitations and adding the already existing features from JUnit plus much more features that allow more flexibility when writing a structured test automation framework. To list some of the…