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

Selenium Foundation Program - How to configure Selenium-IDE in Firefox

How to install Selenium-IDE? - Step-1: Firefox installation                 Navigate to: https://www.mozilla.org/en-US/firefox/new/                 Click “ Download ” button                 Install the downloaded .exe file                 Click finish to launch the Firefox browser - Step-2: Install Selenium-IDE in Firefox browser                 Launch Firefox browser                 Navigate to http://www.seleniumhq.org/download/                 Scroll down until you reach the “ Selenium IDE ” section (Click on hyperlink)                 Click on the “Allow” button to proceed with the installation. ...

Step By Step Selenium IDE Concepts

§   Selenium IDE Introduction §   Selenium IDE Installation §   Fire-Bug for Selenium IDE §   Features of Selenium IDE §   Drawbacks of Selenium IDE §   IDE Menu Overview §   IDE Options Overview §   IDE Tools Overview §   Overview of Test Case Pane §   Overview of Log Pane §   Overview of Reference Pane §   How to create first IDE script §   Editing the existing IDE Script §   Understanding Selenium UI-Element §   Understanding Locators §   Understanding Verification §   Exporting IDE script §   Exporting IDE to Web-Driver

Selenium Foundation Program - Introduction to Automation Testing

What is automation testing? Automated testing tools are capable of executing tests, reporting outcomes and comparing results with earlier test runs. Tests carried out with these tools can be run repeatedly, at any time of day. The method or process being used to implement automation is called a test automation framework. What is the difference between manual testing and automation testing? Automation Testing Manual Testing Automation testing perform the same operation each time Manual testing is not reliable. Using this method test execution is not accurate all the time. Automation testing is very much helpful regressions in testing where code changes frequently. To execute ...