Selenium Introduction

selenium introduction tutorials


software applications are write  as web-based applications to run in Internet browser.
The effectiveness of testing these applications varies among companies and organizations.
Test automation is become a need for software projects. This user’s guide introduces
Selenium, teaches its features, and present used best practices accumulated from the Selenium
Community.


What Is Selenium?


Selenium automates browsers. It is uses to automate the web applications for testing purpose. This
Testing purpose is not limit to that. Repetitive web-based administration tasks can also be
Automated as well.
Selenium will give to some largest browser vendors. And who will take steps to make Selenium a native
Part of their browser. Selenium is also the core technology more than other browser animation tools.


Now we see what about selenium:

Selenium is a small software-testing framework for web applications. Selenium provides a record/
Playback tool to allow tests without need to learn a test scripting language. Selenium also provides
A test domain-specific language (Selenium) to write tests in famous programming languages. Selenium to
continue Java, Perl, PHP, Python, Ruby.  The tests are able to run against most modern web browsers.
Selenium deploys on Windows, Linux, and OS X platforms. It is open-source software, released under
the Apache 2.0 license.


Parts in Selenium (Software): We have five in selenium software. Those are following below.


                           
                              1. Selenium IDE (integrated development environment).

                              2. Selenium client API (Application program interface).

                              3. Selenium Remote Control

                              4. Selenium Web Driver.

                              5. Selenium Grid.



If you want

                         . Create tough, browser-based regression automation suites and tests

                         . Scale and distribute scripts across many environments.

They use "Selenium Web Driver" collect language specific bindings for drive a browser.
'Selenium Web Driver' is the follower of 'Selenium Remote control'. The Selenium used by both Web Driver
and Remote Control. Now also includes built in grid capabilities.


If you want
                         . Create quick fault reproduction scripts.

                         . Create scripts to aid in automation-helps exploratory testing.

 They use "Selenium IDE”. Add Firefox on that will do simple record-and-playback of interactions with     the browser.

Selenium client ADI ((Application program interface) :
We have another way to write tests in selenium. Tests can also write in different programming languages. These tests
can communicate with Selenium by known methods in Selenium client API. It provides client API's for Java, JavaScript,
Ruby, and Python.New client API was introducing (with Web Driver as its central component) With Selenium 2. The old
API (using class Selenium) is still supported.


Selenium Grid:


Selenium Grid is a server. It allows tests to use web browser instances running on remote machines. One server act as
the hub with the help of Selenium grid. The hub has number of servers to browse instance. It allows tests in parallel
on many machines, to manage different browser versions. The browser configurations (instead of in each individual test).
The capability to run tests on remote browser. Instances are useful to spread the load of tests across several machines,
and to run tests in browsers. And running on different platforms systems.


Advantages:


If we are generally discuss about Selenium and both its flavors. Selenium Web Driver and Selenium IDE. Both are automate
browsers in support of web application tests. If we create browser based regression then we use Web Driver. Whereas
Selenium IDE is most helpful in creates unit tests exploratory tests.

Share this

Related Posts

Previous
Next Post »