Skip to main content

Required Software for Selenium Setup


Ø  Download and Install Java Development Kit (JDK) on Windows using following URL : http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html
1.   Select the radio button to “Accept License Agreement” and choose the JDK that corresponds to your OS (Operation System -Windows, Mac, Linux, etc.)
2.   Click on download button and save the file
3.   Once get downloaded after that double click and start installation


Ø  Set Up Java Environment Variable Path
There are two types of environmental variables:

1.    User Variables : Specific to a particular Windows user account
2.    System variables : For all the user of the machine

Step 1: Setting the JAVA_HOME

a.    Right-clicking on ‘My Computer’ and click on Properties


b.   A pop up window will display, Choose ‘Advanced system settings’.


c.    Under the Advanced tab choose the ‘Environment Variable…‘option.


d.    Select New in the System variables.


e.    Define the Variable name as ‘JAVA_HOME‘ and Variable value as ‘C:\Program Files\Java\jdk1.8.0_45 and click OK

Step 2: Setting the PATH Variable

a.    Now we need to specify the location in the PATH variable. For PATH, most probably it will already exist in your machine. So just select it and choose the Edit option.
b.   In the editor add the value “C:\Program Files\Java\jdk1.8.0_45\bin” and click OK button.

Note: The new values are separated by a semicolon from the existing ones and be careful and do not make any changes in the existing string, as it is very sensitive information.
c.       Now go to Start and type cmd in the Run and hit Enter. It will launch the Command Prompt. Type ‘java -version‘, it will display the following information.

Note: Restart the computer in order to make your system aware of these changes.

Ø  Install Eclipse IDE



2.     For Windows users, you will have to know what type of version of your OS you have. If your computer is a 64 bit Windows, select Windows 64 and if you have a 32 bit Windows, select Windows 32 bit.


3.    Click on 32 bit or 64bit  correspond to “Eclipse IDE for Java EE Developers” depends on your system configuration

4.    After clicking download page will open

5.    Click on download button and Save the .zip file to your disk.


6.    Once you have downloaded the Eclipse archive you will need to extract the zip file, which will create the unzipped Eclipse folder.
7.    Open the eclipse folder from the location where you have saved it

8.    Since Eclipse IDE does not have any installer, there will be a file inside the Eclipse folder named eclipse.exe. You can double click on the file to run Eclipse.
NoteThis step is not required, but it’s strongly recommended. Right-click the Eclipse Icon and press “Send To” -> “Desktop (Create Shortcut).” Now you will be able to launch Eclipse from your desktop.
Ø  Download “Selenium web driver  3.11 from https://www.seleniumhq.org/download/
Ø  Download browsers driver for chrome and Firefox
Ø  Install TestNG latest version


Comments

Popular posts from this blog

Eclipse New Maven Project: Could not resolve archetype

Close Eclipse Delete repository folder (you can find it in C:\Users{your user}.m2) Open Eclipse again. It will install maven repository automatically down v Open Window > Preferences Open Maven > Archetypes Click 'Add Remote Catalog' and add the following: Catalog File:  http://repo1.maven.org/maven2/archetype-catalog.xml Description: maven catalog

Class 1 Java introduction

What is Java Java is a  programming language  and a  platform . Java is a high level, robust, secured and object-oriented programming language. Platform : Any hardware or software environment in which a program runs, is known as a platform. Since Java has its own run time environment (JRE) and API, it is called platform. Features of Java The Java Features given below are simple and easy to understand. Simple Object-Oriented Portable Platform independent Secured Object-oriented Java is Object-oriented programming language. Everything in Java is an object. Object-oriented means we organize our software as a combination of different types of objects that incorporates both data and behavior. Basic concepts of Oops are: Object Class Inheritance Polymorphism Abstraction Encapsulation Variable Variable  is name of  reserved area allocated in memory . In other words, it is a  name of memory location . It is a...

Configure Maven Project in to Jenkins and Run

As we all know, maven is a build / project management tool, based on the concept of a project object model (POM) which contains every information about your project. Maven allows a project to build using its project object model to manage builds, dependencies, releases and documentation which are all managed from the pom.xml file. Maven defines a standard way to build the projects, test, and deploy project artifacts. It provides a framework that enables easy reuse of common build logic for all projects following Maven's standards. We discussed  maven in detail  earlier here and hope you have  configured maven . First lets Create a simple maven project in Jenkins Step 1:-  Click New Items on the left menu ->Enter Project Name in “Item name” field -> Select Maven Project ->Click OK Step 2:-  Provide the job description Step 3:-  In Source Code Management, Jenkins supports CVS and Subversion out of the box, with built-in support for...