Skip to main content

Posts

Showing posts from April, 2018

How to set up Selenium WebDriver with Eclipse and Java?

This is the very first step towards writing a great automation framework using Selenium WebDriver. As already stated, we'll only cover the Selenium WebDriver tutorials with Java and Eclipse. Here's the step by step guide to set up Selenium WebDriver with Eclipse and Java: Installing Java on a Windows machine Assuming you have a windows machine, in order to have Java up and running on your system, you'll have to install JDK (Java Development kit). And in order to install it, you'll first have to download it from Java's official website here . Click on the 'Download' button on Java and move on to the next page. Here, accept the license agreement and click on the link of windows version (.exe) of JDK. Once the file gets downloaded, save it and double click it to install. Just note that the JRE (Java Runtime Enviroment) comes bundled with this version of JDK. Hence, no need to install the JRE separately. After the successful in...

Introduction to Selenium WebDriver

First, let me try to explain what Selenium is. So, if you go by the official definition, Selenium automates browsers  that's it. It is a set of tools to automate browsers on many platforms. WebDriver is among this set of tools along with IDE, RC (Remote Control) and Grid. We'll talk only about Selenium WebDriver in this post. What is Selenium WebDriver and what does it do? Selenium WebDriver is a test automation framework which is used to automate the tests on different browsers. WebDriver controls the browsers by directly communicating with them. Selenium WebDriver is very powerful and this power can be best utilized by using a programming language to write the tests. Writing tests using a programming language is also known as scripting and there are many programming languages which can be used with Selenium WebDriver for the purpose of scripting. Here's the list of the programming languages supported by Selenium WebDriver: Java Python C# PHP Perl Ruby Out ...