SlideShare a Scribd company logo
1 of 21
Download to read offline
Home for Software Test Automation eLearning
Call: +1-314-827-5272 Email: learn@itelearn.com
Table of Contents
Java SDK Installation 2
Purpose 2
Is Java Installed on your machine? 2
How to Install Java SDK 2
IDE Installation 6
Firefox Installation 6
Steps to Install IDE 6
Firebug Installation 8
Purpose 8
Steps to Install Firebug 8
Eclipse IDE Installation 12
Steps to Install Eclipse 12
ANT Installation 19
Steps to Install ANT 19
Home for Software Test Automation eLearning
Call: +1-314-827-5272 Email: learn@itelearn.com
Java SDK Installation
Purpose: To run any of your Eclipse scripts on Java, JUnit or TestNG, you will need the Java Virtual Machine which is part of the
Java SDK(software development kit).
Is Java Installed on your machine? To check, open command prompt “CMD” (How? Go to Start, Run and type
cmd) and run the following from any directory and type “java” and hit enter. If you get a message like the below screenshot, Java
SDK is not installed correctly.
How to Install Java SDK
Step 1: Visit Java website http://www.java.com/en/ and click on Free Java Download.
Home for Software Test Automation eLearning
Call: +1-314-827-5272 Email: learn@itelearn.com
Step 2: Click on “Agree and Start Free Download” button. You can use Java 6 version. Next, click on Run button.
Step 3: Agree to any security alerts and then click on “Install” button as shown in the below screenshot.
Home for Software Test Automation eLearning
Call: +1-314-827-5272 Email: learn@itelearn.com
Step 4: Installing toolbars or other related promotional products is optional.
Step 5: You will see the final window as below with a confirmation message.
Home for Software Test Automation eLearning
Call: +1-314-827-5272 Email: learn@itelearn.com
Step 6: Verify that Java is installed correctly by going back to the command prompt and running java on the command
line. It should show message like the one below. Now you have Java up and running.
Home for Software Test Automation eLearning
Call: +1-314-827-5272 Email: learn@itelearn.com
IDE Installation
Firefox Installation
Download and Install Firefox Browser version 12.0 from Screencast.com)
Steps to Install IDE
Step 1: Visit http://seleniumhq.org/ and click on Download Selenium
Step 2: Download latest IDE “selenium-ide-1.8.0.xpi”
Home for Software Test Automation eLearning
Call: +1-314-827-5272 Email: learn@itelearn.com
Step 3: Complete installation and re-start FireFox
Step 4: Find the Selenium Add from FireFox Menu > Tools > Selenium IDE
Home for Software Test Automation eLearning
Call: +1-314-827-5272 Email: learn@itelearn.com
Firebug Installation
Purpose: Will help to inspect elements, edit web pages and capture xPaths.
Steps to Install Firebug
Step 1: Visit http://getfirebug.com/ and click on “Install Firebug for Firefox”
Step 1.1: You may be asked to choose your FireFox version. Ideally at the moment FB 1.7.3 should be ideal. This will also
work FF 4 series.
Home for Software Test Automation eLearning
Call: +1-314-827-5272 Email: learn@itelearn.com
Step 1.2: If you see this screen, click on firebug-1.7.3.xpi and click Allow button if
it pops-up.
Step 2: Click Install Now
Home for Software Test Automation eLearning
Call: +1-314-827-5272 Email: learn@itelearn.com
Step 3: Complete installation and re-start FireFox
Step 4: You will find a small bug icon on the bottom right side of your FF browser.
Home for Software Test Automation eLearning
Call: +1-314-827-5272 Email: learn@itelearn.com
Step 5: Watch a demo video on Firebug here http://getfirebug.com/video/Intro2FB.htm
Home for Software Test Automation eLearning
Call: +1-314-827-5272 Email: learn@itelearn.com
Eclipse IDE Installation
Steps to Install Eclipse
Step 1: DOWNLOAD : Can be downloaded from SCREENCAST.COM.
‘OR’
Visit http://www.eclipse.org/downloads/ and Download Eclipse Classic (You can do 32 bit if it is Windows XP or VISTA
Business Edition. For other Windows OS you can use 64bit)
Step 2: Extract: Extract the ZIP file to a new folder like C:SeleniumEclipse
Step 3: Open Eclipse by double clicking Eclipse.exe in this folder.
Home for Software Test Automation eLearning
Call: +1-314-827-5272 Email: learn@itelearn.com
Step 4: Create a workplace for practice. Like C:SeleniumWorkspace. This is where you can practice and store all Java
projects and codes for Selenium.
Step 5: You can choose to close the welcome screen or watch some overview on the tool.
Home for Software Test Automation eLearning
Call: +1-314-827-5272 Email: learn@itelearn.com
Step 6: You are now ready to create your 1st
Java project on Eclipse IDE for Selenium
Step 7: Navigate to File>New>Java Project.
Home for Software Test Automation eLearning
Call: +1-314-827-5272 Email: learn@itelearn.com
Step 8: Enter the project name and click “Finish”. Project with name Autotrader is created.
Step 9: Create a new java class in that project by Right clicking on Autotrader folder and navigate to New>Class. Enter
name in the window and click Finish.
Home for Software Test Automation eLearning
Call: +1-314-827-5272 Email: learn@itelearn.com
Step 10: Class Created
Step 11: Remove the default public class
Home for Software Test Automation eLearning
Call: +1-314-827-5272 Email: learn@itelearn.com
Step 12: Paste the code from the text file into the class in Eclipse (code generated from IDE JUnit version):
Step 13: Delete the 1st line "package com.example.tests;" from the code
Step 14: Right click on project folder and navigate to Properties>Java Build Path>Libraries>Add External JARs and browse
to the location in your system where JARs are located. Add “junit-4.8.1.jar” and “selenium-java-2.0b2.jar” and click OK.
Home for Software Test Automation eLearning
Call: +1-314-827-5272 Email: learn@itelearn.com
Step 15: Change the class name in the IDE script to match the class name that we created under the project folder
Step 16: Start the Selenium Server at specific port.
- Ensure you have Java installed on your machine. Go to run and type cmd.
- Enter "Java -version" anywhere. If not installed visit java.sun.com.
- Go to Run and type "cmd"
- Download "selenium-server-standalone-2.21.0", if this is not available from
http://seleniumhq.org/download/
- Go to the folder where the "selenium-server-standalone-2.21.0" is downloaded
- Type this in the Jar folder. "java -jar selenium-server-standalone-2.21.0.jar -port 4444". This will
start the Selenium Server.
Step 17: Run the JUnit code through that port
Step 18: After you are done ... type Ctrl+C to stop server and type exit to close the cmd window
Home for Software Test Automation eLearning
Call: +1-314-827-5272 Email: learn@itelearn.com
ANT Installation
Steps to Install ANT
Step 1: Goto http://archive.apache.org/dist/ant/binaries/ link.
Step 2: Click on apache-ant-1.8.2-bin.zip. This allows you to download on your local machine.
Step 3: Create a new folder ANT in C:Selenium.
Step 4: Unzip the file and store the unzipped folder “apache-ant-1.8.2” in new folder. Example,
“C:Selenium apache-ant-1.8.2”.
Step 5: Go to Start > My Computer > Properties. Click Advanced Settings.
Home for Software Test Automation eLearning
Call: +1-314-827-5272 Email: learn@itelearn.com
Step 6: Click on Environment Variables.
Step 7: Add a New System Variable “AntTest”. Click on New in System Variables and add values as shown below:
Step 8: Click OK
Step 9: Now goto Path variable in System Variables. Click on Edit as shown below:
Home for Software Test Automation eLearning
Call: +1-314-827-5272 Email: learn@itelearn.com
Step 10: DO NOT CHANGE ANY VALUE THAT IS ALREADY THERE. At the end of Variable Value, put a semi-colon(;) and
paste the complete path of ANTbin folder again here like below:
Step 11: Click on OK and you are done with ANT installation.
Step 12: Now Confirm ANT is installed. Go to command prompt.
Step 13: On the command prompt type ‘ant’ from any directory that you are present in.
Step 14: Now go to “C:Program FilesJavajdk1.6.0_27lib” and copy tools.jar file.
Step 15: Now go to “C:Program FilesJavajre6lib” and paste tools.jar file here.

