In Selenium, waits are mechanisms that allow you to control the timing of interactions with web elements during test execution. Waits are used to synchronize the test script with the web application’s dynamic behaviour, such as element visibility, presence, or availability. Selenium provides three types of waits: Implicit Wait: The implicit wait is a global…
Tag: Test Automation
What is Selenium Manager?
Today, I’m going to talk to you about a very important topic, which has to do with how to manage browser drivers within Selenium. Millions of years ago, in a far, far away galaxy, browser drivers used to be managed in this way. Just kidding! Maybe it wasn’t that long ago, but it sure feels…
Sample API Testing Framework (ATF)
In the following post, I wanna share with you a simple solution that will cover all your needs in the process of testing a microservice on the component level or in an isolated environment, where you as a tester will have access only to the API level. Used tech stack We will use the following…
An overview of Accelerate: Building and Scaling High-Performance Technology Organizations
This post is a summary of a book I recently read called Accelerate: Building and Scaling High-Performance Technology Organizations. This is not my usual post in the technical blog, but the book’s resume and key points will be helpful for anyone who wants to build a high-performance team or software. Based on the book here…
How to add log messages to the cucumber Jenkins report
Adding log messages to the automated report it’s an important feature, that helps in analyzing and identifying the failing issues. In this post, we are going to help you to add log messages to the cucumber Jenkins report. As you may know by default pretty cucumber reports don’t save log messages in the cucumber.json file…
Factory Method Pattern in the creation of Selenium WebDriver
As software engineer, We all face some errors/exceptions while writing code! So what do we do when we face such a problem? If we are not sure, We google for solutions immediately. Don’t we? We google because we know that we would not be alone and someone would have already found the solution, for the problem we…
How to send different values in cucumber features based on profile
First of all, I want to mention that this post continues the previous one where we have added AOP to execute some additional logic on cucumber steps. My recommendation will be to read mentioned post. Let’s start… About Spring Profile From official documentation a profile has the following role:Spring Profiles provide a way to segregate…
How to log execution time for cucumber steps
Hi folks , this post is more a continuation of Cucumber 6 Spring Integration, in case you didn’t read Cucumber integration post, please do for better understanding. In this post we will extend the existing project by adding a useful functional of logging execution time for every cucumber step, without adding making any changes in…
Strategy Pattern in Test Automation with Selenium WebDriver
As a software engineer, We all face some errors/exceptions while writing code! So what do we do when we face such a problem? If we are not sure, We google for solutions immediately. Don’t we? We google because we know that we would not be alone and someone would have already found the solution, for the problem…
Cucumber 6 Spring Integration
Cucumber is a very powerful testing framework, which follows the BDD (behavior-driven development) methodology. It enables developers to write high-level use cases in plain text that can be verified by non-technical stakeholders, and turn them into executable tests, written in a language called Gherkin. Cucumber 6 Spring Integration is intended to make test automation easier. Once…