Friday, March 20, 2015

Difference between Selenium 1.0 and Selenium 2.0?

Selenium 1.0 also known as Selenium RC and Selenium 2.0 known as Seleniuim WebDriver.
Differences as below...

Selenium 1.0 (RC) Selenium 2.0 (WebDriver)
Need to start Remote server before execution.No need to start any server.
Support some of the browser like.. IE, FireFox, Chrome and Opera. Can not support headless HTMLunit driverSupport all the browser like.. IE, FireFox, Chrome ,Opera, headless HTMLunit, Android
Core engine is Javascript basedInteracts natively with browser application
Very complex architectureSimple and easy architecture
It calls Selenium Core to execute and control browserDirectly interact with browser
API are more matured but contain redundancy and often confusingAPI's are simple and no redundancey.
Built in test result generator and automatically generate HTML fileNo Built in result file generator
It ‘injected’ javascript functions into the browser when the browser was loaded and then used its javascript to drive the AUT within the browserSelenium-WebDriver makes direct calls to the browser using each browser’s native support for automation

No comments:

Post a Comment