WebDriver Playback in Selenium IDE is Here

It’s here! It’s finally here! I have finally committed the code for the WebDriver playback feature in Selenium IDE. If you have not seen the video of the demo during Selenium Conference 2012, you can watch it here. Someone pointed out that it has become the most popular video from the conference :D.

I will try to do the official Selenium IDE 2.0 release in a week or two, once I figure out the new CI infrastructure. For those who cannot wait till then, it is available for a short time from my GitHub repository.

For a long time, even I believed that webdriver integration in Selenium IDE could not be done. I may post how it came to be some time in the future. Do not forget that this is still a highly experimental feature and proceed with utmost care. Backup all your important stuff, anything may happen. Backing up your important stuff is always a useful step under any circumstances :). Let us know how it goes and we will try to fix any issues that you may face. Don’t forget to tell us if it works for you as well. We always appreciate feedback, especially now, as we are discussing the phasing out of Selenium IDE.

Ready your environment

Once you have the new version of Selenium IDE, there is still some work to be done before you can use it. I will try to simplify and automate whatever I can in the future. I have a separate post for each of the following three steps to get your environment set up correctly.

  1. Install Java
  2. Get the Standalone Selenium Server
  3. Get the Internet Explorer Driver Server

Start the Selenium Server

Once you change to the folder where you have downloaded and extracted the Selenium Server, you can start the Selenium Server with the following command line on Windows.

java -jar selenium-server-standalone-2.28.0.jar -Dwebdriver.ie.driver=.\IEDriverServer32.exe

For Linux and Max OS, you can skip the Internet Explorer Driver portion and simply start the Selenium Server with the following command line.

java -jar selenium-server-standalone-2.28.0.jar

Potential Problems starting Selenium Server

Based on your system settings, you may have to deal with a Firewall prompt and may have to set the Zoom level.

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.

So how does it work?

Every command that is executed, is caught and sent to the Selenium Server and executed using WebDriver instead of being executed locally and the response from WebDriver is used as the result. For most commands, the Selenium Emulation layer inside the Selenium Server is used. The newly introduced SendKeys command is not emulated, but is directly executed using the WebDriver JSON wire protocol. For most users, it really should not matter how the whole thing works, except that it works. Keep in mind that there are some commands and some arguments that are yet to be supported.

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.

Planned improvements

I am planning to finish the following improvements in the future.

  • Support for screenshots.
  • Individual execution of commands.
  • Use timeouts as specified in options.
  • Automatic download and starting of Selenium Server and Internet Explorer Driver.
  • Highlighting elements.
  • A option to close the browser windows or leave it open

When that actually happens will depend on the feedback I get from you all and the time I am able to spare to work on it.

Follow samitbadle on Twitter

This entry was posted in Selenium IDE and tagged , , , , , , , , . Bookmark the permalink.

