Software Quality Assurance & Testing Stack Exchange is a question and answer site for software quality control experts, automation engineers, and software testers. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Please provide answers in detail, So that we could clarify that which one is to choose, Web driver or Selenium RC.

share|improve this question
    
Which one is better to use ? – Muhammad Omar Ahsan Oct 8 '12 at 6:18
1  
I was thinking why a similar question stackoverflow.com/questions/9781940/… has been voted much higher than this and now I see. The other demonstrates some knowledge and experience shared. – dzieciou Dec 14 '15 at 18:43

Maybe this question I asked several months ago on stackoverflow can do some help to you: http://stackoverflow.com/questions/9781940/selenium-vs-webdriver-any-obvious-advantages
Although I said I decided to use RC at that time, I turn to webdriver short after that. Yes, webdriver has problems, but it is upgrading time after time. I would rather try the new features of webdriver developed by selenium groups, than using the old, end-of-life selenium.

share|improve this answer
1  
I need the major differences between RC and web driver that why to use which. – Muhammad Omar Ahsan Oct 9 '12 at 5:45
  • Webdriver is faster, as compared to RC
  • Webdriver mimics much more closer to real-life interaction; as compared to RC
  • WebDriver supports more languages
  • WebDriver is more actively followed/supported now; RC is past

details: http://www.guru99.com/introduction-webdriver-comparison-selenium-rc.html

share|improve this answer

The main advantage is that a Webdriver and RC suites are they allow you to use a programming language in creating your test scripts (not possible in Selenium IDE).

Following programming languages are supported by WebDriver (but others have some 3rd party support)

  • Java
  • .Net
  • PHP
  • Python
  • Perl
  • Ruby

Where they differ;

WebDriver is faster than Selenium RC since it speaks directly to the browser uses the browser's own engine to control it

Selenium RC tends to be slower Than Webdriver since it uses a Javascript program called Selenium Core. This Selenium Core is the one that directly controls the browser, not you.

WebDriver can also support HtmlUnit. A headless browser which is very useful in certain circumstances.

share|improve this answer
    
Looks like WebDriver is ideal and has no downsides, which isn't true according to stackoverflow.com/questions/9781940/… – dzieciou Dec 14 '15 at 18:44
2  
The "newness of SafariDriver" is less of an issue now than it was 3 years ago on that linked comment. Is there a particular disadvantage you are thinking of and I'll add it to the answer. – ECiurleo Dec 14 '15 at 20:34

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.