Book Image

Learning Selenium Testing Tools - Third Edition

Book Image

Learning Selenium Testing Tools - Third Edition

Overview of this book

Table of Contents (22 chapters)
Learning Selenium Testing Tools Third Edition
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Setting up Eclipse IDE with Java project for Selenium WebDriver and TestNG


Here is a step by step explanation of setting up Eclipse IDE with Java project for the Selenium WebDriver and TestNG.

Downloading WebDriver JAR files

Download the Selenium WebDriver language bindings from http://docs.seleniumhq.org/download/. Unzip the downloaded Selenium WebDriver file; it will create a folder containing the Selenium WebDriver JAR files.

Downloading and installing Eclipse

Based on your system configuration type (32 bit or 64 bit), download the Eclipse IDE for the Java EE Developers Edition from http://www.eclipse.org/downloads/packages/release/Mars/M3. Save the file, as it is about to download somewhere on your disk drive. The exact form of this interaction will depend on which operating system you are using. Store this zip file somewhere permanent on your disk drive so that you can unzip it (recreate Eclipse) later, if necessary.

Following are the steps that will install Eclipse on Windows:

  1. Unzip the...