Skip to content

Make Selenium Easy

And Keep It That Way

  • Home
  • Share
  • Toggle search form

Month: March 2025

StaleElementReferenceException – Element’s “Reference” Stales – Get New Reference Of Element

Let’s start with some lines of code :- Launch login page of a website. Locate a WebElement “EmailAddress” and store in a WebElement reference variable. Perform some actions multiple times on already located WebElement. Refresh the web page. Perform same actions on Already located WebElement EmailAddress again. package StaleElementException; import org.openqa.selenium.By; import org.openqa.selenium.WebDriver; import org.openqa.selenium.WebElement;…

Read More “StaleElementReferenceException – Element’s “Reference” Stales – Get New Reference Of Element” »

Uncategorized

Handling Calendar in Selenium

How To Handle Different Types Of Calendars In Selenium: Part 1 Handling Calendar Which Has Year & Month As Drop down In Selenium JavaScript Way To Handle Calendar In Selenium Part 12: Usages Of Javascripts In Selenium : How To Type In Input Box Using Javascript

Uncategorized

selenium testng

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…

Uncategorized

Frequently Asked Java Program 28: Java Program to Find if Given Number Is a Perfect Number

A Perfect number is a positive integer that is equal to the sum of its proper divisors excluding the number itself. For Example: Take Number 6. Its divisors are 1, 2 , 3 and 6. When we add all divisors except 6 ( as it is number itself) (i.e. 1+2+3= 6), it is equal to actual number. So…

Read More “Frequently Asked Java Program 28: Java Program to Find if Given Number Is a Perfect Number” »

Uncategorized

Method 2: getCssValue() : What, When and How to use?

Hello Folks, In last post, we have seen about getAttribute(). In this post we will learn about getCssValue() method. This post covers: What is getCssValue() method? Why we use getCssValue() method? How to use getCssValue() method? What is difference between getAttribute() and getCssValue() methods. Let’s start with basics. What is CSS: Cascading Style Sheets (CSS) is a…

Read More “Method 2: getCssValue() : What, When and How to use?” »

Uncategorized

TestNG Tutorials 69 : Rerun Failed Test Method Using IRetryAnalyzer Interface – Implementing With Listener – IAnnotationTransformer

Hello Folks, We have already learnt about IRetryAnalyzer interface in previous post. We know why we use it and how can we use it. From previous post, you know that we can pass implemented class of IRetryAnalyzer as an value to attribute named “retryAnalyzer” at @Test annotation. You need to add it each and every @Test annotation…

Read More “TestNG Tutorials 69 : Rerun Failed Test Method Using IRetryAnalyzer Interface – Implementing With Listener – IAnnotationTransformer” »

Uncategorized

TestNG Tutorials

As a part of TestNG Tutorials, in this post we will see a new feature provided by TestNG called Dry… Hello Folks, We have already learnt about IRetryAnalyzer interface in previous post. We know why we use it and how can… Hello Folks, TestNG provides a built in mechanism to re-run failed test case for N…

Read More “TestNG Tutorials” »

Uncategorized

Git Tutorial 31 – How To Retrieve Deleted But Not Committed File in Git?

As a part of GIT Tutorials End To End, we will learn about retrieving a deleted but not committed file in Git. 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 and Concepts section…

Read More “Git Tutorial 31 – How To Retrieve Deleted But Not Committed File in Git?” »

Uncategorized

Protractor Tutorial 3 – Prerequisites To Learn Protractor

Protractor is in demand now a days for Angular and AngularJS applications. Even people are using Protractor for Non-Angular applications as well because its fast and you need to write less code to handle browser , parallel testing and cross browser testing. In this post, I will explain how can we start learning Protractor or…

Read More “Protractor Tutorial 3 – Prerequisites To Learn Protractor” »

Uncategorized

Frequently Asked Java Program 12: Java Program To Find Divisors Of Given Number

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 Divisors Of Given Number. Problem: Write a JAVA program to find the divisors of a given number. Solution: Divisor is a number that divides  another number without a reminder or a number…

Read More “Frequently Asked Java Program 12: Java Program To Find Divisors Of Given Number” »

Uncategorized

Posts pagination

Previous 1 … 17 18 19 … 24 Next

Copyright © 2026 Make Selenium Easy.

Powered by PressBook Masonry Dark