Selenium Environment Setup

Installing Selenium requires going through following steps:
Step 1 : Install Java
Before moving further download and install Java Software Development Kit (JDK) in the first place. The location from where you can download Java is:
http://www.oracle.com/technetwork/java/javase/downloads/index.html

How to work on Selenium LIVE Project Tutorial

Installation – Selenium Tutorial Selenium Environment Setup Installing Selenium requires going through following steps: Step 1 : Install Java Before moving further download and install Java Software Development Kit (JDK) in the first place. The location from where you can download Java is: http://www.oracle.com/technetwork/java/javase/downloads/index.html How to work on Selenium LIVE Project Tutorial [videothumb class=\"col-md-12\"


Step 2 : Install Eclipse IDE
Next, download and install Eclipse IDE for Java developers keeping in mind the 32 or 64-bit windows versions.
The location to download this exe file is:
http://www.eclipse.org/downloads/
The downloaded file will be with the name “eclipse-inst-win64”. Now double click on the file to install it on your system. A new window will appear with several options like this :
Install Eclipse IDE
Click the first option named as Eclipse IDE for Java Developers. A new window will appear where you need to change the storage path to:
“c:\eclipse” and Install.
Step 2 Install Eclipse IDE
Step 3 : Download Selenium Java Client Driver
Now download Selenium Java Client Driver. The location to download this tool is
http://docs.seleniumhq.org/download/
Here you will find the drivers for all the languages but install them for Java only. The drivers come in zipped file containing all the JAR files. There will be two JAR files, a lib folder and one change log file. Create a new folder and rename it as ‘Selenium’ in C drive and extract the zip file to this file.
Step 4 : Configure Eclipse IDE
After completing the previous step a dialog box will open asking to choose a workspace. select the default location.
Step 4 Configure Eclipse IDE
Or create a workspace in C drive and confirm it by pressing OK.
Step 5 : Create a new Java Project
Click on File menu, then go to New and select Java Project. Save the project as ‘newproject’.
Step 5 Create a new Java ProjectStep 6 : Create a new Java Class
In order to create a new Java Class, click on File Menu and go to New and save it as ‘Myclass’.
Step 6 Create a new Java Class
Now right click on the newproject and go to select properties. There click on “Java Build Path”. Click on the ‘Libraries’ tab and then ‘Add External JARs’. ow select the JAR files you need from the new pop-up window and select ‘OK’. Add all the JAR files that are inside and outside the “libs” folder. Now click Ok to finish importing the library files.

Intellipaat offers you a world-class Online selenium Training delivered by trained experts! Enroll today!
 
 

Recommended Videos

Leave a Reply

Your email address will not be published. Required fields are marked *

Solve : *
5 + 19 =