Month: May 2017

Frequently Asked Java Program 01: Java Program to Check If a Given Number is Palindrome

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 check if a given number is palindrome. Palindrome program is a frequently asked programming interview question to both freshers or experienced in interviews. We will going to learn that in […]

Part 2: Waits in Selenium: Implicit Wait

Hello Folks, In last post, we have learnt about Thread.sleep() method. In this post we will learn: What is implicit wait? How to use implicit wait? What is behavior of implicit wait when element is found before specified time? What is behavior of implicit wait when element is not found and specified wait time expires? […]

Part 1: Waits In Selenium WebDriver: Thread.sleep()

Hello Folks, In this post we will learn: Why we need to use wait statements in selenium webdriver. Types of waits in selenium webdriver. What is Thread.sleep() and how to use it. Disadvantages of Thread.sleep() method. “Waits” are very important concepts in Selenium WebDriver. Understanding of types and usages of waits are necessary to write perfect […]

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

Method 1: getAttribute(): Why, What and How to use?

Hello Folks, In this post we will learn: Why we use getAttribute() method? What is getAttribute() method? How to use getAttribute() method? We will see a lot of examples as well. Let’s start:- Why we require getAttribute() method? A web developer defines attribute and properties to a web element to add extra meaning to it. For […]

All Ways Of Refreshing a Webapge In Selenium

Hello folks, We have seen in last post which explains  how can we load a URL without using any get() and navigate() methods. In this post we will learn in how many ways we can refresh a web page. It is also frequently asked interview question. During developing automation test scripts, we need to refresh […]

How to load a URL in browser without using get() or navigate() method in Selenium

Hello Folks, In last post, we have seen in details how to open a URL in selenium webdriver. Do you know that we can open a URL without using any browser as well?  It is frequently asked interview question as well. Let’s learn it. Let’s perform some steps first: Open a browser. Press F12. Switch […]

URL Loading in Selenium Webdriver: All about get() and navigate()

Hello Folks, We have learnt how to open Chrome, Firefox, IE and Edge browser. It is very first step before we start automating test cases through Selenium Webdriver. Second step is to load URL of AUT(Application Under Test). So in this post we will learn below topics: Opening a URL through get() method. Opening a […]

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.