April 26, 2013

WebDriver Playback in Selenium IDE

Selenium IDE:

As we all know selenium IDE is a plug-in for Firefox and we can record play back in Firefox only but from now on wards we have to modify that statement because test recorded in Firefox can be run in IE and Chrome and other browsers also.

Download the latest version of Selenium IDE (2.9.0)

Below is the Release Notes:

Selenium IDE - Release Notes

  • Enh - Schedule tests for automatic playback at a certain time or periodic intervals. (http://blog.reallysimplethoughts.com/2015/03/09/selenium-ide-scheduler-has-arrived-part-1/)
  • Enh - Allow submission of diagnostic information via a gist.
  • Enh - Improved health logging, including alerts normally hidden.

  • Prerequisites:

    1. Java should be installed in your machine
    2. Download selenium server jar file.

    Set the WebDriver Playback Settings in Selenium IDE

    By default, WebDriver playback is turned off so recording and playback will work as before. To experiment with the WebDriver playback, you need to explicitly turn it on through the WebDriver tab of the Options dialog. To turn on WebDriver playback, check the option Enable WebDriver Playback.
    Then set the Browser to the one you want to use. The choices are android, chrome, firefox, htmlunit, internet explorer, iPhone, iPad and opera.
    Finally restart the Selenium IDE. A restart is required to enable or disable WebDriver Playback. Changing the browser does not require a restart.

    Set up in IDE:

    Part 1:
    1. Open selenium IDE
    2. Go to Options -->Options
    3. Select WebDriver Tab
    4. Check the Enable WebDriver Play back check box
    5. In text box type firefox or internetexplorer or chrome
    6. Click OK
    7. Record a test case in Selenium IDE or open a test case which is already recorded in Selenium IDE.

    Part 2:
    1. Start your selenium server
    2. open comand prompt and navigate to folder where you kept your selenium server and use the below commad to start your selenium server by using below command

    My selenium server jar file is kept in C\Naga\Jar...

    C:\Naga\Jar>java -jar selenium-server-standalone-2.31.0.jar

    Your selenium server will start.

    Then, In Selenium IDE click the run button. Based on the syntax give in options--options---Webdriver your browser will open and will execute the selenium IDE script in that browser.

    Its really awesome feature of Selenium IDE

    For more and detailed description please go through Samit Badle's Blog.

    Below is URL:

    Below are the Limitations:


    This is merely the first step in providing full WebDriver playback. Bugs and limitations are to be expected. I am aware of the following limitations:-
    • Multiple browser windows will be opened and will remain open.
    • Test may not pause or exit on errors.
    • An alert message may pop up for conditions that I have not encountered in my testing.
    • Executing a single command is not yet supported.
    • Highlighting a locator using the Find button may not work.
    • The timeout settings are ignored.
    • Screenshots may not work.
    • User extensions and plugins may not work.
    As you probably know by now, I do not use Selenium IDE myself, so I can only test it a tiny bit. Your help in reporting any issues is always most appreciated.

    IF you don't want to use this feature then you need to un check the check box(options--options---Webdriver ) and restart your selenium IDE


    1. Hey, nice site you have here! Keep up the excellent work!


    2. Has anyone tried using webdriver playback with android emulation? I got as far as emulating a real old android phone and launching the webdriver on the emulator....now how do I make Selenium IDE talk to the android emulator? Any help is much appreciated.

      1. Hello - Were you able to run Selenium IDE scripts on Android Emulator? If so can you share steps on how to do it?

        Thanks in advance,

    3. Excellent Post. Also visit http://whiteboxqa.com/selenium.php

    4. Hi All,

      How to test an REST based applications using selenium web driver 2.0 ,

      Is there any differences in Automating (using selenium webdriver 2.0) REST based application and the normal web based applications

      Waiting for the reply


    5. This content is written very well. Your use of formatting when making your points makes your observations very clear and easy to understand. Thank you.

      PhD Thesis Writing Services
      Dissertation Writing Services
      Research Paper Writing Services

    6. Good Post! Thank you so much for sharing this pretty post, it was so good to read and useful to improve my knowledge as updated one, keep blogging…

      software testing course in chennai

    7. It's very great post... Really you are... done a wonderful job Keep up the good work and continue sharing like this.
      Python Training in Chennai | Python Training in Velachery

    8. All are saying the same thing repeatedly, but in your blog I had a chance to get some useful and unique information, I love your writing style very much, I would like to suggest your blog in my dude circle, so keep on updates.
      Software Testing Training in Chennai
      Software Testing Course in Chennai
      Angularjs Training in Chennai
      Selenium Training in Chennai
      German Classes in Chennai
      Software Testing Training in Velachery
      Software Testing Training in Tambaram


    9. افضل شركة تسليك مجارى بالاحساء افضل شركة تسليك مجارى بالاحساء
      افضل شركة تسليك مجارى بالدمام افضل شركة تسليك مجارى بالدمام
      افضل شركة تنظيف بيارات بالرياض افضل شركة تنظيف بيارات بالرياض

    10. Thanks for posting such an blog it is really very informative. And useful for the freshers Keep posting the

      Guest posting sites

    11. Good post.....I appreciate yor way of writing that make the blog attractive and make reader to hold longer to your blog. Thank you for sharing.Performance testing services is a highly specialized field of testing.

    12. keep up the good work. this is an Assam post. this to helpful, i have reading here all post. i am impressed. thank you. this is our digital marketing training center. This is an online certificate course
      digital marketing training in bangalore | https://www.excelr.com/digital-marketing-training-in-bangalore