Independent-dependent concept in XPath Expression

Hello Folks, I will explain independent-dependent concept in writing XPath expression. Consider below scenario: You need to get the displayed price of iPhone 7 of all variants on Flipkart website. As we know price will vary based on model number, memory, color etc. Even price may change also with time or when some sale in

Read More

Tools to find XPath in Firefox browser

Hello Folks, In my last posts, we have learnt well how to locate web element in Selenium Webdriver using locators. We will learn in this post: Tools to find XPath/Css path in Firefox. It is good practice to write XPath by yourself. Advantages of writing XPath by yourself: More perfect XPath expressions. Better understanding of

Read More

Why syntax is “driver.manage().window().maximize();”?

Hello Folks, In my last post, I explained about some useful methods of WebDriver. I got some comments to explain why do we write syntax as below:

Actually it’s JAVA concept. It is called as method chaining. We will learn about this now. Some basic Concepts of JAVA: 1. There can be two types

Read More

All about WebDriver: Methods And Its Usages

Hello Folks, I am here again with new topics. In this post, we will learn all basic methods of WebDriver and its usage. The main purpose of this post is to make you familiar of methods of WebDriver. We will see in details as well in upcoming posts. 1. How to open a URL in browser?

Read More

Hierarchy of Selenium Classes and Interfaces

Hello Folks, Selenium automates browser and to achieve this, Selenium people have provided many classes and interfaces. During learning selenium, many times we will use up-casting and down-casting concepts of JAVA. Many people know how to perform some operations like opening any desired browser through single method, running java script etc but they are not

Read More

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.