getOrDefault in map
Skip to content Let’s start with a simple Java program and understand:- package Concepts; import java.util.HashMap; import java.util.Map; public class GetOrDefaultMethodExample { public…
And Keep It That Way
Skip to content Let’s start with a simple Java program and understand:- package Concepts; import java.util.HashMap; import java.util.Map; public class GetOrDefaultMethodExample { public…
Skip to content We are exploring FluentWait of Selenium WebDriver in depth so that we can be fluent in FluentWait. If you have… Agenda :- Introduction of FluentWait Using FluentWait with a string Working mechanism of FluentWait FluentWait is the most powerful wait…
We learned to Iterate a Map In Java using keySet(), entrySet(), values(), and iterator(). In this post, We will learn how can we use Java 8 features like Lambda functions and Stream APIs. We can use forEach() method overridden in the HashSet class. It requires less code but you need to be aware of Lambda…
Read More “How To Iterate Map In Java Using Stream and Lambda?” »
Hello Folks, In last post, we have seen Introduction of Page Object Model in details. In this post we will see how to implement page object model in selenium webdriver. The main idea of POM is to separate web elements and test scripts to achieve one to many relationship. You define web element at single…
Read More “Plain Page Object Model In Selenium Webdriver (Without PageFactory)” »
Skip to content In last post, we have learnt how can we make parameterized DataProvider method in TestNG to provide test data to… “DataProvider” is an important feature provided by TestNG to provide required test data to test methods to run on. We…
As a part of End to End REST Assured Tutorial , in this post We will write first POST request in REST assured. I will strongly recommended you to learn basics of API testing from here. To learn what is POST request and how can you hit a POST request in Postman tool, must refer this post….
Read More “REST Assured Tutorial 9 – Let’s Write First POST Request in REST Assured” »
Hello Folks, In this post, We will learn about javascript commands which we can use to locate a web element on web page. When to use javascript commands to locate web element? We already have enough locators in Selenium webdriver, which help us in identifying web elements on a web page. But sometimes, these locating strategies…
Skip to content Introduction As a part of GIT Tutorials End To End, we will learn to revert all local commits from a branch… Introduction As a part of GIT Tutorials End To End, we will learn to revert changes in a file using Git…
Skip to content Introduction As a part of the End to End REST Assured Tutorial, in this post, we will learn about class RequestSpecBuilder and… As a part of End to End REST Assured Tutorial , in this post We will learn about calling HTTP… Introduction As a part of End to End REST Assured Tutorial, in this…
Hello Folks, As part of our API Testing series, we will see some important HTTP status codes in this post. This topic is very important for API testing. It is a frequently asked interview question as well. “Status” is what for everyone cares as it says what is output either negative or positive or partially….
Read More “API Testing Tutorial Part 7 – HTTP Status Code Must To Be Remembered” »