75 Responses to WebDriver Playback in Selenium IDE is Here

  1. David says:

    Did you realize that your page never even once explains what webdriver is or what it’s good for?

  2. M. Miller says:

    I’m interested in your comment about the phasing out of Selenuim IDE… Is there another means of simple recording that you’d recommend?

    Thanks.

    • Samit Badle says:

      Hi Mark,

      The fact remains that Selenium IDE based on old technologies and it will be a big challange to support it forever. Selenium builder was recently handed over to the Selenium project. My personal opinion is that I did not like the feel of it, but again, it is a very subjective topic and I do not use recording tools. The field of web browsers has changed rapidly over the last few years and the recording and playback tools need to be revisited and redone. I have been thinking about it for several years and I have tried to bring in features to Selenium IDE incrementally, but, some ideas are too revolutionary to add in. While I would love to develop a tool that satisfies my vision, my time is very limited. I have a day job that is not related to this and there are other things that I need to take care of. I already devote too much time on Selenium. Given the amount of time it would take for such a tool to be developed, without financial support, it seems very unlikely I will be able to get to it anytime soon.

      Cheers,
      Samit

      • Sajjad says:

        I had a play with webdriver and it seems IDE record and playback option is not working as expected. Personal prefrences aside we should care about people using it as quick and maybe dirty way of recoding scripts and then playing them back. Its been good help recently with testing which does not invlove that much web but keep getting messages “Selenium 1.0 (Core, RC, etc) is no longer under active development. Please update to WebDriver ASAP” is not that helpful specially when webdriver seems really rubbish to do playback as I keep getting issues with item not visible (under drop down menu). Keep IDE up and do not decide on personal prefrences..

        • Samit Badle says:

          Hi Sajjad,

          There are parts of your message that are not clear to me. What is not working as expected? I hope you will clarify this in the future to give me an idea about what you expect. I agree with your opinion about caring about people. Selenium IDE crossed 10 million downloads on 15/July/2013. This is a lot of users out there. And as the current maintainer of Selenium IDE, I do care about the users. My opinions were expressed in the discussion at https://groups.google.com/forum/#!topic/selenium-developers/eVfDHbgOflE. Back in December 2012, I had assured users of two years of support and even after two years I am still supporting users of Selenium IDE. The official support should end soon, it will be announced after discussion with others on the transition plan. I see me supporting it unofficially for a couple of years more. Keep an eye on my blog for details.

          I also agree that the message like the one you point out is annoying. Perhaps that was the intent. There are some very smart people behind the project, I would like to belive that they have given it sufficient thought. The good news is that Selenium is an open source project, you can always fork it and get rid of the message if you like.

          People who work on open source software are often people who often spend their personal time and money because they love and are passionate about the project they participate in. If you do not agree with their decisions, feel free to point out to them that you do not agree and why. While doing that, being nice is often a good way to go, because while you say they should care about users, shouldn’t the users also care about them??!!

          Cheers,
          Samit

  3. Anjani says:

    Hi,

    I have set the options as mentioned above and started Selenium server as given above.
    but i did not get any playback option in IDE to play back the script.
    Here my Options->Format is Java/Junit 4/Webdriver.

  4. Ed says:

    This is so great and is pretty much exactly what we hope to use for our in house website testing…One question though:

    We’ve made a test suite of about 6 test cases that all progress through a basic test of our web site. When we replay the suite in Selenium IDE, (without webdriver playback) it all works just fine. But when we turn webdriver playback on, each test case in the suite launches a new browser instance. We’ve seen this in chrome, firefox and IE. I’m almost positive that it has something to do with the fact that at the top of each of our test cases, there’s this:

    open
    /startpage/index.php?section=main

    which is tagged onto the base URL. Any idea how I can make this flow from one test case to the next without a new browser instance for each test case (when using webdriver playback)?

    thanks in advance for any help,

    Ed

    • Samit Badle says:

      Hi Ed,

      There will be a bunch of improvements over time to the Webdriver playback feature. I wanted to put this feature in the hands of users like you as soon as possible so that you can give me feedback about how it works for you. The reason why a new window is opened for every test case is because if the test fails, you will have the oppourtunity to investigate it. In a future enhancement, there will be an option to reuse the same window as well as to automatically close the old window if not reused.

      Cheers,
      Samit

      • Ed says:

        Hi Samit,

        Thanks so much for this. Time has gotten away from me and I’m just now seeing your response. This is great news and will be a substantial enhancement for our situation. Our current get-around is to combine all our pieces into one long test case and things are working really well. Overall, we’re really happy with Selenium! Thanks for all your hard work.

        Ed

  5. Maksim says:

    Selenium IDE 2.0.0 to Firefox 22 does not run tests that are normally worked in previous versions.

    errors:

    1. Time stamp: 26.06.2013 9:59:43
    Error: TypeError: props is undefined
    Source: chrome :/ / selenium-ide/content/treeView.js
    Line: 555

    2. Selenium does not see the comments to the tests, and does not perform the tests themselves.

    • Samit Badle says:

      Hi Maksim,

      The right place to report issues is the issues page on selenium website. I go through it regularly. And your issues should be fix with the latest release of Selenium IDE v2.2.0.

  6. Steven Kwok says:

    Absolutely incredible. I have wildly over-complicated IDE test cases (I use flow-control), but the fact that I can run multi-browser with the IDE is wonderful. I can create a subset of my test cases that have simplified commands for smoke testing in more browsers. Love it. Keep up the great work!

  7. Alford says:

    Hi Samit,
    I am using webdriver with selenium ide. In IDE my script is running fine.When i am running my IDE script with webdriver it showing the error message. Please check the below and suggest

    IDE – ‘[error] Could not connect to Selenium Server. Have you started the Selenium Server yet?
    ——————Selenium server console error—————–
    16:10:14.588 INFO – Executing: [new session: {browserName=firefox}] at URL: /ses
    sion)
    16:10:14.653 INFO – Creating a new session for Capabilities [{browserName=firefo
    x}]
    16:10:39.266 INFO – Done: /session
    16:10:39.272 INFO – Executing: org.openqa.selenium.remote.server.handler.GetSess
    ionCapabilities@1d41dc3 at URL: /session/f4a0f4b1-b326-4e7f-8e6a-9f4bfd2c8b5e)
    16:10:39.273 INFO – Done: /session/f4a0f4b1-b326-4e7f-8e6a-9f4bfd2c8b5e
    16:10:39.278 WARN – Fatal, unhandled exception: /session/f4a0f4b1-b326-4e7f-8e6a
    -9f4bfd2c8b5e: java.util.concurrent.ExecutionException: java.lang.NullPointerExc
    eption
    16:10:39.283 INFO – WebDriver remote server: Fatal, unhandled exception: /sessio
    n/f4a0f4b1-b326-4e7f-8e6a-9f4bfd2c8b5e: org.openqa.selenium.WebDriverException:
    java.util.concurrent.ExecutionException: java.lang.NullPointerException
    Build info: version: ‘2.33.0’, revision: ‘4e90c97’, time: ‘2013-05-22 15:32:38’
    System info: os.name: ‘Windows 7’, os.arch: ‘x86’, os.version: ‘6.1’, java.versi
    on: ‘1.7.0_21’
    Driver info: driver.version: unknown
    16:10:39.288 WARN – EXCEPTION
    javax.servlet.ServletException: org.openqa.selenium.WebDriverException: java.uti
    l.concurrent.ExecutionException: java.lang.NullPointerException
    Build info: version: ‘2.33.0’, revision: ‘4e90c97’, time: ‘2013-05-22 15:32:38’
    System info: os.name: ‘Windows 7’, os.arch: ‘x86’, os.version: ‘6.1’, java.versi
    on: ‘1.7.0_21’
    Driver info: driver.version: unknown

    • Samit Badle says:

      Hi,

      Please file an issue with more details and I will take a look at it.

      Cheers,
      Samit

      • sachin says:

        Hi Samit and Alford,

        I have installed the Java, Jar, and IEDriverServer and confirmed with command prompt these items. I have also run into the same issue where after setting my IDE to “internet explorer”, restarting it and trying to run a script, I get the same error ([error] Could not connect to Selenium Server. Have you started the Selenium Server yet?).

        I tried searching the “issues” but couldn’t find this bug as of this post. Is there a step that I’m missing to get the WebDriver Playback to run my scripts on Selenium IDE?

        Any help is greatly appreciated.

        Thanks,
        Sachin

        • Samit Badle says:

          Hi Sachin,

          It should work. Try running a test webdriver script to check if it is correctly configured.

          Cheers,
          Samit

  8. Lan.Huynh says:

    Hi,

    As you said, we can use IDE Playback for android, chrome, firefox, htmlunit, internet explorer, iPhone, iPad and opera. So, is there any special setup to execute on android, chrome, htmlunit, iPhone, iPad and opera? Because I think the guide here just setup for IE browser only.
    Please correct me.

    Thanks,
    Lan Huynh

    • Samit Badle says:

      Hi Lan,

      It is on my todo list to document how to get the required setup for the rest.

      Cheers,
      Samit

      • Vijay says:

        Hello Samit – Thanks for details in your above writings. Were you able to document the steps on how to use IDE Playback on Android, iPhone? If so, can you point me to that document or email me?

        Thanks in advance,

        • Samit Badle says:

          Hi Vijay,

          It is on my todo list. The steps should be the same as setting up iPhone or an android phone for WebDriver.

          Cheers,
          Samit

  9. rohit says:

    it works.. wonder full…
    impressed…….. task becoming more easy….
    now ide no more single browser ……..

  10. Priyanka says:

    Wonderful work.It;s working properly.
    Thanks more.It was more help full to me when work with selenium grid also.
    Thanks lot again.

    • Samit Badle says:

      Hi Priyanka,

      I am working on it. As soon as more people start using Webdriver playback in Selenium IDE and I iron out the few remaining bugs. Remote playback and Selenium Grid will be available.

      Cheers,
      Samit

  11. Saqib says:

    Hi, I have been learning how to use selenium IDE for the last week or so. I am looking for a command. A certain command that can bridge the automation testing to a database of keywords. E.g. I am searching on a online website using its search bar. I type in bar, it gives me results, I type in hotels, it gives me results. I would not like to enter every word individually as I would like to record how much results each keyword brings up. Is there a command or code that uses a database to go to and bring it into the test scenario without having to manually search for say every word in the dictionary? Please could you reply to my email address or provide me with a way I can contact you personally. Regards, Saqib

    • Samit Badle says:

      Hi Saqib,

      Such a task is best avoided in Selenium IDE. You can try DataDriven / Sel blocks plugin, but you will need to google on how to use it. It is best to use a programming language for such a task. Export your test in something like Java, Ruby, Perl, Python or C# and it should be fairly easy to read keywords from a file and call it.
      If you cannot find anyone to do this for you, I can put you in touch with someone who can.

      Cheers,
      Samit

  12. Omkar says:

    Hi,

    This is really a great feature included in Selenium IDE. Kudos for this an attractive feature.

    Thanks,
    Omkar

  13. deepak says:

    Hi

    I tried with latest IDE, i am getting the following error message:
    [error] Could not connect to Selenium Server. Have you started the Selenium Server yet?

    i am trying “internet explorer” in Options/Webdriver tab

  14. Nicholas DiPiazza says:

    I had to switch the port using -port 8099 because my computer was using 4444.
    Went into Firebug, set the WebDriver playback as specified.
    Set the playback to internet explorer.
    Clicked ok, restarted firefox and seleinum IDE.
    In Firefox, I had to go to the http://localhost:8099/wb/hub/
    Then I created an IE session.
    It crashed because the “zoom level” was set to 102. It wanted 100. So i modified it to 100% on IE and launched it again. Worked.
    IE was launched and recording. You RULE!!!!!!

  15. Pingback: Selenium | java7notes

  16. Ivan says:

    Hi Samit!

    I started using WebDriver via Selenium IDE today, and I was wondering if it supports the gotoif command? I’ve ran it through the IEDriverServer32.exe and the following error appeared in the logs:
    “Method is not present on Selenium interface: gotoIf”

    The same command goes through smoothly when using Selenium IDE “normally” on Firefox (not via WebDriver).

    Thanks in advance!

    • Samit Badle says:

      Hi Ivan,

      I built the means to support user extensions in Selenium IDE for Web Driver playback a short while ago. Now I am creating an example plugin and documentation. I am also converting the commonly used plugins for WebDriver playback. However the time I can spare is very limited, so it is taking longer than I expected.

      Cheers,
      Samit

  17. Priya says:

    Hi,

    I am working with Selenium IDE in Linux environment. I am wondering if it is possible to run the script automatically at specific time. Suppose I want to run my test suit at 3:00 AM automatically… Is it possible?

    Thanks,
    Priya

  18. Shay says:

    Hi Samit

    I just came across WebDriver Playback in Selenium IDE late last year – awesome !

    Managed to get scripts to run on FF, IE, Chrome & Safari but don’t seem to be able to get them to run on Opera. Downloaded operadriver-v1.1 from github (https://github.com/operasoftware/operadriver/downloads) not sure what I am doing here so might be totally wrong.

    Any chance you can give us advise on set up required for Opera

    Thanks – Shay

  19. Illy says:

    Really happy to read the comments and see that you will improve this feature.

  20. Tom says:

    I was running my test suite using webdriver. My test suite consists of 3 different test cases. When I ran it using webdriver, each test case opens a new window. Is there anyway I can run all the test cases in one suite in a single window?

    • Samit Badle says:

      Hi Tom,

      Not yet, but it is planned. Please raise an issue on the google code website for the project.

      Cheers,
      Samit

  21. Linu says:

    Hi,

    If you run a test suite using webdriver, would each test case in the test suite open a new window? Is there anyway you can run all the test cases in one browser window?

    • Samit Badle says:

      Hi Linu,

      That will be done as soon as I finish the automated test scheduler. So you should have it in two more releases of Selenium IDE.

      Cheers,
      Samit

  22. Alice Hubenko says:

    Hi Samit,

    I am currently using the selenium-standalone.jar with -htmlSuite option (selenium rc) to run my Selenium IDE tests in an fully automated way using Jenkins. Is there a way to use WebDriver playback in a fully automated way? I am familiar with Selenium WebDriver
    and it would be awesome if there would be a way to run the html tests generated by Selenium IDE without having to translate them.

    Thank you,
    Alice

    • Samit Badle says:

      Hi Alice,

      I have been working on a test scheduler which allows you to run test suites automatically at regular intervals. After this is released, I will be working on inproving the Webdriver support in Selenium IDE. together you should be able to run tests at periodic intervals in Webdriver without translating them.

      Cheers,
      Samit

  23. shawn davis says:

    Samit, this is great news for my organization!

    I was successful in getting scripts to run in Chrome, but I’m getting an ‘Unable to get browser’ error in IE. It may have to do with my company’s security policy; a lot of the security settings in IE are locked down. I’d like to set the ‘ignoreProtectedModeSettings’ IE driver setting to true to see if that helps. Is there a way to modify the driver settings from the command prompt? If so, can you provide an example of the syntax? Thanks!

    • Samit Badle says:

      Hi Shawn,

      Feel free to ask first in the Selenium users google group. and the IE driver page on the wiki. Ping me again if you do not find the answers there.

      Cheers,
      Samit

      “If you teach a man to fish …”

  24. Alex says:

    Hello Samit,

    I have the same problem as Linu and Tom. I ran my test suite, which consists of different test cases. And when I use webdriver, each test case opens a new windows, but I need that it runs in the same window, because it has to continue the work that I have already done in the previous cases.
    Until now I tried to join every test case in just one big case, but I do not really like this solution.
    Have you had time to work on it?
    Thank you.
    With regards,
    Alex

    • Samit Badle says:

      Hi Alex,

      The next version will have the test scheduler. The webdriver playback will be improved after that and your issue will definitely be fixed.

      Cheers,
      Samit

  25. Ant says:

    Hi,

    Not sure if here is the best place to ask this or the issues page but thought would ask here first.

    I’m trying to get the Webdriver Playback functionality to run my tests over IE and have hit a snag.

    My scripts contain various FOR and IF statements which run fine over just the IDE, but when I enable the webdriver to run over that they fail with ‘Method is not present on Selenium interface: if’ / ‘…ace: endIf’

    Would this be a limitation or is there something simple I’ve failed to do?

    Have to say, absolutely love what you do. From not a technical background, have to say I really think Selenium IDE is a massive timesaver for me. I’ve completely automated my smoke tests saving me possibly hundreds of man hours.

    Many thanks
    Ant

    • Samit Badle says:

      Hi Ant,

      That is currently an issue. These plugins are not compatible with webdriver playback. I am planning to rewrite the common ones to make them compatible as soon as I get some time.

      Cheers,
      Samit

  26. Mr J says:

    Hi Samit Badle
    All were fine, thank you so much, but there is a little of unconveninence for each time we run on others browsers that we must configured in Options and start Server :)

  27. Alister Ernest says:

    Hi Samit,

    I have a quick question. When running the WebDriver playback, it assumes that the Selenium Server is running on port 4444. If I start the Selenium Server on another port, is there a way to tell the Selenium IDE’s WebDriver playback to look for the Selenium Server on the new port?

    Thanks,
    Alister Ernest

    • Samit Badle says:

      Hi Alister,

      Right now no. I have plans to improve this feature once the scheduler is released.

      Cheers,
      Samit Badle

  28. Keeya Wang-Jones says:

    Can you post a video on YOUTUBE on installation process for different systems? I am a Mac user and I tried to follow your instructions for installation using the terminal and I get an error. Some of us do not have a career in JAVA. I am only using Selenium for QA and UX testing. Firefox works beautifully but I need to run the test on devices and other browsers and the WebDriver seems to be a great solution. I saw your video from the Selenium conference and you used it and it looks really easy. I wasted 2 hours already just trying to get the server up for other browsers. Currently, only Firefox default is working.

    Current (Mac Terminal):
    Success on this part.

    18:36:01.680 INFO – Java: Oracle Corporation 24.60-b09
    18:36:01.726 INFO – OS: Mac OS X 10.9.3 x86_64
    18:36:01.845 INFO – v2.0 [rc2], with Core v2.0 [rc2]
    18:36:03.108 INFO – RemoteWebDriver instances should connect to: http://127.0.0.1:4444/wd/hub
    18:36:03.110 INFO – Version Jetty/5.1.x
    18:36:03.127 INFO – Started HttpContext[/selenium-server/driver,/selenium-server/driver]
    18:36:03.130 INFO – Started HttpContext[/selenium-server,/selenium-server]
    18:36:03.130 INFO – Started HttpContext[/,/]
    18:36:03.346 INFO – Started org.openqa.jetty.jetty.servlet.ServletHandler@2d3fc5f6
    18:36:03.346 INFO – Started HttpContext[/wd,/wd]
    18:36:03.437 INFO – Started SocketListener on 0.0.0.0:4444
    18:36:03.437 INFO – Started org.openqa.jetty.jetty.Server@466299f7

    Seems all good.
    Then next step:
    I restart Selenium IDE > I checked Enable WebDriver Playback > I type in a different browser under Options > WebDriver > chrome

    I press play to see if it will launch Chrome Browser and get this error:
    [error] Could not connect to Selenium Server. Have you started the Selenium Server yet?

    No instructions on how to start the server is provided. I am at a lost of what to do. Any suggestions on the process for MAC users. Any video installations to follow? or Screenshots?

    -Keeya

    • Samit Badle says:

      Hi,

      Good idea. I will see what I can do. However, have you installed the Chromedriver? and passed it to Selenium Server when you started it?

      Cheers,
      Samit Badle

    • Ricky says:

      Hey Keeya,

      I had the same issue you did. Your problem probably lies here:

      java -jar .jar -Dwebdriver.chrome.driver=.\chromedriver.exe

      What isn’t mentioned in the instructions is that the “.\” is the path where you’ve placed either your IE or Chrome driver server at. By default, it looks in the current directory where you reside. So if you’re running this command from your Selenium Server location & you have both files in the same location, this should work fine. However, if you have your Selenium Server & Web Driver Server in different locations, you’ll get the error you mentioned above. Make sure your “-Dwebdriver.driver” location reflects where you’ve placed your Web Driver Server. Hope this was helpful!

      -Ricky

      • Ricky says:

        Just realized it messed up all my coding parts… lol. Let me know if you need me to explain that again or if my description makes sense :).

  29. Chris says:

    Samit,

    Fantastic work! Any idea when the remote webdriver playback functionality is slated for release? Thanks!

  30. Mike says:

    Hi There
    Just want to thank you for your efforts.
    This is a great feature that you have added to the IDE.
    I test cognos so cannot have separate browser windows open at the moment.
    Can’t wait for when you overcome this.
    Just wanted to say – I really appreciate all you are doing

    Mick

  31. Frank says:

    I am with Selenium IDE 2.7.0, Selenium 2.43.0 on MAC OSX10.9.5.
    The Selenium IDE works fine on HTML and recording…, but in IDE [Options] [Clipboard Format], Python is missing (only HTML, Ruby, Java, C#). When I run python from terminal window, the webdriver access for firefox and chrome are ok.

    How to link the python to Selenium IDE?
    Thanks.
    Frank

  32. Anna Ninburg says:

    Hello Samit Badle,
    Could you please provide me with instructions on how to setup for chrome when using WebDriver Playback. Thank you

    Anna

    • Samit Badle says:

      Hi Anna,

      From what I see, other people have managed to get the webdriver playback running in Chrome. When I find time, I will review this area and add any instructions if missing or changed.

      Cheers,
      Samit

  33. Ricky Byrd says:

    Hey Samit,

    With some playing around, I was able to get your Webdriver Playback feature to work for both IE and Chome. Works great! I do have a bit of a request though.

    I noticed the playback feature doesn’t support some of the plugins you can add to Selenium IDE like Flow Control. For instance, when I try to use and ‘if’ statement, I receive the following error:

    [error] Method is not present on Selenium interface: if
    [error] Method is not present on Selenium interface: elseIf

    Is there any way you can add support for these types of things? Thanks and I wish you continued success!!

    -Ricky

    • Samit Badle says:

      Hi Ricky,

      Webdriver does not like plugins :( However I hove found a workaround. I have plans to improve the Webdrive support in Selenium IDE first as well as rewrite the common plugins to support webdriver playback. But first I want to release the scheduler feature that I have been working on over the past one year.

      Time is very limited, so all I can say is patience.

      Cheers,
      Samit

  34. frank says:

    Sorry for the newby question, I have read this and the other links regarding installation, however I dont see how I use the recorder tool for IE to write tests?

    Thanks in advance

    • Samit Badle says:

      Hi Frank,

      It is Webdriver playback and Webdriver recording. Specificly you can record the tests using Firefox and run them using IE. You cannot record them in IE using Selenium IDE and there are no plans to do so either.

      Cheers,
      Samit

  35. Suresh says:

    Hi Folks,
    Can you guys help me on the below issue?
    I have recorded few scripts through Selenium IDE using (fire fox), now i want to run those scripts on IE browser.
    When i click on my bat file every thing showing as started but scripts are not executing in internet explore
    ================================================================
    My bat file :
    java -jar D:\Seleniumtests\selenium-server-standalone-2.44.0.jar -SeleniumSuite “*iexplore”
    “http://test.charityfirst.com”
    “D:\Seleniumtests\SeleniumSuite.HTML”
    “D:\Seleniumtests\IETestResult.HTML”
    ===============================================================
    D:\Seleniumtests>java -jar D:\Seleniumtests\selenium-server-standalone-2.44.0.ja
    r -SeleniumSuite “*iexplore”
    03:09:00.905 INFO – Launching a standalone server
    03:09:01.077 INFO – Java: Oracle Corporation 25.25-b02
    03:09:01.077 INFO – OS: Windows Server 2008 R2 6.1 x86
    03:09:01.099 INFO – v2.44.0, with Core v2.44.0. Built from revision 76d78cf
    03:09:01.336 INFO – RemoteWebDriver instances should connect to: http://127.0.0.
    1:4444/wd/hub
    03:09:01.338 INFO – Version Jetty/5.1.x
    03:09:01.340 INFO – Started HttpContext[/selenium-server,/selenium-server]
    03:09:01.475 INFO – Started org.openqa.jetty.jetty.servlet.ServletHandler@3c1e69

    03:09:01.475 INFO – Started HttpContext[/wd,/wd]
    03:09:01.476 INFO – Started HttpContext[/selenium-server/driver,/selenium-server
    /driver]
    03:09:01.476 INFO – Started HttpContext[/,/]
    03:09:01.484 INFO – Started SocketListener on 0.0.0.0:4444
    03:09:01.484 INFO – Started org.openqa.jetty.jetty.Server@11bc7ed

    Thanks
    Suresh

  36. Tony says:

    Hey Samit,

    I love the work you’ve done. Are there any updates regarding support of plugins like flow control in the Webdriver Playback feature? I know time is limited, but just wanted to check and see if you have a schedule laid out.

    Thanks!
    Tony

    • Samit Badle says:

      Hi Tony,
      I am working on the next release of Selenium IDE where the focus is to improve plugin API and web driver support. The new plugin API has been designed to make it easier for adding plugins with web driver playback. So yes, a schedule has been set.
      Cheers,
      Samit

Leave a Reply to Priyanka Cancel reply

Your email address will not be published. Required fields are marked *