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

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...

How to setup Appium for mobile automation

GitHub is a code hosting platform for version control and collaboration.  When a project is to be created, constant changes are made to the code. Version control systems keep these revisions straight, and store the modifications in a central repository.   A repository is a location where all the files for a particular project are stored. Each project will have its own repository, and can be accessed by a unique URL. Step 1: Install Appium-desktop-setup-1.2.6 (from the link Appium.io) Step 2: Install JDK Step 3: Install android studio-bundle (from developerandroid.com) Step 4: Go to AppData->Local->Android->Sdk Step 5: Copy the above path and set the path of a new environment variable “ANDROID_HOME” Step 6: Copy the above path, append \tools and add it in the path variable Steps 7: Copy the path from Step 5, append \platform-tools and add it in the path variable Step 8: Go to AppData->Local->Android->Sdk->tools->bin->uiautomatorview...