Skip to main content

Selenium Web Driver vs Selenium RC - Important differences need to know



One of the important question which hits mostly everyone in testing field. But guys be ready this is gonna be a kicker! This is not an official page which splits the page into two to show the difference between them instead let’s have a detailed study.

The best part is here;

The remaining part of the article will clear all your doubts between Selenium Web Driver and Selenium RC.

Where the difference lies?

There are many differences between these two, but the major difference lies in their architecture.
How they both interacting with the browser is the main factor here,

I hope you checked my previous tutorial about Selenium Web Driver, If not please click the link here Selenium Web Driver Architecture!!

Here’s is the point;

SeleniumWebDriver interacts with the browser directly. It doesn’t require any server to communicate with the browser instead it uses the browser’s native support for automation.

Ex:
For running a test in Firefox it will directly uses Firefox drive to automate the test!!!

It gets better;

Because of this it provides the interaction with the browser than Selenium RC. Also regarding APIs everything is object oriented which makes the stuffs easier.

Selenium RC stands for Selenium Remote Control which connects with the browser with a help of HTTP Proxy, It also have a server which connects which is coded in Java which  acts as HTTP Proxy.

The server translate the command received over  HTTP into Javascript and ‘injected’ javascript functions into the browser when the browser was loaded and then used its javascript to drive the AUT within the browser,Not much Object Oriented.

Other 3 Important differences are explained here -> Selenium Web Driver vs Selenium RC



Comments

  1. Nice information about difference between RC and Webdriver.People willing to get the indepth knowledge in getting framework such as TestNG,jenkins,Maven and POM should get properly get selenium training in chennai and selenium training institute in chennai

    ReplyDelete

Post a Comment

Popular posts from this blog

Complete Selenium Topics to be a Professional Selenium Tester

Complete Topics in Selenium to be a Professional Tester Free PDF Below

SECTION 1: INTRODUCTION TO AUTOMATION TESTING
•        What is automation testing? •        When Automation Testing is needed? •        When Automation Testing is not needed? •        What is the use of automation testing? •        Different Automation Tools available in the Market. •        What is the difference between Selenium and QTP?
SECTION 2: INTRODUCTION TO SELENIUM
•        What is Selenium? •        Advantages of Selenium
SECTION 3: COMPONENTS IN SELENIUM
•        IDE Overview •        RC Overview •        Selenium-Grid •        Selenium Web Driver/Selenium 3.0
SECTION 4: SELENIUM IDE
•        Installing IDE •        IDE icons •        Recording your first test with IDE •        IDE Context Menu •        Assert •        Verify •        Adding IDE comments •        Synchronization commands •        Working on pages with AJAX •        Storing elements •        Creating test suites •        Tools  to identify elements/objects •        …

Good news for Software Testers

Here are some of the latest Testing and IT news from technical reporters –
IT managers consortium has agreed that software testers would no longer be blamed for a production defects. Though they are yet to find some one who they could put blame on (Johny the developer is said to be already suffering from ProductionDefectoPhobia)Consortium has also agreed on having salary of software testers on par with software developer at least by 2020. There was an unanimous decision on increasing management salary by 23% from immediate effectConsortium has barred developed from using phrase “It works locally”. Violation of this rule would attract 1 night out in office. Continuous violation would attract exponential salary deductionsComplete Topics to be a Professional Selenium TesterSelenium Concepts Speak and Automate—New era in automated testing. Voice Automation tool for web and windows application was released yesterday. This tool is capable of generating automation suites as you speak of appli…

Top 5 Selenium Webdriver Coding Tips to Improve Quality

SeleniumWebdriver is a powerful automation tool for testing web applications. It’s an open source library bundled with a rich set of features. Using it for testing a website is just like simulating the actions of a real user.
All these abilities together make it a perfect tool for automation. But you need proper guidance to get the best out of it. In this blog post, we’ve assembled some of the best and Top 5 Selenium Webdriver coding tips for software testers.




Tip-1: Best Method To Create Webdriver Instance.
It’s one of the most common Selenium Webdriver coding tips which you can’t avoid to use.
1.1- Use the <Factory> design pattern to create objects based on browser type.
1.2- Extend the below code or use it as is in your projects.
public class DriverFactory {
private WebDriver driver = null;
    public static WebDriver getBrowser(String browserType) {         if (driver == null) {             if (browserType.equals("Firefox"))
            {                 driver = new …