Skip to content

Make Selenium Easy

And Keep It That Way

  • Home
  • Share
  • Toggle search form

Month: January 2025

TestNG Tutorials 68 : Sharing Data Between Tests in a Suite Using ISuite & ITestContext

As a part of TestNG Tutorials, in this post we will see “How to share data or state among test in a suite?”. We have covered below topics as of now:- Sharing data between @Test annotated method using static variable concept Sharing data between @Test annotated method using ITestContext Let’s understand what actually I want…

Read More “TestNG Tutorials 68 : Sharing Data Between Tests in a Suite Using ISuite & ITestContext” »

Uncategorized

Frequently Asked Java Program 06: Print a Floyd Triangle of given number of rows

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 Print a Floyd Triangle of given number of rows. Problem: Write a java program to print a Floyd’s triangle for a given number of rows. Solution: Floyd’s triangle is a right-angled triangular…

Read More “Frequently Asked Java Program 06: Print a Floyd Triangle of given number of rows” »

Uncategorized

ThreadLocal Static WebDriver For Parallel Execution

In previous post, we learnt How a static WebDriver reference created problems in parallel execution. We will see solution of those problems in this post. Please note I am exclusively using a static WebDriver reference but similar solution will be applicable for any static reference. Solution I have already discussed in my previous post. We…

Read More “ThreadLocal Static WebDriver For Parallel Execution” »

Uncategorized

JVM , JRE & JDK – Understand & Differentiate in Simple Words

This is a frequently asked interview question of Java because people always gets confused with these terms and used interchangeably. I will try to explain these terms in easy words. There are three stages for writing a code in any programming language – Development , Compilation and Execution. In Java programming language, there are three…

Read More “JVM , JRE & JDK – Understand & Differentiate in Simple Words” »

Uncategorized

Frequently Asked Java Program 19: Java Program to Reverse Position of Words in a String

Write a Java program to reverse position of words in given string i.e. word at first position in string should be at last position in string. Input String: You are awesome Output String: awesome are You Solution: It is a very easy program. You just need understanding of splitting a string, array and for loop…

Read More “Frequently Asked Java Program 19: Java Program to Reverse Position of Words in a String” »

Uncategorized

Java Programs 17: Java Program to Find Duplicate Elements in Each Row of 2D Array

Hello Programers, Problem: How to find duplicate values in each row of 2D array. For example , we have 2d array as below: [table id=5 /] Output should be : 4 , Because 4 is common in each row. Solution: This was really brainstorming as I want to avoid multiple for loops to solve this…

Read More “Java Programs 17: Java Program to Find Duplicate Elements in Each Row of 2D Array” »

Uncategorized

REST Assured Tutorial 43 – Get All Keys From A Nested JSON Object

We may get a nested JSON Object which may be dynamic. The dynamic response may include conditional keys and values. For example- A business class ticket will have more benefits than an economy class ticket. If we have an API that books a ticket then obviously we will have different JSON (Suppose JSON as format)…

Read More “REST Assured Tutorial 43 – Get All Keys From A Nested JSON Object” »

Uncategorized

fluentwait

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… Wait is a generic functional interface. A functional interface consists of only abstract method. Wait…

Read More “fluentwait” »

Uncategorized

TestNG Tutorials 20: Overriding Of Test Methods In TestNG Class

Hello Folks, We have seen how inheritance works in TestNg classes in this post.  In this post, we will see how overriding works in inherited TestNG classes. Create a super class as below: Now create a sub class where we will override one method from super class as below: Let’s run subclass as a testng…

Read More “TestNG Tutorials 20: Overriding Of Test Methods In TestNG Class” »

Uncategorized

Posts pagination

Previous 1 … 6 7

Copyright © 2026 Make Selenium Easy.

Powered by PressBook Masonry Dark