More Related Content

What's hot

Test automation using selenium
Test automation using seleniumTest automation using selenium
Test automation using selenium
shreyas JC
 
Selenium Tutorial
Selenium TutorialSelenium Tutorial
Selenium Tutorial
prad_123
 
Selenium
SeleniumSelenium
Selenium
nil65
 

What's hot (18)

Top 10 cross browser testing tools in 2021
Top 10 cross browser testing tools in 2021Top 10 cross browser testing tools in 2021
Top 10 cross browser testing tools in 2021
 
Automating with selenium2
Automating with selenium2Automating with selenium2
Automating with selenium2
 
Test automation using selenium
Test automation using seleniumTest automation using selenium
Test automation using selenium
 
applenium user guide
applenium user guideapplenium user guide
applenium user guide
 
Automated Web Testing With Selenium
Automated Web Testing With SeleniumAutomated Web Testing With Selenium
Automated Web Testing With Selenium
 
SCCM HOw to
SCCM HOw toSCCM HOw to
SCCM HOw to
 
Installing the java sdk
Installing the java sdkInstalling the java sdk
Installing the java sdk
 
How to configure Appium with android IDE & eclipse
How to configure Appium with android IDE & eclipseHow to configure Appium with android IDE & eclipse
How to configure Appium with android IDE & eclipse
 
