Categories

Netsparker Web Application Security Scanner

How to handle Cookies in Selenium WebDriver

(adsbygoogle = window.adsbygoogle || []).push({});

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

Continue reading…

Keyboard Mouse Events, Uploading Files – Selenium Webdriver

(adsbygoogle = window.adsbygoogle || []).push({});

Checkout FREE Selenium Training series here if you missed earlier.

In this tutorial, we are going to learn about handling keyboard and mouse events using Webdriver. After this, we will deal with file uploads.

Handling Keyboard & Mouse Events using Webdriver:

Keyboard and mouse events are handled using the Advanced User Interactions API. It contains the Action classes which helps in handling execution of these events. Mouse events includes events like mouseover, mouseout, mouse

Continue reading…

Introduction To WebDriver And Its Comparison With Selenium RC - [Learn Selenium Basics]

(adsbygoogle = window.adsbygoogle || []).push({});

In the past chapters, we learnt about “How To Enhance A Script Using Selenium IDE?” and created simple tests using it. In today’s chapter, we are going to learn about Selenium WebDriver which is an advance tool and a mechanism to create more powerful test scripts than Selenium IDE.

 

Selenium WebDriver:

It is web automation testing framework that assists to execute tests across various web browsers. Thus, it is more flexible and powerful

Continue reading…

Learn Selenium Series - How To Enhance A Script Using Selenium IDE

(adsbygoogle = window.adsbygoogle || []).push({});

In previous class we leaned about How to use Locators in Selenium IDE. In this chapter, we are going to discuss about the commands that will make our automation script more robust, intelligent and complete.

Verification of an Element Presence: Following are the two commands in Selenium IDE that are used for the presence of a GUI element on a web page. verifyElementPresent: This command returns value as TRUE if the specified element was

Continue reading…

Installation of TestNG in Eclipse IDE - Selenium WebDriver Tutorial

(adsbygoogle = window.adsbygoogle || []).push({});

In previous post we have started Introduction of TestNG framework and Advantages of TestNG over Junit framework. Today we are seeing how to Install TestNG framework in Eclipse IDE.

Please follow following simple steps to Install TestNG in Eclipse. We have installed Eclipse in few days back, if you don’t have eclipse then please get installed using post: “Link”

Steps to install TestNG in Eclipse IDE:

1) Launch Eclipse IDE & under Help menu

Continue reading…