Saturday 1 February 2014

Webdriver Introduction



·         What is Web driver?
 The primary new feature in Selenium 2.0 is the integration of the WebDriver  API. Web Driver is designed to providing an simpler, more concise programming interface along with addressing some limitations in the Selenium-RC API. Selenium-WebDriver was developed to better support dynamic web pages where elements of a page may change without the page itself being reloaded. WebDriver’s goal is to supply a well-designed object-oriented API that provides improved support for modern advanced web-app testing problems

·         Difference between Web Driver and Selenium RC
Selenium-WebDriver makes direct calls to the browser using each browser’s native support for automation,this is quite different from what you are used to. Selenium-RC worked the same way for each supported browser. It ‘injected’ JavaScript functions into the browser when the browser was loaded and then used its JavaScript to drive the AUT within the browser. WebDriver does not use this technique. Again, it drives the browser directly using the browser’s built in support for automation.
·         

No comments:

Post a Comment