Setting up Selenium project

Below are basic steps to set up Selenium Project in any IDE
A. Create A Java project
B. download from selenium webdriver for java http://seleniumhq.org/download
C. create a directory lib in your project. and copy all the downloaded jar files into it.
D. Set this lib as directory.

Lets understand this with intellij IDEA

A. Create A Java project

open intellij Idea and create new project

create-project

(If you are in the project window go to file -> new -> project)

create-project-1

 

it will open below window. click next.

create-project-01

it will open below window. click next.

create-project-02

 

it will open below window. Give a name to project . click finish.

create-project-03

 

Now right click on your project. New->Directory (create new directory) name it as lib

set-librarie-lib-2

 

Copy all the downloaded selenium jar files into the lib (downloaded from selenium site).

selenium-jar-download

selenium-jar-files

 

Now right click on project & click on open module setting (4rth option from bottom)

intellij-idea-open-module-settings

 

Click on Libraries-> Java

set-library-lib-3

 

Select the lib folder in your project

set-library-lib-4

 

it will open below window click ok.

set-library-lib-5

 

it will open below window click ok.

set-library-lib-6

 

Your selenium project is set up now.

set-library-lib-7

 


Search

Subscribe to YouTube

Training on Selenium

Like us on facebook

Jobs

Jobs

Cooking with Amol