Wednesday, October 29, 2014

chapter 18 - Selenium RC Vs WebDriver

Selenium RC Vs WebDriver

Selenium RCSelenium WebDriver
Selenium RC architecture is complicated as the server needs to be up and running before starting a test.WebDriver's architecture is simpler than Selenium RC as it controls the browser from the OS level.
Selenium Server acts as a middle man between browser and selenese commandsWebDriver interacts directly to the browser and uses the browser's engine to control it.
Selenium RC script execution is slower since it uses a Javascript to interact with RCWebDriver is faster as it interacts directly with browser.
Selenium RC cannot support the headless as tt needs a real browser to work with.WebDriver can support the headless execution
Its a simple and small APIComplex and a bit large API as compared to RC
Less Object oriented APIPurely Object oriented API
Cannot test mobile ApplicationsCan test iPhone/Android applications

No comments: