Interview Questions

SELENIUM REAL TIME INTERVIEW QUESTIONS - Difference between Selenium RC and Selenium Web driver.

Selenium WebDriver Interview question and Answers


(Continued from previous question...)

SELENIUM REAL TIME INTERVIEW QUESTIONS - Difference between Selenium RC and Selenium Web driver.

Selenium RC:
-Selenium RCís architecture is way more complicated.
-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.
-Selenium Core, just like other JavaScript codes, can access disabled elements.
-Selenium RCís API is more matured but contains redundancies and often confusing commands.
-Selenium RC cannot support the headless HtmlUnit browser. It needs a real, visible browser to operate on.
-Selenium RC Has Built-In Test Result Generator. Selenium RC automatically generates an HTML file of test results.
-Selenium RC needs the help of the RC Server in order to do so.
-Selenium RC can support new browsers



Selenium Web driver:
-Web Driverís architecture is simpler than Selenium RCís.
-Web Driver is faster than Selenium RC since it speaks directly to the browser uses the browserís own engine to control it.
-Web Driver interacts with page elements in a more realistic way.
-Web Driverís API is simpler than Selenium RCís. It does not contain redundant and confusing commands.
-Web Driver can support the headless HtmlUnit browser.
-Web Driver has no built-in command that automatically generates a Test Results File.
-web Driver directly talks to the browser
- It cannot readily support new browsers

(Continued on next question...)

Other Interview Questions