Introduction to Selenium Web Driver
Introduction to Selenium Web DriverIntroduction to Selenium Web Driver
Introduction to Selenium Web Driver
 
Selenium - Introduction
Selenium - IntroductionSelenium - Introduction
Selenium - Introduction
 
Softwaretestingtoolsfreeandopensourcefinal 150411221750-conversion-gate01
Softwaretestingtoolsfreeandopensourcefinal 150411221750-conversion-gate01Softwaretestingtoolsfreeandopensourcefinal 150411221750-conversion-gate01
Softwaretestingtoolsfreeandopensourcefinal 150411221750-conversion-gate01
 
Selenium
SeleniumSelenium
Selenium
 
#ATAGTR2021 Presentation - "Selenium 4 Observability – a 90 Min Hands on Lab"
#ATAGTR2021 Presentation - "Selenium 4 Observability – a 90 Min Hands on Lab"#ATAGTR2021 Presentation - "Selenium 4 Observability – a 90 Min Hands on Lab"
#ATAGTR2021 Presentation - "Selenium 4 Observability – a 90 Min Hands on Lab"
 
Selenium Tutorial
Selenium TutorialSelenium Tutorial
Selenium Tutorial
 
Turbocharge Your Automation Framework to Shorten Regression Execution Time
Turbocharge Your Automation Framework to Shorten Regression Execution TimeTurbocharge Your Automation Framework to Shorten Regression Execution Time
Turbocharge Your Automation Framework to Shorten Regression Execution Time
 
Selenium
SeleniumSelenium
Selenium
 
Selenium webdriver interview questions and answers
Selenium webdriver interview questions and answersSelenium webdriver interview questions and answers
Selenium webdriver interview questions and answers
 
Installation of Silk Test Framework
Installation of Silk Test FrameworkInstallation of Silk Test Framework
Installation of Silk Test Framework
 

Similar to Selenium tools-installation

Step 8_7_ 6_5_4_3_2_ 1 in one_Tutorial for Begineer on Selenium Web Driver-Te...
Step 8_7_ 6_5_4_3_2_ 1 in one_Tutorial for Begineer on Selenium Web Driver-Te...Step 8_7_ 6_5_4_3_2_ 1 in one_Tutorial for Begineer on Selenium Web Driver-Te...
Step 8_7_ 6_5_4_3_2_ 1 in one_Tutorial for Begineer on Selenium Web Driver-Te...
Rashedul Islam
 
Csharp Hands On Lab Paul Yao
Csharp Hands On Lab Paul YaoCsharp Hands On Lab Paul Yao
Csharp Hands On Lab Paul Yao
Mamgmo Magnda
 
Ayw android env_setup
Ayw android env_setupAyw android env_setup
Ayw android env_setup
pbeerak
 
Maven TestNg frame work (1) (1)
Maven TestNg frame work (1) (1)Maven TestNg frame work (1) (1)
Maven TestNg frame work (1) (1)
Gopi Raghavendra
 
Steps to write Selenium
Steps to write Selenium  Steps to write Selenium
Steps to write Selenium
Rohit Thakur
 
Kinect installation guide
Kinect installation guideKinect installation guide
Kinect installation guide
gilmsdn
 

Similar to Selenium tools-installation (20)

Installation
InstallationInstallation
Installation
 
Selenium with testng and eclipse ide
Selenium with testng and eclipse ideSelenium with testng and eclipse ide
Selenium with testng and eclipse ide
 
