Display results as :

Rechercher Advanced Search

Latest topics

Advantage of web driver with selenium.

View previous topic View next topic Go down

Advantage of web driver with selenium.

Post by Adviser on Sat Dec 11, 2010 11:55 am

Advantage of web driver with selenium.

PLEASE NOTE: Selenium 2.0 is currently under development. The WebDriver integration is currently undergoing testing. We encourage advanced Selenium users to try it out. Users new to Selenium, should wait until Selenium 2.0 is officially released.

What is WebDriver?

WebDriver uses a different underlying framework from Selenium’s javascript Selenium-Core. It also provides an alternative API with functionality not supported in Selenium-RC. WebDriver does not depend on a javascript core embedded within the browser, therefore it is able to avoid some long-running Selenium limitations.

WebDriver’s goal is to provide an API that establishes

* A well-designed standard programming interface for web-app testing.
* Improved consistency between browsers.
* Additional functionality addressing testing problems not well-supported in Selenium 1.0.

The Selenium developers strive to continuously improve Selenium. Integrating WebDriver is another step in that process. The developers of Selenium and of WebDriver felt they could make significant gains for the Open Source test automation community be combining forces and merging their ideas and technologies. Integrating WebDriver into Selenium is the current result of those efforts.

When to Use WebDriver?

One should use WebDriver when requiring improved support for

* Mult-browser testing including improved functionality for browsers not well-supported by Selenium-1.0.
* Handling multiple frames, multiple browser windows, popups, and alerts.
* Page navigation.
* Drag-and-drop.
* AJAX-based UI elements.


Posts : 379
Join date : 2009-07-30
Location : India

Back to top Go down

Re: Advantage of web driver with selenium.

Post by ashish_techie on Tue Aug 09, 2011 1:01 pm

WebDriver has got a lot of advantages:

1) Support for iPhone and Android testing
2) Implementation of listeners - a much awaited feature
3) Better features for Ajax testing.
4) You can easily simulate clicking on front and back button of browser.
5) You can extract objects in bulk like QTP. For ex - extract all links of page. With RC this was a big hastle
6) Unlike RC you dont have to start a server in webdriver.
7) You can simulate movement of a mouse using selenium.
8 ) Tabs and pops are more or less the same. RC can also handle and Webdriver can also handle.
9) You can find coordinates of any object using Webdriver.
10) You have classes in Webdriver which help you to simulate key press events of keyboard.
10) Keywod driven framework is very easy to build in webdriver.


For selenium training visit my site:


Posts : 73
Join date : 2011-08-09

Back to top Go down

View previous topic View next topic Back to top

- Similar topics

Permissions in this forum:
You cannot reply to topics in this forum