Skip to content

Make Selenium Easy

And Keep It That Way

  • Home
  • Share
  • Toggle search form

Month: February 2025

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

TestNG Tutorials 7: How To Create Customized TestNG XML?

Hello Folks, In this post, we are going to learn to generate customized testng.xml. Generation of testng.xml depends upon how you create it. We will see some scenarios in this post. Scenario 1: Generating testng.xml for an individual class.  We will take same example of previous post: You need to select individual class and do…

Read More “TestNG Tutorials 7: How To Create Customized TestNG XML?” »

Uncategorized

Git Tutorial 23 – Git Stash Apply – How To Solve Merge Conflict

As a part of GIT Tutorials End To End, we will learn about Solving merge conflict during Git Stash apply command in this post. 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 Commands…

Read More “Git Tutorial 23 – Git Stash Apply – How To Solve Merge Conflict” »

Uncategorized

Interview Experience at Harman Connected Services Bangalore for Selenium Automation Testing Profile – Oct-2019

Company Name :- Harman Connected Services Date :- Oct– 2019 Experience Level: – 8 Years Location- Bengaluru Duration:- 30 Mins Mode : – F2F Shared By: Kiran What is collection and collections? TestNG how can we execute single test for multiple data at parallely? Program to print 1 2 3 4 5 6 Program to remove…

Read More “Interview Experience at Harman Connected Services Bangalore for Selenium Automation Testing Profile – Oct-2019” »

Uncategorized

Posts pagination

Previous 1 … 24 25 26 … 31 Next

Copyright © 2026 Make Selenium Easy.

Powered by PressBook Masonry Dark