Handling Frames/IFrames In Selenium WebDriver : Part 1

Hello Folks, In this post, we will learn :Handling Frames/IFrames in Selenium webdriver”. What is Frame in HTML? HTML frames are used to divide your browser window into multiple sections where each section can load a separate HTML document. A frame can be created using <frame> tag in html. The <frame> tag is not supported in […]

Understanding NullPointerException And How To Avoid It In Java/Selenium

Hello Folks, Very common question asked by people: “I am getting NullPointerException in automation script. I am correctly using selenium concepts but unable to resolve it.” So, in this post, we will see what is reason behind above exception and how to solve it. What is NullPointerException? When we declare a reference variable, internally a pointer […]

Difference Among isDisplayed(), presenceOfXXX() and visibilityOfXXX() Methods In Selenium Webdriver

Hello Folks, We generally used some methods for Eg. isDisplayed(), presenceOfXXXX(), visibilityOfXXXX() etc while developing test scripts.  All methods look similar but do you know there are some differences among them. We will learn about those differences in this post. isDispalyed(): This method checks whether or not the element is displayed in visible area of […]

Java Program 13: Java Program To Find If Given Numbers Are Coprime

Problem: Write a Java program to find if given two numbers are coprime. Solution: Definition of coprime: As per Wikipedia, In number theory, two integers a and b are said to be relatively prime, mutually prime, or coprime (also written co-prime) if the only positive integer (factor) that divides both of them is 1. Consequently, any prime number that divides one does not divide the other. This is equivalent […]

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 […]

List Of Frequently Asked Manual Testing Interview Questions( 200+)….

Hello Professionals, I will post a list of frequently asked question on Manual testing in interviews. It will help for both freshers and experienced people. As of now, I will not post answers of questions but in coming days, I will. Define software testing. What are the types of software testing? What is in mind […]

Please wait...

Subscribe to new posts to become automation expert

Want to be notified when my new post is published? Get my posts in your inbox.