Selenium
As I have
mentioned I am trying to explore the selenium. So I will more talk about
selenium web driver or selenium 2.0.
Other
topics like Selenium history and RC, touch and go manner!!
Let’s
start....
Selenium is an open source test automation suite used
for automating web-based applications. It supports automation across different
browsers, platforms and programming languages.
Benefits:
- Selenium
is open source, there is no licensing cost for its usage.
- Scripting
can be done in most of the widely used programming languages like Java, C#,
Ruby and Python
- It
supports most of the popular browsers like Chrome, FireFox, Internet Explorer,
Opera and Safari.
- Selenium
IDE component of Selenium suite provides record and playback feature using
which non-programmers can also write automation scripts.
- Selenium
Grid helps in parallel and distributed testing.
Limitations:
- Selenium
does not provide desktop application automation support.
- Web
Services - REST or SOAP cannot be automated using selenium.
- Selenium
webDriver requires programming language requirement for script creation.
- For
performing common tasks required in automation like logging, reading-writing to
external files we have to rely on external libraries.
Components of Selenium Suite:
Selenium
is basically suite which has multiple testing tools/Component->
Selenium IDE - Selenium IDE is an add-on of Firefox browser
that provides record and play back functionality.
Selenium RC - Selenium Remote Control (RC) is officially
deprecated by Selenium. It used to require an additional server for running the
automation scripts and had many limitations.
Selenium WebDriver - By far the most important component of
Selenium Suite. It provides different drivers for different browsers and
supports multiple programming languages.
Selenium Grid - Selenium Grid is also an important part of
Selenium Suite. It helps in distributed running of selenium tests in parallel
across multiple remote machines.
“Selenium RC and WebDriver” combined are
popularly known as Selenium 2.
Selenium RC alone is also referred to as Selenium 1.
Selenium RC and Web
driver interfaces where we can plug-in different browser drivers like the
Internet Explorer and Chrome to support cross-browser testing.
Eclipse and Selenium
IDE help us for creating automation scripts
Selenium 3
Selenium
3 is an advanced version of Selenium 2. It is a tool which is focused on
automation of mobile and web applications. Stating that it supports mobile
testing, we mean to say that the WebDriver API has been extended to address the
needs of mobile application testing.
Next,
now we move to Selenium WebDriver, Setup and script creation.
Happy
Testing!!!
Comments
Post a Comment