Selenium Introduction

Click to rate this post!
[Total: 0 Average: 0]

What is selenium?

Selenium is a record and playback open source IDE. This tools of suite are beneficial in automating the web application. This selenium is not a single tool but a set of tools that helps testers to automate web applications more effectively. This is used to generate integrated scripts. Moreover, this tool is integrated with the Firefox web browser extension. Besides this popular web-based UI tool can extract any kind of locator from the web page. And the locators in selenium can be either attribute based (or) structure based. This includes ID, name, links, X path, CBS  as well as DOM.

The interesting feature of this IDE is, it has the entire selenium core and allows the users to record, playback, edit and debug the tests manually in the browser. Besides we can easily record all web page user actions. And the testers can easily export this to popular languages like JAVA, C++, Python and Ruby

As said above, this selenium contains suite tools. Let us have a look over those.

Selenium IDE:

This is a Firefox plugin that let users record their actions. Besides this IDE follows the workflow to they need to test. Even though we create the scripts through Selenium IDE,  we need to use Selenium Web driver and Selenium RC.  The below diagram shows IDE usage

 Selenium Introduction

Selenium RC:

This solves the limitations of the Selenium IDE. This supports various languages like JAVA, PHP, python as well as Ruby. Prior to the selenium web driver, it is the main selenium project for a long time. This allows you to write automated web applications. Against HTTP,  testing is done using JavaScript enabled browser. The selenium RC usually consists of two parts like Sever and the client.  But with Selenium V3, RC was deprecated and moved to the legacy package. The Selenium RC – architecture is shown below

Selenium Introduction

Selenium Web driver:

In version 2.0 selenium web driver is introduced. Whereas version V1.0 consists of IDE, RC, and Grid.  This is the successor of Selenium RC.  This has a simple architecture. This sends the commands directly to the browser and sends the results. When compared to Selenium RC, Selenium Web driver is fast. This is because it interacts directly with the browser and there is no involvement of an external proxy server Besides this allows writing of the test scripts in different programming like Java, Perl, Python, Php, Ruby as well as C#.

Click the link to know more on What is selenium Webdriver

Note :

Mozilla Firefox is the selenium default web browser.

Selenium Grid :

This tool is used together with Selenium RC to run a parallel test across different browsers. i.e it can run multiple tests at the same time against different machines through different browsers and operating systems.

selenium Features:

It offers unlimited iteration for test case execution

Provides complete support for fast-paced and agile methodologies

Comprehensive document for test cases

We can easily download the defect reports

Selenium Advantages:

Selenium is an open source, free and easy to learn

It can easily record and playback

Selenium supports multi-operating and multi-browser  systems

Script once and run on multiple browsers.

Before the Selenium, people use QTP. Now let us have a look over the differences between Selenium and QTP.

Selenium QTP
Selenium is an open source tool It is a commercial tool and there is a cost involved in each of the licenses
It can be extended for various technologies that extend DOM QTP as limited add-ons and needs add- on for each technology
It has capabilities to execute scripts across different browsers This works only on windows
It mobile devices It supports mobile devices with the help of third-party tools
With the support of the grid, it can execute the tests in parallel QTP alone cannot  execute the test in parallel, however, integrating QTP with QC allows the tester to execute in parallel

Subscribe
to our newsletter

Drop Us A Query

Trending Courses
  • Selenium with python
    Selenium with Python Training
  • As we know, that Selenium with Python Web Browser Selenium Automation is Gaining Popularity Day by Day. So many Frameworks and Tools Have arisen to get Services to Developers.

  • machine learning with python
    Machine Learning with Python Training
  • Over last few years, Big Data and analysis have come up, with Exponential and modified Direction of Business. That operate Python, emerged with a fast and strong Contender for going with Predictive Analysis.

  • Data science with R
    Data Science With R Training
  • Understanding and using Linear, non-linear regression Models and Classifying techniques for stats analysis. Hypothesis testing sample methods, to get business decisions.

  • data science with python
    Data Science with Python Training
  • Everyone starts Somewhere, first you learn basics of Every Scripting concept. Here you need complete Introduction to Data Science python libraries Concepts.

  • devops with azure
    Devops with Azure Training
  • As we Know Azure DevOps is a Bunch of Services, in guiding Developers. It contains CI/CD, pipelines, code Repositories, Visual Reporting Tools and more code management with version control.

  • python training
    Python Certification Training
  • Python is a dynamic interrupted language which is used in wide varieties of applications. It is very interactive object oriented and high-level programming language.


100% Secure Payments. All major credit & debit cards accepted.

Call Now Button