Selenium Installation with Maven

Selenium + Maven Installation guide

This article will help you to install Selenium webdriver ,TestNG, Excel POI , MySql ,XML jars using Maven. 


Steps to follow:

You can download the latest Dependencies Download.

1. Download and install latest JDK :
  a. Url "http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html"
32 bit or 64 bit version of jdk available



    b. Select the 32 bit version of jdk(as selected in the image)


     c. Save the file


     d.Follow the installation Wizard

 

 

  

 
 

 

2. Download and Configure the latest Eclipse :

        a. Go to Url "http://www.eclipse.org/downloads/packages/release/Luna/SR2" . 


          b. Select 32 or 64 bit version of "Eclipse IDE for Java EE Developers" as shown below and download . 
     Note: Make sure you download the same version(32 or 64 bit) as JDK(Step 1) .
                      For eg if you download 32 bit JDK then download 32 bit eclipse IDE .

 

 

 
 

 
             c. Unzip the Eclipse .
  

 

                 d. Open the unzipped eclipse folder and click on eclipse.exe to open Eclipse IDE. 

 

 3.  Create a Maven project as shown : 

  

  

  

  

4. Add Dependencies in the POM.xml as shown below. You can download the latest Dependencies Download.
Note: make sure you are connected to Internet.
 

  

  

 

         
     

      

 

 

 
 

 
5. Create a Sample script as shown below . 

 

 

 

 

 

Installation is complete !