October 2017 – Make Selenium Easy

Hello Folks, I will start series of posts on topic “Handling different types of popup in selenium webdriver”. What is a popup? A popup is a window/dialog box/alert which appears when you perform some action such as click, load a URL etc. A popup can appear from website, browser and windows. Popup is way of […]

Hello Folks, This will be last part of “Handling frames in selenium webdriver”. We know what is frame and how to handle it in selenium webdriver. But I have seen many queries where people is not able to find whether web element is in frame or not. We will see ways of finding if web […]

Hello Folks, We have seen basic of Frames/IFrames in last post. Before I start “Handling of frames in selenium”, I want to give a scenario which will help us in this topic. Suppose there is a flat of 3 rooms. You can go to any room through hall. Each rooms are not inter connected means […]

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 tag in html. The tag is not supported in […]

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

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

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

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

Hello Folks, In this post, we will learn: What is tooltip? How to create a bootstarp tooltip? how to handle bootstrap tool tip in selenium webdriver? What is Tooltip? Tooltip is an information about some web element which appears when user moves cursor on that web element if tool tip is assigned to that web […]