Skip to content

Make Selenium Easy

And Keep It That Way

  • Home
  • Share
  • About Us
  • Toggle search form

Author: admin

What will happen if we pass NULL as argument in sendKeys() method Of Selenium WebDriver

Hello Guys, We will learn a small topic which is also an interview question in this post. What will happen if we pass NULL as argument in sendKeys() method? Above question has two answers based on how you are passing null values to sendKeys method. Way 1: Passing null directly to sendKeys method as sendKeys(null). …

Read More “What will happen if we pass NULL as argument in sendKeys() method Of Selenium WebDriver” »

Uncategorized

Frequently Asked Java Program 11: Find Position Of Letter In Alphabet

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 Find Position Of Letter In Alphabet. Problem: Accept a letter from user and print position of input letter in alphabet. Example: A has 1st position in alphabet. B has 2nd position in…

Read More “Frequently Asked Java Program 11: Find Position Of Letter In Alphabet” »

Uncategorized

Amod Mahajan

#api #apitesting #java #json #jsonpath #jsonpayload An API needs to be tested for a different set of payloads or scenarios.… Earlier when we used to perform any git actions such as pushing code from the local repository to a GitHub… LeetCode Problem Link https://leetcode.com/problems/sorting-the-sentence/description/ Problem Statement Problem Solution YouTube Video Logic step by step Get…

Read More “Amod Mahajan” »

Uncategorized

Which Locator To Use? Read This Post.

Hello Folks, We have seen eight types of locators in Selenium Webdriver. Now we may confuse which locators we should use. It is frequently asked interview question as well. So, we will learn the orders we should use locators. Selenium web driver takes time to find web element which is more or less based on…

Read More “Which Locator To Use? Read This Post.” »

Uncategorized

TestNG Tutorials 17: Can @Test Annotation Be Used For A Class In TestNG?

Hello Folks, Let’s learn something new today. We have used @Test annotation on methods. Can we use @Test annotation on a class? Yes, We can use @Test annotation on class. Suppose, you need to write 10 @Test annotated method in a class.  Either you mark all methods as @Test annotated or directly annotate class itself as…

Read More “TestNG Tutorials 17: Can @Test Annotation Be Used For A Class In TestNG?” »

Uncategorized

Difference Between Constructor and Method in Java

Let’s start with very basic definitions of both Constructor and Methods in Java:- A constructor of a class is used to initialize the object or instance of class using new keyword. It can be called as special method as it is different from normal methods. It differs from methods as a constructor should have same…

Read More “Difference Between Constructor and Method in Java” »

Uncategorized

Frequently Asked Java Program 10: Draw An Equilateral Triangle Using Stars Of Given Row

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 Draw An Equilateral Triangle Using Stars Of Given Row. Problem statement: Draw an Equilateral Triangle using stars of given row. Example: An Equilateral Triangle of 5 rows: Solution: Number of stars in a row is equal…

Read More “Frequently Asked Java Program 10: Draw An Equilateral Triangle Using Stars Of Given Row” »

Uncategorized

Learn About Less Talked & Used XPath Function – position()

XPath 1 provides a powerful function named “position()” . Before we move further, let’s get in to a scenario where we need this. Consider below web page. We have six different tab headers which are actually country capital names. I used W3School reference to get below html design. If I ask you to give me…

Read More “Learn About Less Talked & Used XPath Function – position()” »

Uncategorized

Git Tutorial 3 – Install GIT On Windows – Step By Step

We are going to learn to install GIT software on Windows step by step in this post. But if you are not aware of what is GIT and why we should use it then I will recommend going through the below posts- Git Tutorial 1 – What Is Version Control System? Git Tutorial 2 –…

Read More “Git Tutorial 3 – Install GIT On Windows – Step By Step” »

Uncategorized

Selenium Interview Question 8 – What is Difference between WebDriver click and JavaScript click methods

In this post we will see another frequently asked interview question:- Difference between WebDriver click() and JavaScript click() method in Selenium. We can perform click on a web element of a web page in two ways:- Using WebDriver click – element.click() Using JavaScript click –((JavascriptExecutor)driver).executeScript(“arguments[0].click()”, element); ( Note- driver is a WebDriver instance.) So question…

Read More “Selenium Interview Question 8 – What is Difference between WebDriver click and JavaScript click methods” »

Uncategorized

Posts pagination

Previous 1 … 52 53 54 … 156 Next

Copyright © 2026 Make Selenium Easy.

Powered by PressBook Masonry Dark