Netsparker Web Application Security Scanner

Selenium Training Series - Getting Started with Selenium IDE

Today we are announcing to launch of Selenium training series. In this series we’ll covering all Selenium topics in details & learn Selenium from basic to advanced. After requesting many readers for Selenium topics, we are creating Selenium Training videos with practical examples which is easy to understand and learn selenium quickly. As Selenium is open source, we recommend that practice at home on Selenium Training Series which will help to get learn easily. If you have any questions then please feel free to ask questions in the comments section below. We will make sure all relevant questions get answered. Keep eye on all Selenium series of training articles, so that you won’t miss any topic. Selenium Training Series Tutorials

What is Selenium IDE?

Selenium IDE is simple, easy to learn & portable record and play tool for web applications. Learning curve for Selenium IDE is less & no need to learn test scripting language. It is open-source tool & available for download for free. Selenium IDE means Integrated Development Environment (IDE) used for selenium tests. It is come in terms of Firefox extension & used for recording, editing & playback scripts.

Features of Selenium IDE:

  • Simple & easy record and playback
  • Supports intellectual field selection options like ID’s, XPath, and Names.
  • Support for Selenium user-extensions.js file
  • Clever option for adding different assert options in scripts
  • Save test scripts in several formats like Selenese, Ruby and many more formats.
  • Supports Walkthrough tests
  • Allow to customization through plug-ins easily
  • Allow to set breakpoints & debug the scripts.
  • Supports Auto-complete commands

Installation of Selenium IDE:

To learn Selenium-IDE, first you have to download Firefox & Selenium IDE extension on Firefox. Here are the simple steps to be followed to install Selenium IDE: 1) Download Firefox browser (if required) 2) Get Selenium IDE here.

Download Selenium IDE for Installation

Download Selenium IDE for Installation

3) Install Selenium IDE plugin on Firefox browser 4) Restart Firefox. 5) Navigate to Tools menus & click on newly added Selenium IDE (Ctrl + Alt + S) option.

Launch Selenium IDE

Launch Selenium IDE

Now you  are ready to learn Selenium IDE!! Base URL: The Base URL field at the top of the Selenium-IDE window is very useful for allowing test cases to be run across different domains. Tool Bar: It supports different options like: Speed Control, Run All, Run, Pause/Resume, Step, TestRunner Mode, Apply Rollup Rules Test Case Listing Pane: Selenium IDE is open in new window. In the left side of the window shows the test case pan & all test cases will be listed in the section (default entry United). Multiple test cases can be added in this section & upon executing test cases all test cases are executed sequentially. Record Button: On the right side of the window you will see Record ON/OFF button, using this you can record start and stop the script recording. Test Case Pane: It’s test script editing window where your script is displayed in this section. It has two tabs, one for displaying the command and their parameters in a readable “table” format. The “Command” column displays the commands that takes the the action & values in this columns are very straight-forward like: open, click, select etc. The “Target” column displays the what you are trying to interaction with command. It can be represented a variety of ways:

  • URLs – “/dashboard.action” – represents a url. The first part of the URL is the Base URL up at the top, and this URL is relative to that.
  • Text – “link=Recording a Test” – the text of the link
  • XPath – “//input[@value=’Search’]” – XPath is an XML-like language that can be used to specify the location of an element in a document
  • Label – “label-Selenium IDE” – selects the item with the visible label of Selenium IDE.
  • HTML id – “spacelink-SIDE” – this is the HTML id of the link
  • HTML name = “searchQuery.queryString”

The “Value” column used to pass if any data pass to command. If you explore more on above three options then The best way to understand these values is to click on the command you are trying to use, and look at the bottom, on the Reference tab. It will give you information on how the command works, and what all the arguments are. Log Pane: At the bottom of the window you will see the Log panel where you can get the log generated once the test case is executed. It allows you to resize the all pans. Selenium IDE window is look like as:

Getting Started With Selenium IDE

Getting Started With Selenium IDE

Recording the first test case using Selenium IDE:

In the section we are seeing how to record the test case & re-run the test cases:

  • Launch Firefox browser
  • Enter URL
  • Navigate to Firefox menu Tools > select Selenium IDE option
  • Confirm the Record button present in the right side of the toolbar is switched ON.
  • In Google website enter search for “Software Testing Class”
  • Click on Record button again to stop recording.
  • Click on Run button to playback recorded test.
  • The result will display something like this:
The first test case in Selenium IDE

The first test case in Selenium IDE

Please join this FREE Selenium training series to get expertise in Automation using Selenium. Also don’t miss to share this post with your friends. Ask your questions in the comments below. Stay tuned to get comprehensive list articles in Selenium training series.

Happy Testing…

Enter your email address:

Check email in your inbox for confirmation to get latest updates on Selenium Training Series for free.

10 comments to Selenium Training Series – Getting Started with Selenium IDE

  • Rushikesh

    since so many days I was thinking to start learning automation tool. Thanks for adding this article, it triggered my plan. As Selenium is a freeware I would prefer this over QTP…. Waiting for next articles….

  • vineet

    Please Update next tutorial of selenium

  • Aarya

    Thanks for Stared with the Selenium Training Series. I am very much interested in Selenium WebDriver automation testing which is currently being used in many of the companies.

    Thanks in advance
    Sr. QA Engineer

  • Darius

    Great opportunity for me as a FAS trainee in software testing. I am about to sit City Guilds and ISTQB exams and MTA is just behind me. Thank you

  • I want to start learning automation using selenium, I was totally confused about from where to start for automation. Thanks for starting this training series. One more request can you please share the what all actual differeneces between Selenium IDE, RC & WebDriver.

  • Dipali

    Hello STC,
    thank you for Great article , i have learned about Selenium IDE.

  • Yogesh Patil

    Nice article to start with Selenium Training Series!! Looking for more articles on Selenium!!

  • Rajiv Kumar singh

    I am working as manual tester & want to switch to automation testing.
    Can you please suggest which tool is in most demand in India.
    I am thinking of taking Selenium tutorials.
    Kindly guide.Its urgent.

    Rajiv Kumar singh

  • Prakash

    I am Prakash totally new in testing.. this site is very good. Can you tell me from where should I start with testing articles.

  • sanjay

    I am Sanjeev totally new in testing.. i know core java very good but i dont know were to start. i am interested to learn selenium. I don’t know any thing regarding testing were to start. please help me

Leave a Reply

You can use these HTML tags

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>