Skip to main content

Guide to install selenium web-Driver from selenium foundation program

Selenium foundation program: Before installing Java for Selenium Web-driver framework automation, install Java Development Kit (JDK) and Java Run-time Environment (JRE) on your windows computer.
  • Navigate to Oracle Official site here.
  • Click on “Download” button as shown below

  • Click on “Accept License Agreement”, which are displayed upon clicking “Download button.
  • Check your operating system and download the file. (32bit / 64bit)

  •  Quickly run the downloaded installer, which installs both the JDK (Java Development Kit) and JRE (Java Run-time).
  • Install JDK and by Default Java installs at this place “C:/Program Files/Java”.
  • Java folder contain two folder of name “jdk1.8.0_111” and “jre1.8.0_111” as shown below.




Setting up System variables & ClassPath – Follow below screens:

  • Right Click on My Computer.
  • Now click on Advanced System Setting.
System Variables setu-p:

ClassPath Setu-p:


  • Check the installation using CMD prompt.
  • Click on “Start” button.
  • Type “CMD” and open as an “Administrator”.

  • Enter command “java –version”
  • Enter command "java" to check for java jdk/jre installation.

Steps to download and Install Eclipse IDE for selenium automation testers:

  • Go-to Eclipse site to download "Eclipse IDE for Java Developers". Carefully check the 32/64 bit version before downloading. (Click on Download Package hyperlink)


  • Upon clicking above hyperlink, user is navigated to page where he/she can download the "Eclipse IDE for Java developers" software.


  • Once clicked on the version, user is navigated to a page shown below. Just click download button.

Install the "package.exe" file and save it in the default folder. (System will populate the default folder)


Steps to download the Selenium drivers for Java Client:

  • Download the Selenium drivers for Java Client here. You will also get other client drivers for other programming languages there, but choose Java only.



  • Selenium driver for java client contains ZIP file named "selenium-3.0.1.zip". Just extract the zip file contents to your local "C:/" drive. This directory contains all the JAR files that we would later import on Eclipse.

Steps to configure "Eclipse IDE" with Web-Driver:


  • Double click on "Eclipse" icon
  • Set workspace

Steps to create a sample project:

Create a sample project
- Create a new project by following below screen


Add Selenium Jar files to project
- Adding jar files during project creation
- Adding jar files after creating a project

Comments

Popular posts from this blog

Everything You Need To Know About Sikuli A GUI automation tool

Selenium Sikuli for Visual flows automation: Introduction: Selenium Sikuli , A tool to automate the GUI test scripts using image recognition method. Sikuli allows users to automate visual work flows using a screenshots (specific method called “ Visual Image Match ”), in this method all the elements of the webpage are snipped and saved in .png / supported file formats. Sikuli, by using “Visual Image Match” algorithm, it will match the stored image with the image on the web-elements and performs the scripted action. Practical Uses: Ø Useful to automate Flash objects Ø Automating stable GUI components / Objects / Web-elements Ø Automating window based applications Ø Used to automate Audio/Video player, Desktop & Flash games on websites Sikuli Benefits: Ø Free Open Source Automation Tool Ø Automating flash enabled web-elements and objects Ø Can automate web-elements without ID/Name Download Sikuli Jar files: Ø...

Selenium Foundation Program - Introduction to Selenium

Introduction to Selenium What is Selenium Tool? Selenium is a free (open-source) automated testing suite for web applications across different browsers and platforms. It is quite similar to HP Quick Test Pro (QTP) / HP Unified Functional Test (UFT) only that Selenium focuses on automating web-based applications. Selenium is not just a single tool; Selenium is a suite of software's , each component has its own advantages and disadvantages. Click here to know more about  Selenium birth picture &  Selenium components . What are the features of selenium automation tool? Ø Selenium is Free and open-source tool. Ø Automation of AJAX/CSS applications is easy. Ø Good cross browser testing tool. Ø Contains record and playback ( Selenium-IDE ) facility. Ø Best for GUI-intelligent field selection (uses IDs, names, or X-Paths as needed). Ø Auto-complete feature available in IDE for all common commands. Ø User-fr...