getOrDefault in java
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…
How to create a collection in Postman? In how many ways, we can create a collection in Postman? How to make a collection as Favourite in Postman? How to save a request in Postman? In how many ways, we can save a request in Postman? A Postman collection allows you to group individual pre-built requests…
Read More “Postman Tutorial Part 17 – Creating a Collection In Postman” »
Introduction A refresh token is a credential that is used to generate a new access token. I have already explained… Introduction I have explained the Flow of OAuth 2.0 in the previous post. In Step C – Request Access Token, I mentioned that… Introduction I have explained the Flow of OAuth 2.0 in the previous post. In Step…
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…