In the previous post I have talked about the common Lombok functionalities and their usage. In this post I will be focused on the functionalities that are used in certain cases depending on the coding style inside the project. The functionalities that are going to be covered in this post…
Keeping your models clean with Lombok Part 1
When writing automation tests we often create model classes that are going to keep the properties of the class, and provide certain methods for accessing the properties. This is helpful to write clean code, and provide the necessary objects in another classes instead of creating methods with lots of input…
Choosing which test cases to automate
Why to automate Before new feature is developed, the testing team is mainly focused on creating the test cases for the feature. The test cases that are going to be written are going to cover the acceptance criteria for the feature that could be confirmed as done. Depending from tester…
How to choose which framework to use for automation that is based on Selenium
The process of CI/CD requires testing the functionalities on daily basis, of course this is impossible to achieve with manual testing and limited number QA engineers. For that reason QA engineers are automating the scenarios in order to speed up the testing process. In this article I’m going to be…
Xpath in automation testing
Introduction When writing automation tests there are several ways to locate the web elements using Selenium such as: id, linkText, name, partialLinkText, tagName and xpath. The following link describes the documentation of By class in selenium in case you are interested for more details.There is no silver bullet solution for…
Working with Rest Assured Matchers
What are matchers? The main goal when testing the restful api is to validate that the api is working according the requirements. In order to achieve this, the retrieved response has to be validated. In many cases JUnit Assert is used for validating the end result, but when validating the…
Keeping your automation tests clean
How many times have you started project for automation tests, and at the end end-up spending more time maintaining the automation tests, instead increasing the coverage? How many times have you ended having duplicate code in multiple classes? How many times have you had issues with the automation tests because…
Why clean architecture is important for automation testing
Introduction Writing automation tests requires the equal mindset as writing code for a software, in most cases this rule is forgotten by many people, and they run in technical debt in the future. When writing the automation tests the main focus is to cover the functionalities that are currently developed,…
Decrease boilerplate code for API automation using Rest Assured and BDD
In today’s modern development of web and mobile application, the applications need to communicate with the backend in a secure and organized way. This can be achieved by using Application Programming Interface (API). The API is communicating with the backend through the HTTP protocol using the methods GET, POST, PUT,…
Mobile Web testing on Android 8.0 and Chrome 61
Why Chrome? With the emulators running on older Android versions, the default Android browser was available, and also the Android browser was also included in the real mobile devices running on older Android versions. With the arrival of the newer Android versions the Android browser hasn’t been actively supported, but…