Monday 12 May 2014

Selenium WebDriver

Brief Introduction to Selenium WebDriver

Selenium is a Automation tool  for testing Web Applications. And using this we can automate ONLY web applications but not Windows based applications.

Selenium WebDriver is also known as Selenium 2 and used for web as well mobile applications testing. It is freeware software testing tool and mostly used as a regression testing tool for web and mobile applications.

Selenium WebDriver (also known as Selenium 2) is a browser automation framework that accepts commands (in Selenese or any other language; Java in our case) and send them to a browser. It is implemented through a browser-specific driver which sends commands to a browser and retrieves results.

Advantages of Selenium WebDriver

1. Faster - WebDriver is faster than Selenium RC since it  speaks directly to the browser uses the browser's own engine to control it.
2. Simpler than RC- WebDriver's API is simpler than Selenium RC's. It does not contain redundant and confusing commands.
3. Better features for Ajax testing.
4. Unlike RC you dont have to start a server in webdriver.
5. Support for iPhone and Android testing
6.Multi-Browser supports -Selenium supports IE, Firefox, Safari and Opera and a few more browsers. So multi-browser automation is possible with selenium.
7.Multi-OS supports-Using selenium possible to test your web application in Windows PC or MAC or UNIX platforms. selenium supports JAVA added advantage in Multiple OS.
8.Technical Support & Up-gradation-Selenium being an open source tool as no official support. the user community is small, But growing day by day. Selenium have very fast Up-gradation as compare to other functional testing tools.


Work Flow of Selenium Web Driver

 



Why Selenium WebDriver ?

1. Can develop frameworks and maintain code.
2. We can create data driver framework and parametrize the inputs.

3. It can integrate well with other support tools like ANT.
4. Any error or technical solutions can be easily found on net.

Constraints or Challenges in using Selenium WebDriver

1. Web Driver Cannot Readily Support New Browsers.
2. Difficult to run on secured sites.
3. Require strong Technical Coding Skills.
 

No comments:

Post a Comment