Skip to content

Make Selenium Easy

And Keep It That Way

  • Home
  • Share
  • About Us
  • Toggle search form

Category: Uncategorized

How To Sort List In Ascending & Descending Order Using Java Stream API?

Stream API feature was introduced in Java 8 but it is still confusing for many and also many have not even used it a single time. I will try to explain Java Stream concepts with simple examples in Learn Stream API in Java with Examples series. In this post, we will learn to Sort List In Ascending…

Read More “How To Sort List In Ascending & Descending Order Using Java Stream API?” »

Uncategorized

putIfAbsent() – A Method Of Map Interface In Java

Previously we saw an important method of Map interface named getOrDefault(). In this post, we will see another important method named putIfAbsent(). Let’s start with an example:- package Concepts; import java.util.HashMap; import java.util.Map; public class PutIfAbsentMethodExample { public static void main(String[] args) { Map dataMap = new HashMap(); dataMap.put(101,”Amod”); dataMap.put(102,”Swati”); dataMap.put(103,”Aaditya”); dataMap.put(104,”Animesh”); // If we…

Read More “putIfAbsent() – A Method Of Map Interface In Java” »

Uncategorized

Tools To Find XPath In Chrome Browser

Hello Folks, We have seen tools to find XPath in Firefox. Those tools were specific to Firefox browser. In this post, we will learn tools to find XPath in Chrome browser. Finding XPath without any tools: You can find XPath and CSS selector of any web element in chrome browser without any tools as well….

Read More “Tools To Find XPath In Chrome Browser” »

Uncategorized

REST Assured Tutorial 49 – How To Retrieve Single and MultiValue Headers From Response Using Rest Assured

As a part of End to End REST Assured Tutorial, in this post, we will learn to retrieve header values from response. When we send a request to a server using an API, the server sends some headers along with the response. We may need to assert those response headers as part of testing. To assert header…

Read More “REST Assured Tutorial 49 – How To Retrieve Single and MultiValue Headers From Response Using Rest Assured” »

Uncategorized

Advanced TestNG Tutorials 34: How To Pass a Group Name to be Run at Runtime in TestNG XML Using Beanshell

Hello Folks, In last post, we have seen how integration of beanshell and TestNg can help us to achieve “AND” and “OR” conditions with group names to be executed. Problem statement: You have created so many test methods with different groups. You do not need to run all group every time. You need to include…

Read More “Advanced TestNG Tutorials 34: How To Pass a Group Name to be Run at Runtime in TestNG XML Using Beanshell” »

Uncategorized

getAttribute() method in Selenium WebDriver – Why, What and How to use?

Selenium WebDriver provides an important method named “getAttribute(String attributeName)“. In this post, we will learn below topics:- What is getAttribute() method? Why we use getAttribute() method? How to use getAttribute() method? We will see a lot of examples as well. Let’s start:- A web developer defines attribute and properties to a web element to add…

Read More “getAttribute() method in Selenium WebDriver – Why, What and How to use?” »

Uncategorized

patch

Skip to content Hello Folks, As part of our API Testing series, we will see “Sending PATCH request in Postman”. First of all we… Hello Guys, Whether you are an API developer or tester, you must understand the difference between PUT and PATCH http… Let’s start with a real time example. You must have heard about Facebook….

Read More “patch” »

Uncategorized

Git Tutorial 27 – How To Revert Changes In File Using Git Checkout and Git Restore Commands

As a part of GIT Tutorials End To End, we will learn to revert changes in a file using Git checkout and Git restore commands. I will expect that you are aware of the basic concepts and commands of GIT. But if you are a beginner in GIT then I strongly recommend you to refer GIT Basic…

Read More “Git Tutorial 27 – How To Revert Changes In File Using Git Checkout and Git Restore Commands” »

Uncategorized

Frequently Asked Java Programs: 34 – Java Program to Check if Two Strings are Anagram

Hello Folks, As part of Frequently Asked Java Programs In Interviews For Freshers And Experienced, in this post we will see a java program to check if two given strings are anagram. Two words are called Anagrams if they have the same characters with same number of occurance. For example:- SILENT and LISTEN are anagrams. We…

Read More “Frequently Asked Java Programs: 34 – Java Program to Check if Two Strings are Anagram” »

Uncategorized

REST Assured Tutorial 45 – Fetch Value From Nested JSON Object Using JsonNode – Jackson – at() Method

As a part of End to End REST Assured Tutorial, in this post, we will parse a nested JSON objects as JsonNode to fetch values of different types. Creating POJO classes for parsing a JSON to fetch values may not be easy all the time especially when you have lengthy nested JSON. Instead, we can use…

Read More “REST Assured Tutorial 45 – Fetch Value From Nested JSON Object Using JsonNode – Jackson – at() Method” »

Uncategorized

Posts pagination

Previous 1 … 9 10 11 … 155 Next

Copyright © 2026 Make Selenium Easy.

Powered by PressBook Masonry Dark