Mobile, SQT Training , Selenium Training Noida (Delhi NCR)

SQT

Selenium Overview:

Selenium is one of the most popular automated testing suites. Selenium is designed in a way to support and encourage automation testing of functional aspects of web based applications and a wide range of browsers and platforms. Due to its existence in the open source community, it has become one of the most accepted tools amongst the testing professionals.

Features of selenium:
  • It's open source
  • have a large user base and helping communities
  • have multi browser and platform compatibility
  • has active repository developments
  • supports multiple language implementations
Selenium supports a broad range of browsers, technologies and platforms.


Selenium Components

Selenium is not just a single tool or a utility, rather a package of several testing tools and for the same reason it is referred to as a Suite. Each of these tools is designed to cater different testing and test environment requirements.


The suite package constitutes of the following sets of tools:
  • Selenium Integrated Development Environment (IDE)
  • Selenium Remote Control (RC)
  • Selenium WebDriver
  • Selenium Grid

Selenium RC and WebDriver, in a combination are popularly known as Selenium 2. Selenium RC alone is also referred as Selenium 1.




Brief Introduction to Selenium tools

Selenium Core

Selenium is a result of continuous efforts by an engineer at Thought Works, named as Jason Huggins. he built a JavaScript program, named as “JavaScriptTestRunner” in early 2004 that could automatically control the browser’s actions which seemed very much similar to that of a user communicating with the browser. The tool was later on acclaimed with the name “Selenium Core”.


Selenium IDE (Selenium Integrated Development Environment)

Selenium IDE is the simplest and easiest of all the tools within the Selenium Package. Its record and playback feature makes it exceptionally easy to learn with minimal acquaintances to any programming language. With several advantages, a few disadvantages accompanied Selenium IDE, thus making it inappropriate to be used in cases of more advanced test scripts.




Selenium RC (Selenium Remote Control)

Selenium RC is a tool which is written in java that allows a user to construct test scripts for a web based application in which ever programming language he/she chooses. Selenium RC came as result to overcome various disadvantages incurred by Selenium IDE or Core. Loopholes and restrictions which were imposed while using Selenium Core made it difficult for the user to leverage the benefits of the tool to its totality. Thus it made the testing process a cumbersome and a far reaching task.


One of the crucial restrictions was same origin policy.

Problem of same origin policy:

The problem of same origin policy disallows to access the DOM of a document from an origin that is different from the origin we are trying to access the document.




Selenium RC comes in two parts.
  • A server which automatically launches and kills browsers, and acts as a HTTP proxy for web requests from them.
  • Client libraries for your favorite computer language.
Here is a simplified architectural representation.



Advantages and disadvantages of selenium RC:

Coming on to the advantages and disadvantages of selenium RC, refer the following figure.



Selenium WebDriver:

WebDriver is clean and a purely object oriented framework. It utilizes the browser’s native compatibility to automation without using any peripheral entity. With the increasing demand it has gained a large popularity and user base.




Advantages and disadvantages of Selenium WebDriver:


Supported Browsers


Supported Programming Languages


Supported Operating Systems


Supported Testing Frameworks


Running a sample test case:


Result of Test Case:


Testing

Code Subject Duration Content Level
TF001 QTP Training 1.5 Months
EP002 Android Testing Monkeytalk 1.5 Months
TF003 Expert Training Program 2.5 Months
TF004 Expert Training Program (Selenium 2.0) 2.5 Months
Gif images corporateimg
@2008 Miracle Technology. All Right Reserved.