Skip to main content

Components of Selenium - Tutorial 2 - Series of Selenium Tutorial

Components of Selenium – Before entering into the tutorial I like to welcome you all to this second post in the series of Selenium tutorials.

 I hope you all had read the first post which describes about the Basics of Selenium.

Lets Begin,

What are Selenium Components ??

As we all already discussed about  What is selenium? And Who named it as selenium?  Here let me straightly move to the components of Selenium,
Selenium a portable Software Testing Framework is composed of several components, Each of that component takes a specific role in functioning the complete web application test automation.

They are,
  • ·        Selenium IDE
  • ·       Selenium Client API
  • ·       Selenium Remote Control
  • ·       Selenium WebDriver
  • ·       Selenium Grid

The Description:

Selenium IDE:

Selenium IDE – where the IDE stands for Integrated Selenium Environment designed for Selenium Tests. It is just an firefox add-on which is used to record, edit and also debug the tests.  

Selenium Client API:

Selenium Client APIas already mentioned in previous Selenium tutorial, Selenium supports tests written in various programming languages.
Selenium Client API is the one which provides the facility to do that and the current features available are Java, CPI, Ruby, C#, JavaScript and Python.

Selenium Remote Control:
Selenium RC- It is a server which is written in Java that is used to accept command for the browser through HTTP. It also helps to write automated tests particularly for web applications in any programming languages.   

This Selenium RC instance is particularly used to launch test cases in test cases in HTML. Where as Java and PHP Test cases needs only one Selenium RC.

Selenium WebDriver:
Selenium WebDriver – It was launched before Selenium RC, the specific function for Selenium WebDriver is accepting the command and send it to the browser. This process is implemented by using a Selenium browser driver.

Selenium Grid:

Selenium Grid – with Selenium Grid one server can act as a hub. SG is a server which allows the tests to run in remote machines. Also using this the tests can run parallel in multiple machines at a single time, and also can run in different browser versions.

These are the important Components of  Selenium which very software testers must know. Make use of it.

Meet you all with another important topic in Selenium Testing.



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

•        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?
•        What is Selenium? •        Advantages of Selenium
•        IDE Overview •        RC Overview •        Selenium-Grid •        Selenium Web Driver/Selenium 3.0
•        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 •        …

Choosing Software Testing as a Career -- Complete Guide

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 …