Selenium Introduction


Introduction to Selenium

1) Selenium is a suite of Software tools to automate Web Browsers.

Selenium is non a unmarried tool similar UFT /QTP or RFT or SilkTest, it is a gear upwardly of tools, but nosotros no require to piece of job all Selenium tools for whatsoever project. We chn guide 1 or 2 Selenium tools for our projects, fifty-fifty unmarried Seleniumtool also enouf for a projection exam automation.

Example: Using Selenium WebDriver only, nosotros tin automate whatsoever spider web application.

Selenium's Tool Suite:
 

Selenium IDE (Integrated Development Environment, Supports Test Design in addition to Test Execution)
 

Selenium RC (Remote Control, supports Test Design in addition to Test Execution)
 

Selenium WebDriver (Supports Test Design in addition to Test Execution)
 

Selenium Grid (Its solely for Parallel Test Execution, doesn't back upwardly Test Design)

Selenium Automates Browsers,

Selenium Supports solely Web based Computer Software Applications in addition to Mobile Software Applications which are having spider web forms.

Selenium doesn't back upwardly Desktop Applications, where every bit UFT/QTP supports Desktop in addition to Web Applications.
-----------------------------------------------
2) It is an Open rootage suite of tools mainly used for Functional in addition to Regression Test Automation.

Selenium is Open source, no license cost. Anybody tin download in addition to piece of job unlimited fourth dimension amongst gratis of cost.
-----------------------------------------------
3) Selenium supports diverse Operating environments.

    MS Windows

    Linux

    Macintosh etc...

Note: UFT / QTP Supports MS Windows operating environs only.
-----------------------------------------------
4) Selenium supports diverse Browsers.

    Mozilla Firefox

    Internet Explorer

    Google Chrome

    Safari

    Opera etc...

Note 1: Test Cases are same for all Browsers, Browser driver solely diverse from 1 driver to another, if yous desire execute exam cases using Google Chrome Browser in addition to thus nosotros convey to practice & piece of job Chrome Browser driver, desire to execute Test Cases using Mozilla Firefox browser in addition to thus practice Firefox driver, if yous desire IE in addition to thus practice IE Browser driver.

Note 2: Selenium IDE supports Mozilla Firefox only.
-----------------------------------------------
5) Selenium supports diverse programming environments to write programs (Test scripts).

    Java

    C#

    Python

    Perl

    Ruby

    PHP

We tin piece of job whatsoever 1 of the Programming Languages to heighten Test cases, virtually of the Selenium Testers (nearly 77%) using Java. UFT/QTP supports VBScript only.

Note: Selenium IDE (One of the tool of Selenium's Tool Suite) doesn't back upwardly whatsoever programming.
-----------------------------------------------
6) Selenium supports diverse Testing Frameworks to grouping Test Cases, Prioritize Test Cases, Execute Test batches in addition to generate Test Reports.

Example:

Java - JUnit, TestNG
(If nosotros piece of job Java amongst Selenium in addition to thus JUnit or TestNG are the supporting Testing Frameworks, nosotros tin guide whatsoever 1 the Frameworks)

C# -  NUnit
(If nosotros piece of job C# programming inwards Selenium in addition to thus nosotros convey to piece of job NUnit Testing Framework.)

PHP - Behat + Mink

Ruby - Rspec

Python - PyUnit
----------------------------------------------------------------------

Focus on:

i) Selenium WebDriver - To recognize / position Elements/object in addition to perform operations on Elements

ii) Java Programming - To Enhance Test Cases

iii) TestNG Testing Framework - To Group Test Cases, Execute Test batches in addition to generate Test Reports etc...
-------------------------------------------------------

Sumber http://www.gcreddy.com/
Post a Comment (0)
Previous Post Next Post