Selenium Forum: Functional And Regression Testing Tool.
Would you like to react to this message? Create an account in a few clicks or log in to continue.
Search
Display results as :
Advanced Search
Latest topics
AEM Training | Free Online DemoWed Apr 21, 2021 5:45 pmazharuddin
c# PageFactory - issue initializing elementsFri Nov 01, 2019 8:40 pmthegoatboy
Selenium making automatic connection to random urlsMon Jul 08, 2019 12:58 pmrepairtechsolutions1
How can we design the custom framework in Selenium RCMon Jun 24, 2019 2:26 pmrandybonnettes
What are the new features in Selenium 3.0Tue Jun 18, 2019 5:37 pmpappyvicky
What are you using Selenium for? Fri Apr 12, 2019 3:52 amzhl
LIMITATIONS OF SELENIUMWed Apr 10, 2019 11:23 amswara
Navigation
 Portal
 Index
 Memberlist
 Profile
 FAQ
 Search

Go down
Advisor
Advisor
------------------------
------------------------
Posts : 387
Join date : 2009-07-30
Location : India
https://seleniumforum.forumotion.net

Advantage of web driver with selenium. Empty Advantage of web driver with selenium.

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.

avatar
ashish_techie
Amateur
Amateur
Posts : 73
Join date : 2011-08-09

Advantage of web driver with selenium. Empty Re: Advantage of web driver with selenium.

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.

Regards
Ashish


For selenium training visit my site:
qtpselenium.com/samplevideos/selenium/seleniumvideos.php
Back to top
Permissions in this forum:
You cannot reply to topics in this forum