Wednesday 12 March 2014

What is Selenium?

Selenium is one of the most popular open-source automated testing Tools available today.

Selenium automates web applications for testing purposes, but is certainly not limited to just that.

Introducing Selenium:
Selenium is not a single tool, instead it is a set of different tools each with a different approach to support test automation. Learning all the tools will give you different options for approaching different test automation problems. These tools when used together give many options for locating the UI elements and comparing expected test results against actual application behavior. The following are the four tools that comprise the Selenium's Tools Suite:
Selenium IDE - is a Firefox Plug-in which provides an easy-to-use interface for developing automated tests. Selenium IDE has a recording feature, which records user actions as they are performed and then exports them as a reusable script in one of many programming languages that can be executed later.
Selenium 1 (or Selenium RC) - was the main Selenium project for a long time (i.e. Currently Selenium 2 is the main project). Selenium 2 still runs Selenium 1's Selenium RC interface for backwards compatibility. Selenium 1 has support for almost all browsers. Selenium 1 has support for several languages like Java, C#, Ruby, Python, Pearl, JavaScript and PHP.
Selenium 2 (or Selenium WebDriver) - is the main Selenium Project now. This brand new automation tool provides all sorts of awesome features, including a more cohesive and object oriented API as well as answer to all limitations of the old implementations in Selenium 1. Selenium 2 tool is formed on merging Selenium 1 and WebDriver. Both the Selenium 1 and WebDriver Developers agreed that both tools have advantages and that merging both the tools would make a more robust automation tool. As they decided that after merging both the tools WebDriver will addresses some shortcoming in the selenium tools (i.e. To get a gorgeous API which is missing in Selenium 1) and Selenium 1 will addresses some shortcomings in the WebDriver (i.e. To support for broader range of Browsers) and finally after merging they have offered users the best possible framework.
Selenium-Grid - allows you to run your tests in parallel, that is, different tests can be run at the same time on different remote machines.

Few Good things about the Selenium Automation Tools:

1. Selenium is an open source tool i.e. Unlike the proprietary tools its available free of cost.
2. This is the best tool available in the market for web application testing
3. Its extensible and flexibility, along with its tight integration with the browser, is unmatched by available proprietary tools.
4. Selenium is possibly the most widely used open source solution.
5. One of the selenium's key features is the support for executing one's tests on multiple browser platforms like Internet Explorer, Firefox, Google Chrome, Opera, Safari etc.
6. Selenium allows you to control a browser from a language of your choice. (i.e.; we can write automation tests in the language of our choice i.e. Java, C#, Ruby, Python etc
7. Selenium is available for Operating Systems such as Windows, Linux and Mac
8. Selenium can be used for functional, compatibility, regression testing and User Acceptance Testing (Mainly used for Regression Testing).
  • Functional Testing refers to the test that verifies a specific action of the software
  • Compatibility Testing is a performed to verify whether a software is compatible with all other supported software and hardware
  • Regression Testing is the repetition of the earlier successful tests in order to make sure that  the changes to the software has not introduced any side effects.
  • User Acceptance Testing is testing an application prior to customer delivery for functionality and usability using real world scenarios which resemble how the application will be used by the end users.
Drawbacks of using Selenium Automation Tools:

Selenium is a browser based testing tool. It can’t be used for automating the desktop applications. (i.e.; it can be used only for automating the web based applications)
Zameer Ahmad

3 comments:

  1. You made some good points there. I did a Google search about the topic and found most people will believe your blog.
    A cool blog post there mate . Thanks for it !
    Man the spam here will drive me crazy! Get rid of it!
    Ro water purifier
    UF water purifier
    Hydrogen water bottle

    ReplyDelete
  2. This is really some awesome advice. Keep it up, my colleagues would love this.
    This really is such a wonderful resource that youre offering and you give it away for free. I take pleasure in seeing sites that realize the worth of delivering a prime resource for no cost. I really loved reading your post. Thanks!
    Thanks for sharing, I like this blog!
    obst und gemüsereiniger

    ReplyDelete
  3. indian lifestyle
    When I open up your RSS feed it gives me a bunch of garbled text, is the malfunction on my side?
    e, bye!
    negative ion generator reviews consumer reports
    air purifier made in germany
    meat purifier

    ReplyDelete