seleniumselenium-webdriverselenium-ideselenium-rc

What is the difference between Selenium IDE, Selenium RC and Selenium WebDriver?


What is the difference between Selenium IDE, Selenium RC and Selenium WebDriver; and in what kind of project can we use each one? Any suggestion will be really appreciated.


Solution

  • Selenium IDE is a Firefox or Chrome plugin that allows you to record and run the tests which you run using Firefox. You can not perform advanced testing strategies in IDE like looping a single action for several times etc because you cant use any programming language to write the test cases.

    Selenium RC and WebDriver allows you to choose a language of your interest to write the test cases. with the help of Selenium RC or WebDriver, you can perform almost any kind of action, which you do manually. The major difference between RC and WebDriver is, RC uses a remote control to convert your tests into browser native code, your tests interact with the Remote control and the remote control interacts with the browser where as WebDriver directly interacts with the browser without any Remote server, so the execution is faster.

    I read somewhere that RC converts the test cases which are written in some programming language into Javascript functions ( which can control the browser) where as Web Driver communicates with the browser directly through HTTP commands.

    Selenium RC is deprecated and people are using WebDriver instead of RC.