Step 8_7_ 6_5_4_3_2_ 1 in one_Tutorial for Begineer on Selenium Web Driver-Te...
Step 8_7_ 6_5_4_3_2_ 1 in one_Tutorial for Begineer on Selenium Web Driver-Te...Step 8_7_ 6_5_4_3_2_ 1 in one_Tutorial for Begineer on Selenium Web Driver-Te...
Step 8_7_ 6_5_4_3_2_ 1 in one_Tutorial for Begineer on Selenium Web Driver-Te...
 
Lesson 02 - React Native Development Environment Setup
Lesson 02 - React Native Development Environment SetupLesson 02 - React Native Development Environment Setup
Lesson 02 - React Native Development Environment Setup
 
Selenium By Pravin Mishra
Selenium By Pravin MishraSelenium By Pravin Mishra
Selenium By Pravin Mishra
 
Selenium Training in Chennai
Selenium Training in ChennaiSelenium Training in Chennai
Selenium Training in Chennai
 
Chocolatey - making the process of installing software on windows easy as pie
Chocolatey - making the process of installing software on windows easy as pieChocolatey - making the process of installing software on windows easy as pie
Chocolatey - making the process of installing software on windows easy as pie
 
About Selenium Webdriver
About Selenium WebdriverAbout Selenium Webdriver
About Selenium Webdriver
 
Code repository management
Code repository managementCode repository management
Code repository management
 
Using galen framework for automated cross browser layout testing
Using galen framework for automated cross browser layout testingUsing galen framework for automated cross browser layout testing
Using galen framework for automated cross browser layout testing
 
Selenium Testing
Selenium Testing Selenium Testing
Selenium Testing
 
Csharp Hands On Lab Paul Yao
Csharp Hands On Lab Paul YaoCsharp Hands On Lab Paul Yao
Csharp Hands On Lab Paul Yao
 
Ayw android env_setup
Ayw android env_setupAyw android env_setup
Ayw android env_setup
 
Tizen Studio Installation&Setup
Tizen Studio Installation&SetupTizen Studio Installation&Setup
Tizen Studio Installation&Setup
 
Jdkeclipsevs
JdkeclipsevsJdkeclipsevs
Jdkeclipsevs
 
The Mobile ToolChain with Fastlane - Code Red Talk at RedBlackTree
The Mobile ToolChain with Fastlane - Code Red Talk at RedBlackTreeThe Mobile ToolChain with Fastlane - Code Red Talk at RedBlackTree
The Mobile ToolChain with Fastlane - Code Red Talk at RedBlackTree
 
Android Application Development Environment Setup
Android Application Development Environment SetupAndroid Application Development Environment Setup
Android Application Development Environment Setup
 
Maven TestNg frame work (1) (1)
Maven TestNg frame work (1) (1)Maven TestNg frame work (1) (1)
Maven TestNg frame work (1) (1)
 
Steps to write Selenium
Steps to write Selenium  Steps to write Selenium
Steps to write Selenium
 
Kinect installation guide
Kinect installation guideKinect installation guide
Kinect installation guide
 

Recently uploaded

The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
heathfieldcps1
 

Recently uploaded (20)

latest AZ-104 Exam Questions and Answers
latest AZ-104 Exam Questions and Answerslatest AZ-104 Exam Questions and Answers
latest AZ-104 Exam Questions and Answers
 
OSCM Unit 2_Operations Processes & Systems
OSCM Unit 2_Operations Processes & SystemsOSCM Unit 2_Operations Processes & Systems
OSCM Unit 2_Operations Processes & Systems
 
Wellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptxWellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptx
 
FICTIONAL SALESMAN/SALESMAN SNSW 2024.pdf
FICTIONAL SALESMAN/SALESMAN SNSW 2024.pdfFICTIONAL SALESMAN/SALESMAN SNSW 2024.pdf
FICTIONAL SALESMAN/SALESMAN SNSW 2024.pdf
 
How to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSHow to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POS
 
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptxCOMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
 
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptxOn_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
 
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
 
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
 
Understanding Accommodations and Modifications
Understanding  Accommodations and ModificationsUnderstanding  Accommodations and Modifications
Understanding Accommodations and Modifications
 
Graduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - EnglishGraduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - English
 
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
 
Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024
 
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptxHMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
 
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptxExploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
 
