Installation of Selenium IDE

Installing Selenium IDE

Pre Requisites:

  • Mozilla Firefox

Installation

  • Go to https://seleniumhq.org/download/.
  • Click on the download link for Selenium IDE. You may get a message saying Firefox prevented this site (seleniumhq.org) from asking you to install software on your computer.
  • Please click on the Allow button.
  • A pop up will appear.
  • Install button will become active and then click on it.
  • This will now install the Selenium IDE as a Firefox add-on.
  • Once the installation process is complete, it will ask you to restart Firefox.
  • Click on the Restart button. Firefox will close and then reopen.
  • Once the installation is complete, the Add-ons window will show the Selenium IDE and its current version.

MindMajix Youtube Channel

Start Selenium IDE:

  1. Open a new Firefox browser
  2. Click on tools
  3. Click on Selenium IDE
Selenium IDE
  • Base URL—This is the URL that the test will start. All open commands will be relative to the Base URL unless a full path is inserted in the open command.
IDE commands
  • The Selenese Command select box has a list of all the commands that are needed to create a test. You can type into it to use the auto complete functionality or use it as a dropdown.
  • Target textbox allows you to input the location of the element that you want to work against.
  • The Find button, once the target box is populated, can be clicked on to highlight the element on the page.
  • A value textbox is where you place the value that needs to change. For example, if you want your test to type in an input box on the web page, you would put what you want it to type in the value box.

The Test table will keep track of all of your commands, targets, and values. It has been structured this way because the original version of Selenium was styled on FIT tests. The tests were originally designed to be run from HTML files and the IDE keeps this idea for its tests. If you click on the Source tab, you will be able to see the HTML that will store the test. ?

The area below the Value textbox will show the Selenium log while the tests are running. If an item fails, then it will have an [error] entry. This area will also show help on Selenium commands when you are working in the Command select box. This can be extremely useful when typing commands into the Selenium IDE instead of using the record feature.

Important icons in the side

icons

Test case pane:

The script will be displayed in the test case pane.

It has two tabs, one for displaying the command and their parameters in a readable “table” format. The other tab – Source displays the test case in the native format in which the file will be stored. By default, this is HTML although it can be changed to a programming language such as Java or C#, or a scripting language like Python.

Explore Selenium Sample Resumes! Download & Edit, Get Noticed by Top Employers! Download Now!

The Command, Target, and Value entry fields display the currently selected command along with its parameters. These are entry fields where you can modify the currently selected command. The first parameter specified for a command in the Reference tab of the bottom pane always goes in the Target field. If a second parameter is specified by the Reference tab, it always goes in the Value field. If you start typing in the Command field, a drop-down list will be populated based on the first characters you type; you can then select your desired command from the drop-down

case pane

Log pane:

Log pane

Log:

When you run your test case, error messages and information messages showing the progress are displayed in this pane automatically, even if you do not first select the Log tab. These messages are often useful for test case debugging. Notice the Clear button for clearing the Log. Also notice the Info button is a drop-down allowing selection of different levels of information to log.

Related Page: How To Install IE Developer Tool - SELENIUM

Reference:

The Reference tab is the default selection whenever you are entering or modifying Selenese commands and parameters in Table mode. In Table mode, the Reference pane will display documentation on the current command.

Selenium Tutorials

Recording your first test with Selenium IDE

Recording with Selenium IDE

Steps:

  1. Open URL www.google.com
  2. Type “selenium” in search box
  3. Click on search button
  4. Click on first link in search results

 

Job Support Program

Online Work Support for your on-job roles.

jobservice

Our work-support plans provide precise options as per your project tasks. Whether you are a newbie or an experienced professional seeking assistance in completing project tasks, we are here with the following plans to meet your custom needs:

  • Pay Per Hour
  • Pay Per Week
  • Monthly
Learn MoreGet Job Support
Course Schedule
NameDates
Selenium Training Nov 19 to Dec 04View Details
Selenium Training Nov 23 to Dec 08View Details
Selenium Training Nov 26 to Dec 11View Details
Selenium Training Nov 30 to Dec 15View Details
Last updated: 28 Sep 2024
About Author

 

Madhuri is a Senior Content Creator at MindMajix. She has written about a range of different topics on various technologies, which include, Splunk, Tensorflow, Selenium, and CEH. She spends most of her time researching on technology, and startups. Connect with her via LinkedIn and Twitter .

read less
  1. Share:
Selenium Articles