Netsparker Web Application Security Scanner

Complete Guide on XPath in Selenium

In this chapter, we are going to discuss the XPath and various XPath expressions that are capable of locating complex and dynamic web elements on the web page.

Dynamic web elements are elements on the web page whose attributes get changed dynamically when refreshed or on dynamic operations. As we know that in Selenium WebDriver, if we cannot find the web elements with the help of usual locators such as id, class, name, etc. then we use XPath to find

Continue reading…

How To Access Links & Tables Using Selenium Webdriver?

We received many request to post articles on Selenium WebDriver and automation framework, so we resumed our Selenium automation testing tutorials from basic to advanced.   In this tutorial, we are going to learn about accessing HTML hyperlinks and tables using Selenium WebDriver API.

Accessing Links using Selenium Webdriver:

Hyperlink on a web page has text. Using the text content of the link and based on partial or exact match, the Webdriver API can access that link.

Exact Match:


Continue reading…

Top Six Reasons Why I Like Selenium!!

Several months ago I started working on a new test automation project for a web site and one of the first things to do was to evaluate and choose a tool for the task. The two main contenders were Selenium and IBM Rational Functional Tester. I chose Selenium and since then never got to regret this choice. Here are some of the main reasons I like this open source tool much better than the expensive commercial alternatives for web automation.

Continue reading…

How To Access Forms In WebDriver

In this tutorial, we are going to learn about accessing HTML web forms and its elements such as input box, radio button, checkbox, hyperlink, dropdown box, etc. using Selenium WebDriver API.


Input Box:

There are two web elements that fall into this category. They are text box and password box.

Text Box:Text Box in HTML is represented by ‘input’ tag and has type ‘text’as shown below.

<b>First name:</b> <input type="text" name="firstname">

In the above HTML statement, text box has

Continue reading…

Getting Started With Installation Of Selenium WebDriver - Learn Selenium

In this chapter, we are going to install Selenium WebDriver using JAVA language and configure it with Eclipse MARS.1 version.Below are the steps.

Step 1: Install Java on your computer:

Check if your system already has Java runtime environment (JRE) or (Java Development Kit) JDK installed on your machine. If not, then it could be downloaded and installed from below link.



It is recommended to install JavaSE-1.8 and higher version to work with Eclipse IDE and

Continue reading…

Brief Introduction of TestNG - What is execution sequence of TestNG Annotations?

In this module we will start with TestNG. Why people use the combination of TestNG with Selenium in the market. Also why can’t we use TestNG as standalone, these are the most common question which people asks. So starting with the article look at the following pictorial diagram:

This image is tells you that what actually JUnit or TestNG does. This is a simple architecture of a framework in selenium. Whether it is keyword driven, data driven, Hybrid or modular

Continue reading…