WebDriver And It’s Comparison With Selenium R
Web Driver is an automation tool of Software Testing, that aims to execute tests against different browsers. The programming languages supported by Web-Driver are: Java .Net PHP Python Perl Ruby
Web Driver Vs Selenium RC Features common in both Web Driver and Selenium RC are:
Both enables usage of programming language in designing test Scripts. Both allows to run tests against different browsers. So what are the differences?
The architecture Selenium Remote Control (RC) has a complicated architecture Web Driver’s architecture is simpler than Selenium RC’s. Selenium Core could access disabled elements. API differences
The browser support Web Driver can support the headless HTML Unit browser. It is termed “headless” because it is an invisible browser – it is GUI-less.
It is a very fast browser because no time is spent in waiting for page elements to load.
Selenium RC cannot support the headless HTML Unit browser. It needs a real, visible browser to operate on.
Limitations of Web Driver
Web Driver Cannot support new browsers; since Web Driver operates on the OS level and different browsers communicate with the OS in different ways. If a new browser comes out, it may have a different process of communicating with the OS as compared to other browsers. So, the Web Driver team requires some time to figure that new process before they can implement it on the next Web Driverelease.
.
Selenium RC Has Built-In Test Result Generator .
Selenium RC automatically generates an HTML file of test results whose format was Pre-Set by RC itself. Web Driver has no built-in command that automatically generates a Test Results File. One has to rely on IDE’s output window, or design the report oneself using the capabilities of programming language and store it as text, HTML, etc.
Thank You