Selenium 2.0 is a major milestone in Selenium's automations landmark. Selenium 2.0 has many new exciting features and improvements over Selenium 1. The primary new feature is the integration of the WebDriver API. This addresses a number of limitations of Selenium 1 (RC) along with providing an alternative, and simpler, programming interface. The goal is to develop an object-oriented API that provides additional support for a larger number of browsers along with improved support for modern advanced web-app testing problems.
Rather than being a JavaScript application running within the browser, it uses whichever mechanism is most appropriate to control the browser. For Firefox, this means that WebDriver is implemented as an extension. For IE, WebDriver makes use of IE's Automation controls. By changing the mechanism used to control the browser, we can circumvent the restrictions placed on the browser by the JavaScript security model. In those cases where automation through the browser isn't enough, WebDriver can make use of facilities offered by the Operating System. For example, on Windows we simulate typing at the OS level, which means we are more closely modeling how the user interacts with the browser, and that we can type into "file" input elements.
So, what are the differences between Selenium WebDriver and Selenium RC and where innovation is?
The thing is in the way of interaction with the browser:
Selenium developers recommend to use Selenium webDriver, as Selenium RC was officially deprecated.
Rather than being a JavaScript application running within the browser, it uses whichever mechanism is most appropriate to control the browser. For Firefox, this means that WebDriver is implemented as an extension. For IE, WebDriver makes use of IE's Automation controls. By changing the mechanism used to control the browser, we can circumvent the restrictions placed on the browser by the JavaScript security model. In those cases where automation through the browser isn't enough, WebDriver can make use of facilities offered by the Operating System. For example, on Windows we simulate typing at the OS level, which means we are more closely modeling how the user interacts with the browser, and that we can type into "file" input elements.
So, what are the differences between Selenium WebDriver and Selenium RC and where innovation is?
The thing is in the way of interaction with the browser:
- Selenium RC sends commands to the browser using JavaScript Selenium Core.
- WebDriver works with the browser through native browser interface.
Selenium developers recommend to use Selenium webDriver, as Selenium RC was officially deprecated.
Really awesome blog. Software testing is a method of executing the application or program with the intent of searching the software errors. Software Testing Training in Chennai offering this course at reasonable cost.
ReplyDeleteI get a lot of great information from this blog. Thank you for your sharing this informative blog. Just now I have completed hadoop certification course at a leading academy. If you are interested to learn Best Hadoop Training in Chennai visit FITA IT training and placement academy.
ReplyDeleteReally nice post. Unix is a multiuser and multi tasking operating system at the same time. Unix Course in Chennai offering real time Unix course at reasonable cost.
ReplyDeleteThanks for sharing this information. Salesforce is a cloud based CRM. Nowadays most of the multinational companies used this CRM for managing their customers. To know more details call 9841746595.
ReplyDeleteRegards..
Salesforce Training
Cloud computing is storing and accessing the large data sets over the internet instead of your PC computer. So that you can manage the data and program anywhere through the internet.
ReplyDeleteRegards..
Cloud Computing Training
Software testing industry offer huge career opportunity for talented selenium professionals.
ReplyDeleteRegards,
Software testing training