Thursday, 12 March 2015

Download WebDriver Java client

Download WebDriver Java client

Selenium webdriver supports many languages and each language has its own client driver. Here we are configuring selenium 2 with java so we need ‘webdriver Java client driver’.
1) Click here to go on WebDriver Java client driver download page for webdriver download file. On that page click on ‘Download‘ link of java client driver as shown in the below image.
Download-Webdriver-Java-Client-1
2) Save the zip file to your disk.
Download-Webdriver-Java-Client-2
3) Once you have downloaded the archive you will need to Extract the zip file, which will create the unzipped Selenium Java folder.
Download-Webdriver-Java-Client-3
4) You may want to Extract the archive to the folder where you are maintaing the test ware for your project. I like to extract it at the same location and then move it as per my needs.
Download-Webdriver-Java-Client-4
5) Once the extraction process is complete, Open the Selenium folder.
Download-Webdriver-Java-Client-5
6) There will be ‘libs’ folder, 2 jar files and change log in unzipped folder as shown in bellow figure. We will use all these files for configuring webdriver in eclipse.
Download-Webdriver-Java-Client-6

Download and Start Eclipse IDE

Download and Start Eclipse IDE

Download Eclipse for Java Developers, extract and save it in any drive. It is totally free. You can run ‘eclipse.exe’ directly so you do not need to install Eclipse in your system.
Download-and-Install-Eclipse-1
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.
Download-and-Install-Eclipse-2
3) Save the .zip file to your disk.
Download-and-Install-Eclipse-3
4) Once you have downloaded the Eclipse archive you will need to Extract the zip file, which will create the unzipped Eclipse folder.
Download-and-Install-Eclipse-4
5) You may want to Extract the archive to the root of C: drive, thus creating the folder “C:eclipse”, or just moved the extracted eclipse folder to the root of C: drive if you extracted it already. I prefer to leave it as it is.
Download-and-Install-Eclipse-5
6) Let the extraction process finished.
Download-and-Install-Eclipse-6
7) Open the eclipse folder.
Download-and-Install-Eclipse-7
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.
Note:(This 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-and-Install-Eclipse-8
Download-and-Install-Eclipse-9
9) Create a workspace folder where you will contain all the program files you create.  You can choose whatever place you want for your workspace, but it’s easiest to just use the default you’re given. I like to choose my own workplace location and will place all my Toolsqa tutorial projects under it.
Start-Eclipse-2
10) You may see the window like this, this is the Welcome window for Eclipse.
Download-and-Install-Eclipse-11
11) Now that you have finished installing eclipse restart your computer. By restarting your computer it refreshes system memory and allows changes made by installers and uninstallers to take effect.

Download and Install Java

Download and Install Java

First of all you need to install JDK (Java development kit) in your system. So your next question will be “how can I download java”. Click here to download Java and install it in your system as per given installation guide over there or follow the below mentioned steps.
1) Visit the Java downloads page on Oracle’s website to find the JDK environment download. Scroll down until you find Java SE Latest Version and download JDK.Download-And-Install-Java-1
2) Once you have selected download, accept the terms of service and choose the correct OS corresponding for the specific JDK. (Windows, Mac, Linux, etc.)
Download-And-Install-Java-2
3) Save the .exe file to your disk.
Download-And-Install-Java-3
4) Once the download is complete, double click the file to begin the installation of JDK.
Download-And-Install-Java-4
5) To run the installer, click Run.
Download-And-Install-Java-5
6) The installation process starts. Click the Next button to continue the installation.
Download-And-Install-Java-6
7) On the next screen you will encounter some options. Just leave these alone and click Next unless you know what you are doing.
Download-And-Install-Java-7
8) After the initial installation is done, a pop up asking you where your source java files will be. You can choose to change where you want to keep your folder but it’s best to stick with what you were given first. Click Next to continue.
Download-And-Install-Java-8
9) Let the installation finish.
Download-And-Install-Java-9
10) A few brief dialogs confirm the last steps of the installation process; click Close on the last dialog. This will complete Java installation process.
Download-And-Install-Java-10