Skip to Content
Technical Articles
Author's profile photo Dilip Mamidela

Selenium IDE Installation – Windows

Table of Contents

Pre-requisites

JAVA Installation and Setup

Mozilla Firefox installation

Selenium IDE

Selenium Add in Installation

Selenium Server installation

Example 

 

Pre-requisites – Java, Mozilla Firefox

Once Java is installed, under Environment variables set the following:

JAVA_HOME

C:\Program Files\Java\jdk1.7.0_51

JRE_HOME

C:\Program Files\Java\jdk1.7.0_51\jre

PATH

%JAVA_HOME%\bin;C:\Program Files\Java\jdk1.7.0_51;

In order to ensure Java is installed successfully and the env variables are set, the java command should be successfully executed from any location (as shown below)

Download Firefox — Free Web Browser — Mozilla

Download Mozilla Firefox and install

 

 

This links has details about Selenium IDE

Selenium IDE is a Firefox plugin which records and plays back user interactions with the browser. Use this to either create simple scripts or assist in exploratory testing. It can also export Remote Control or WebDriver scripts, though they tend to be somewhat brittle and should be overhauled into some sort of Page Object-y structure for any kind of resiliency.

Selenium IDE is not only a recording tool: it is a complete IDE. You can choose to use its recording capability, or you may edit your scripts by hand. With autocomplete support and the ability to move commands around quickly, Selenium IDE is the ideal environment for creating Selenium tests no matter what style of tests you prefer.

Features:

  • Easy record and playback
  • Intelligent field selection will use IDs, names, or XPath as needed
  • Autocomplete for all common Selenium commands
  • Walk through tests
  • Debug and set breakpoints
  • Save tests as HTML, Ruby scripts, or any other format
  • Support for Selenium user-extensions.js file
  • Option to automatically assert the title of every page
  • NEW! Easy customization through plugins

In this document I have used version 2.8.0

Download latest released version 2.8.0 released on 29/Sep/2014

for other downloads please click this link -> https://www.seleniumhq.org/download/#selenium_ide

 

 

Setting up Selenium Server

http://www.seleniumhq.org/download/

 

 

 

 

 

How to Launch Selenium Server

Navigate the folder where you have copied the downloaded jar file

Run this command to start the server

java -jar selenium-server-standalone-2.44.0.jar

To stop the server you type CTRL+C in cmd prompt

By default the recording will be enabled

Example shown below is a sample script

 

Note – In order to playback please make sure you have the server running or you’ll get this exception

 

 

Thanks

Dilip Mamidela

SAP India , BLR

Assigned Tags

      6 Comments
      You must be Logged on to comment or reply to a post.
      Author's profile photo Stefan Schnell
      Stefan Schnell

      Hello Dilip,

      thanks for sharing your knowledge.

      Cheers

      Stefan

      Author's profile photo Dilip Mamidela
      Dilip Mamidela
      Blog Post Author

      Thanks Stefan

      Author's profile photo Former Member
      Former Member

      Nice information..!

      Author's profile photo Dilip Mamidela
      Dilip Mamidela
      Blog Post Author

      Thanks Chaitra

      Author's profile photo Former Member
      Former Member

      Hi Dilip.. This is very useful.. Thanks!!

      Author's profile photo Dilip Mamidela
      Dilip Mamidela
      Blog Post Author

      Thanks Prashant