Skip to main content

Selenium Foundation Program - Introduction to Selenium

Introduction to Selenium

What is Selenium Tool?

Selenium is a free (open-source) automated testing suite for web applications across different browsers and platforms. It is quite similar to HP Quick Test Pro (QTP) / HP Unified Functional Test (UFT) only that Selenium focuses on automating web-based applications.

Selenium is not just a single tool; Selenium is a suite of software's, each component has its own advantages and disadvantages.

Click here to know more about Selenium birth picture & Selenium components.

What are the features of selenium automation tool?

Ø Selenium is Free and open-source tool.
Ø Automation of AJAX/CSS applications is easy.
Ø Good cross browser testing tool.
Ø Contains record and playback ( Selenium-IDE) facility.
Ø Best for GUI-intelligent field selection (uses IDs, names, or X-Paths as needed).
Ø Auto-complete feature available in IDE for all common commands.
Ø User-friendly features for debugging and setting breakpoints.
Ø Supports multiple programming languages; can save tests as HTML, Ruby scripts etc…
Ø Support for Selenium user-extension .js files for explicitly looping add-ons.
Ø Option to automatically assert the title of every page.
Ø Mimics actual user experience.
Ø Continuous integration:
      - Runs Selenium tests as part of the build.
      - Can generate HTML reports and publish them to the entire team.
      - Helps catch bugs ASAP.
Ø Large user community.

What are the main difference between selenium and other automation tools currently available in market?































What are the different components of Selenium suite?

Selenium is not just a single tool; Selenium is a suite of software's, each tool has its own advantages and disadvantages. Selenium suit has four components:-
Ø Selenium Integrated Development Environment (IDE)
Ø Selenium Remote Control (RC)
Ø Selenium Web-Driver
Ø Selenium Grid

Selenium Automation Tool Components


Note-1 : Selenium RC and Selenium Web-Driver are merged into a single framework to form Selenium 2.
Note-2 : Selenium RC is referred as Selenium 1.

What is Selenium-IDE?

Selenium Integrated-Development Environment (IDE) is one of the simplest framework in the Selenium suite and very easy to get start in automation. Selenium IDE is a Firefox plug-in that you can quickly install and work with. However, because of its simplicity, Selenium IDE should only be used as a prototyping tool. If you want to create more advanced test cases, you will need to use either Selenium RC or Selenium Web-Driver.

Selenium-IDE Automation



What is Selenium Remote Control (RC)?

Selenium RC was the flagship testing framework of the whole Selenium project for a long time. This is the first automated web testing tool that allowed users to use a programming language they prefer.

As of version 2.25.0, RC can support the following programming languages: Java, C#, PHP, Python, Perl & Ruby

Selenium-RC-automation


What is Selenium Web-Driver?

The Web-Driver dominates other selenium tools like Selenium IDE and Selenium RC in many aspects and because of it stable approach in automating the browser actions. Web-Driver does not depend on Java-Script for automation like Selenium-RC. It controls the web browser elements by directly communicating.

The supported languages are the same as those in Selenium RC: Java, C#, PHP, Python, Perl and Ruby.

Selenium-Web-Driver-automation


What is Selenium Grid?

Selenium Grid is a tool used together with Selenium RC to run parallel tests across different machines and different browsers all at the same time. Parallel execution means running multiple tests at once.

Features:
Ø Parallel test execution
Ø Supports multiple browsers and environments simultaneously
Ø Saves time enormously
Ø Utilizes the hub-and-nodes concept
[ The hub acts as a central source of Selenium commands to each node connected to it ]



Comments

Popular posts from this blog

Step By Step Selenium IDE Concepts

§   Selenium IDE Introduction §   Selenium IDE Installation §   Fire-Bug for Selenium IDE §   Features of Selenium IDE §   Drawbacks of Selenium IDE §   IDE Menu Overview §   IDE Options Overview §   IDE Tools Overview §   Overview of Test Case Pane §   Overview of Log Pane §   Overview of Reference Pane §   How to create first IDE script §   Editing the existing IDE Script §   Understanding Selenium UI-Element §   Understanding Locators §   Understanding Verification §   Exporting IDE script §   Exporting IDE to Web-Driver

Selenium Foundation Program - How to configure Selenium-IDE in Firefox

How to install Selenium-IDE? - Step-1: Firefox installation                 Navigate to: https://www.mozilla.org/en-US/firefox/new/                 Click “ Download ” button                 Install the downloaded .exe file                 Click finish to launch the Firefox browser - Step-2: Install Selenium-IDE in Firefox browser                 Launch Firefox browser                 Navigate to http://www.seleniumhq.org/download/                 Scroll down until you reach the “ Selenium IDE ” section (Click on hyperlink)                 Click on the “Allow” button to proceed with the installation. ...

Selenium Foundation Program - Introduction to Automation Testing

What is automation testing? Automated testing tools are capable of executing tests, reporting outcomes and comparing results with earlier test runs. Tests carried out with these tools can be run repeatedly, at any time of day. The method or process being used to implement automation is called a test automation framework. What is the difference between manual testing and automation testing? Automation Testing Manual Testing Automation testing perform the same operation each time Manual testing is not reliable. Using this method test execution is not accurate all the time. Automation testing is very much helpful regressions in testing where code changes frequently. To execute ...