In this Tutorial, we learn how to install Selenium Webdriver .
First we need some basic files which is listed below with download link.
Required Files :
1) Eclipse
(Java Editor) :
- For Download Eclipse Click here .There is 32 & 64 bit versions available download as per your system configuration.(Note : if your Operating system is 32 bit than download 32 file else 64 bit file. )
- After successful download just install.
2) JDK 7.0/8.0
and JRE 7.0/8.0 :
- Download Java From here.
- If you Work on selenium 2.53(older version) than prefer JDK/JRE 7.0 and work above this version than prefer JDK/JRE 8.0. All Version are available on this download page.
- There is also 32 & 64 bit Versions available so download as per your system configuration.
- After download this install in your system.
3) Selenium standalone server file (2.53 or
3.0) :
- Download Selenium standalone server 3.0 file From here.
- Download Selenium standalone server 3.0 file From here
- Always use Same version Selenium stand alone and java client file (Ex. If U download Selenium standalone file 2.53 than you must download selenium Java client file of version 2.53 )
4) Selenium Java Client File(2.53 or 3.0) :
- Download Selenium Java Client 3.0 file From here.
- Download Selenium Java Client 2.53 file From here.
Now We are learn How to Configure selenium Webdriver in Eclipse.
Follow below steps
- Open Eclipse and close welcome screen.
- Select location in your System for workspace and Click on Ok where your all program are saved in it.
- Follow below steps to Create Project.
- Click on File menu Goto New and Select Java Project.
- Enter Project Name(Ex.Test) than Click on Next
- After Click on Finish.
- Create Package in your Project.
- Right Click on Project Name
- Goto New and Select Package.
- Enter Package Name (Ex. Testpackage) .
- Create Class File in your Package.
- Right Click on Package.
- Goto New and Select Class.
- Enter Class Name (Ex. Testclass) .
- select "public static void main(String()args)" Check box.
- After Click on Finish.
- Configure Selenium Library.
- Right Click on Project
- Goto New and Select Folder.
- Enter Folder name.(Ex.mylib).
- Paste "selenium-java-2.53.0" & "selenium-server-standalone-2.53.1" into this folder. if you download "Selenium java client 3.0" & "Selenium standalone server 3.0" than paste it.
- After that , Right Click on Project
- Select Build Path Goto Configure Build Path.
- Click on Library Tab After Click on Add JARs
- Expand your Project than expand folder where you are copy selenium files(in our case it is "mylib") and select all file under folder after click on Ok.
- Click on Apply and Press Ok.
- look into project there is one Refrence library added.
Selenium WebDriver fits in the same role as RC did, and has incorporated the original 1.x bindings. It refers to both the language bindings and the implementations of the individual browser controlling code. This is commonly referred to as just "WebDriver" or sometimes as Selenium 2.
ReplyDeleteSelenium Training Institute in Chennai |
Selenium Training in Velachery
This comment has been removed by a blog administrator.
ReplyDeleteGood info I gained more information about that. Thanks for such a helpful information.Generative AI Training in Hyderabad
ReplyDelete