June 2017 – Make Selenium Easy

Hello Folks, In this post we will learn about behavior of webdriver when we mix waits together. There are four types of waits in Selenium Webdriver. Those are: Thread.sleep() Implicit wait Explicit wait (It is also called as webdriver wait.) Fluent wait. (It is also called as webdriver wait. Every wait has its own significance […]

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 swap values of two integer variables without using third variable. Problem Statement: Write a java program to swap values of two integer variables without using third variable. Solution: It is very […]

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 Print a Floyd Triangle of given number of rows. Problem: Write a java program to print a Floyd’s triangle for a given number of rows. Solution: Floyd’s triangle is a right-angled triangular […]

Hello Folks, We have covered below types of waits present in Selenium WebDriver: Thread.sleep() Implicit Wait. Explicit Wait Consider below scenarios:- You are testing Flipkart home page. Flipkart lists top items at home page which includes electronics, furniture etc. Now scenario is you need to find first 10 mobile displayed at home page. First of […]

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 extract numbers from a string. Write a JAVA program for below requirements: Take an alphanumeric string from user. Verify if it is alphanumeric. If it is alphanumeric, extract all numbers present […]

Hello Folks, This is on demand post. Many people asked me how to handle StaleElementReferenceException through Page Object Model(POM). So thought of writing a simple post on it. I am trying to automate below steps: Load URL “https://github.com/login”. Type wrong username. Type wrong password. Click on submit. Type correct username. Type correct password. Click on submit. […]

Hello Folks, We have covered below types of waits present in Selenium WebDriver in older posts: Thread.sleep() Implicit Wait. In this post, we will learn Explicit Wait. Implicit wait is wait which is set for a session of WebDriver and it will just make WebDriver to wait till it finds the web element. But there […]

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 verify if a given string is palindrome using inbuilt reverse method. WHAT IS PALINDROME STRING? A palindromic string is a string that remains the same when its characters are reversed. For […]

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 verify if a given string is palindrome without using inbuilt reverse method. WHAT IS A PALINDROME STRING? A palindromic string is a string that remains the same when its characters […]