Selenium 1.0 also known as Selenium RC and Selenium 2.0 known as Seleniuim WebDriver.
Differences as below...
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 driver | Support all the browser like.. IE, FireFox, Chrome ,Opera, headless HTMLunit, Android |
Core engine is Javascript based | Interacts natively with browser application |
Very complex architecture | Simple and easy architecture |
It calls Selenium Core to execute and control browser | Directly interact with browser |
API are more matured but contain redundancy and often confusing | API's are simple and no redundancey. |
Built in test result generator and automatically generate HTML file | No 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 browser | Selenium-WebDriver makes direct calls to the browser using each browser’s native support for automation |
Actually Selenium 1.0 consists 2 components.
ReplyDelete1. Selenium Core i.e. Set of pure JavaScript commands
2. Selenium RC which includes Selenium Server and Selenium Client Lib, In order to execute the JavaScript commands on the web page i.e. Selenium Core commands, the actual Selenium-core JavaScripts should be loaded on the page in which AUT is loading. Also we should make the browser feel as the commands also loading from the same domain from which AUT also loading.
Selenium Training Institute in Chennai