Categories

Netsparker Web Application Security Scanner

Selenium Tutorial: Introduction to Selenium Grid

In this tutorial, we are going to discuss Selenium grid in detail. Selenium grid is a software that is associated with Selenium software that is capable of executing multiple tests in parallel across different web browsers, operating systems and hardware architectures. It is based on hub-node execution model where a hub is a single machine that runs the test, however, the execution of these tests can be done on the different machines known as nodes.

Selenium HUB and NODES Model:

Continue reading…

How to handle Cookies in Selenium WebDriver

In this tutorial, we are going to discuss the handling of cookies using Selenium WebDriver. Before we start using Selenium Webdriver to store information in the cookie and retrieve from it, let’s first explore some more about HTTP Cookie.

Introduction To Cookie

Perhaps you have done online shopping and notices the shopping cart that is often present on the top right corner of the website. When you do shopping on such websites and add items to the shopping

Continue reading…

Cross Browser Testing Using Selenium

In this chapter, we are going to discuss Cross browser testing using Selenium Webdriver. It is a kind of functional testing that tests whether the application under test is working as expected across available web browsers.

 

Many times we might have observed that for the same web URL, a website running on Google Chrome looks different from that the other running on MozillaFirefox or Microsoft IE. Here, is the following example.

In the following screenshot, we have browsed

Continue reading…

Handling Date Time Picker using Selenium

In this chapter, we are going to discuss the how to handle date and time picker using Selenium Webdriver on HTML5 web pages. HTML5 has an inbuilt dateTime-local attribute for date-time input form field as shown below.

 

 

We can get the date time input field with the help of following HTML5 code.

<html> <head> <title>Handling Date Time Picker using Selenium</title> </head> <body> <form name="datetimedemo" method="post"> <h2>Handling Date Time Picker using Selenium</h2> Enter Date &amp;amp; Time: <input type="datetime-local"

Continue reading…

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:

We

Continue reading…