Tuesday 7 January 2014

Difference between Selenium RC and Selenium Web driver

 Difference between Selenium RC and Selenium Web driver.

Selenium RC
Selenium Web driver

Selenium RC’s architecture is way more complicated.

Web Driver’s architecture is simpler than Selenium RC’s.
Selenium RC is slower since it uses a JavaScript program called Selenium Core. This Selenium Core is the one that directly controls the browser, not you.
Web Driver is faster than Selenium RC since it speaks directly to the browser uses the browser’s own engine to control it.
Selenium Core, just like other JavaScript codes, can access disabled elements.
Web Driver interacts with page elements in a more realistic way.
Selenium RC’s API is more matured but contains redundancies and often confusing commands.
Web Driver’s API is simpler than Selenium RC’s. It does not contain redundant and confusing commands.
Selenium RC cannot support the headless HtmlUnit browser. It needs a real, visible browser to operate on.
Web Driver can support the headless HtmlUnit browser.
Selenium RC Has Built-In Test Result Generator. Selenium RC automatically generates an HTML file of test results. 
Web Driver has no built-in command that automatically generates a Test Results File.
Selenium RC needs the help of the RC Server in order to do so.
web Driver directly talks to the browser
Selenium RC can support new browsers
It cannot readily support new browsers




17 comments:

  1. Thanks a lot Ruchi Goyal . All stuff is very much useful.

    ReplyDelete
  2. A very useful questions....thanks ruchi

    ReplyDelete
  3. Thanks ruchi very useful questions and answers....

    ReplyDelete
  4. I am pleased with these qstns and ans..

    ReplyDelete
  5. LAST DIFFERENCE NEED TO SWAP Selenium RC can NOT support new browsers

    WEBDRIVER can support new browsers

    ReplyDelete
  6. There are more differences with respect to overcoming RC issues by Webdriver.
    eg: RC does not handle popup handling, file upload or download and dialogs barriers which is possible with Webdriver. WebDriver overcomes the limitation of Selenium Rc's Single Host origin policy (Same Origin Policy) :)
    @jESS.

    ReplyDelete
    Replies
    1. Thanks jESS your comment help me a lot

      Delete
    2. Thanks jess And ruchi.
      Swathi bommavaram

      Delete
    3. Just came across this page with handling these in Selenium RC -

      http://seleniumtestingworld.blogspot.ie/2013/06/handling-pop-upsalertconfirmationspromp.html

      Delete
  7. Thank Q Ruchi. Good work keep it up :)

    ReplyDelete
  8. Thanks jESS. Your comments real useful for me.

    ReplyDelete
  9. tell me brief about headless html browser

    ReplyDelete
  10. Thanks
    http://www.bestseleniumtraininginchennai.in">Selenium Training in Chennai

    ReplyDelete

  11. Amazing, thanks a lot my friend, I was also siting like a your banner image when I was thrown into Selenium.
    When I started learning then I understood it has got really cool stuff.
    Book a FREE Demo session with our Trainer Selenium Training Course

    ReplyDelete