Tatlong Kwento ni Lola basyang-1.pdf arts
Tatlong Kwento ni Lola basyang-1.pdf artsTatlong Kwento ni Lola basyang-1.pdf arts
Tatlong Kwento ni Lola basyang-1.pdf arts
 
How to Add a Tool Tip to a Field in Odoo 17
How to Add a Tool Tip to a Field in Odoo 17How to Add a Tool Tip to a Field in Odoo 17
How to Add a Tool Tip to a Field in Odoo 17
 
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptxHMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.
 

Selenium tools-installation

  • 1. Home for Software Test Automation eLearning Call: +1-314-827-5272 Email: learn@itelearn.com Table of Contents Java SDK Installation 2 Purpose 2 Is Java Installed on your machine? 2 How to Install Java SDK 2 IDE Installation 6 Firefox Installation 6 Steps to Install IDE 6 Firebug Installation 8 Purpose 8 Steps to Install Firebug 8 Eclipse IDE Installation 12 Steps to Install Eclipse 12 ANT Installation 19 Steps to Install ANT 19
  • 2. Home for Software Test Automation eLearning Call: +1-314-827-5272 Email: learn@itelearn.com Java SDK Installation Purpose: To run any of your Eclipse scripts on Java, JUnit or TestNG, you will need the Java Virtual Machine which is part of the Java SDK(software development kit). Is Java Installed on your machine? To check, open command prompt “CMD” (How? Go to Start, Run and type cmd) and run the following from any directory and type “java” and hit enter. If you get a message like the below screenshot, Java SDK is not installed correctly. How to Install Java SDK Step 1: Visit Java website http://www.java.com/en/ and click on Free Java Download.
  • 3. Home for Software Test Automation eLearning Call: +1-314-827-5272 Email: learn@itelearn.com Step 2: Click on “Agree and Start Free Download” button. You can use Java 6 version. Next, click on Run button. Step 3: Agree to any security alerts and then click on “Install” button as shown in the below screenshot.
  • 4. Home for Software Test Automation eLearning Call: +1-314-827-5272 Email: learn@itelearn.com Step 4: Installing toolbars or other related promotional products is optional. Step 5: You will see the final window as below with a confirmation message.
  • 5. Home for Software Test Automation eLearning Call: +1-314-827-5272 Email: learn@itelearn.com Step 6: Verify that Java is installed correctly by going back to the command prompt and running java on the command line. It should show message like the one below. Now you have Java up and running.
  • 6. Home for Software Test Automation eLearning Call: +1-314-827-5272 Email: learn@itelearn.com IDE Installation Firefox Installation Download and Install Firefox Browser version 12.0 from Screencast.com) Steps to Install IDE Step 1: Visit http://seleniumhq.org/ and click on Download Selenium Step 2: Download latest IDE “selenium-ide-1.8.0.xpi”
  • 7. Home for Software Test Automation eLearning Call: +1-314-827-5272 Email: learn@itelearn.com Step 3: Complete installation and re-start FireFox Step 4: Find the Selenium Add from FireFox Menu > Tools > Selenium IDE
  • 8. Home for Software Test Automation eLearning Call: +1-314-827-5272 Email: learn@itelearn.com Firebug Installation Purpose: Will help to inspect elements, edit web pages and capture xPaths. Steps to Install Firebug Step 1: Visit http://getfirebug.com/ and click on “Install Firebug for Firefox” Step 1.1: You may be asked to choose your FireFox version. Ideally at the moment FB 1.7.3 should be ideal. This will also work FF 4 series.
  • 9. Home for Software Test Automation eLearning Call: +1-314-827-5272 Email: learn@itelearn.com Step 1.2: If you see this screen, click on firebug-1.7.3.xpi and click Allow button if it pops-up. Step 2: Click Install Now
  • 10. Home for Software Test Automation eLearning Call: +1-314-827-5272 Email: learn@itelearn.com Step 3: Complete installation and re-start FireFox Step 4: You will find a small bug icon on the bottom right side of your FF browser.
  • 11. Home for Software Test Automation eLearning Call: +1-314-827-5272 Email: learn@itelearn.com Step 5: Watch a demo video on Firebug here http://getfirebug.com/video/Intro2FB.htm
  • 12. Home for Software Test Automation eLearning Call: +1-314-827-5272 Email: learn@itelearn.com Eclipse IDE Installation Steps to Install Eclipse Step 1: DOWNLOAD : Can be downloaded from SCREENCAST.COM. ‘OR’ Visit http://www.eclipse.org/downloads/ and Download Eclipse Classic (You can do 32 bit if it is Windows XP or VISTA Business Edition. For other Windows OS you can use 64bit) Step 2: Extract: Extract the ZIP file to a new folder like C:SeleniumEclipse Step 3: Open Eclipse by double clicking Eclipse.exe in this folder.
  • 13. Home for Software Test Automation eLearning Call: +1-314-827-5272 Email: learn@itelearn.com Step 4: Create a workplace for practice. Like C:SeleniumWorkspace. This is where you can practice and store all Java projects and codes for Selenium. Step 5: You can choose to close the welcome screen or watch some overview on the tool.
  • 14. Home for Software Test Automation eLearning Call: +1-314-827-5272 Email: learn@itelearn.com Step 6: You are now ready to create your 1st Java project on Eclipse IDE for Selenium Step 7: Navigate to File>New>Java Project.
  • 15. Home for Software Test Automation eLearning Call: +1-314-827-5272 Email: learn@itelearn.com Step 8: Enter the project name and click “Finish”. Project with name Autotrader is created. Step 9: Create a new java class in that project by Right clicking on Autotrader folder and navigate to New>Class. Enter name in the window and click Finish.
  • 16. Home for Software Test Automation eLearning Call: +1-314-827-5272 Email: learn@itelearn.com Step 10: Class Created Step 11: Remove the default public class
  • 17. Home for Software Test Automation eLearning Call: +1-314-827-5272 Email: learn@itelearn.com Step 12: Paste the code from the text file into the class in Eclipse (code generated from IDE JUnit version): Step 13: Delete the 1st line "package com.example.tests;" from the code Step 14: Right click on project folder and navigate to Properties>Java Build Path>Libraries>Add External JARs and browse to the location in your system where JARs are located. Add “junit-4.8.1.jar” and “selenium-java-2.0b2.jar” and click OK.
  • 18. Home for Software Test Automation eLearning Call: +1-314-827-5272 Email: learn@itelearn.com Step 15: Change the class name in the IDE script to match the class name that we created under the project folder Step 16: Start the Selenium Server at specific port. - Ensure you have Java installed on your machine. Go to run and type cmd. - Enter "Java -version" anywhere. If not installed visit java.sun.com. - Go to Run and type "cmd" - Download "selenium-server-standalone-2.21.0", if this is not available from http://seleniumhq.org/download/ - Go to the folder where the "selenium-server-standalone-2.21.0" is downloaded - Type this in the Jar folder. "java -jar selenium-server-standalone-2.21.0.jar -port 4444". This will start the Selenium Server. Step 17: Run the JUnit code through that port Step 18: After you are done ... type Ctrl+C to stop server and type exit to close the cmd window
  • 19. Home for Software Test Automation eLearning Call: +1-314-827-5272 Email: learn@itelearn.com ANT Installation Steps to Install ANT Step 1: Goto http://archive.apache.org/dist/ant/binaries/ link. Step 2: Click on apache-ant-1.8.2-bin.zip. This allows you to download on your local machine. Step 3: Create a new folder ANT in C:Selenium. Step 4: Unzip the file and store the unzipped folder “apache-ant-1.8.2” in new folder. Example, “C:Selenium apache-ant-1.8.2”. Step 5: Go to Start > My Computer > Properties. Click Advanced Settings.
  • 20. Home for Software Test Automation eLearning Call: +1-314-827-5272 Email: learn@itelearn.com Step 6: Click on Environment Variables. Step 7: Add a New System Variable “AntTest”. Click on New in System Variables and add values as shown below: Step 8: Click OK Step 9: Now goto Path variable in System Variables. Click on Edit as shown below:
  • 21. Home for Software Test Automation eLearning Call: +1-314-827-5272 Email: learn@itelearn.com Step 10: DO NOT CHANGE ANY VALUE THAT IS ALREADY THERE. At the end of Variable Value, put a semi-colon(;) and paste the complete path of ANTbin folder again here like below: Step 11: Click on OK and you are done with ANT installation. Step 12: Now Confirm ANT is installed. Go to command prompt. Step 13: On the command prompt type ‘ant’ from any directory that you are present in. Step 14: Now go to “C:Program FilesJavajdk1.6.0_27lib” and copy tools.jar file. Step 15: Now go to “C:Program FilesJavajre6lib” and paste tools.jar file here.