Selenium Components


Selenium Components / Selenium's Tool Suite

1) Selenium IDE (Integrated Development Environment)
2) Selenium RC (Remote Control)
3) Selenium WebDriver
4) Selenium Grid

1) Selenium IDE 

It is a Firefox Browser Add on, used to practice as well as execute Test Cases

Selenium IDE Features:

> Create Test Cases as well as Test Suites.
(We tin Record Test Cases, or Type Test Steps using Element Locators as well as Selenese Commands/Selenium IDE Commands)

> Edit Test Cases

> Execute Test Cases as well as Test Suites

> Debug Test Cases.

> Enhance Test Cases

> Export Test Cases to other formats (Java, Ruby etc...)

Note: Selenium IDE Test representative default format .html
----------------------------------------------------------
Drawbacks of Selenium IDE:

> It industrial plant alone on Firefox Browser, doesn't back upwards other Browsers.

> It doesn't back upwards whatever Programming, as well as thus nosotros can't role Programming logic to heighten Test cases.

> It doesn't back upwards Data driven Testing.

> It is non suitable for Complex Test representative design.

> No centralized maintenance of Elements/Objects.
------------------------------------------------------------
2) Selenium RC (* Out dated)
--------------------------------------------------
3) Selenium WebDriver

> It is a Programming Interface to practice as well as execute Test Cases.
---------------------------------------------
Selenium IDE has IDE only, but no programming Interface

Selenium WebDriver has programming interface only, but no IDE.
---------------
UFT / QTP has both IDE likewise every bit Programming Interface
--------------------------
> Selenium WebDriver supports diverse programming environments to write programs (Test scripts).

Java

C#

Python

Perl

Ruby

PHP

> Selenium WebDriver supports diverse Browsers

Mozilla Firefox

Google Chrome

IE

Safari

Opera etc...

> Selenium WebDriver supports diverse Operating Environments

MS Windows

Linux

Macintosh etc...
--------------------------------------------------------------
Using Element Locators as well as WebDriver commands / methods nosotros tin practice Test Cases

Element/ Object Locator/Property value

Button id next

Edit box name Email
--------------------------------------------------------------
Dog height 30
color white
-----------------------------------------------------
Element Locator - To set or recognize the Element

WebDriver Command/Method - To perform Operation on the Element

Element Operation
--------------------------
Edit box Entering a value
Button Click/Submit
Link Click
Check box Select/Unselect
Drop downward box select an item
-------------------------------------------
Drawbacks of Selenium WebDriver

> Selenium WebDriver has no IDE, as well as thus Creating Test cases is hard as well as takes to a greater extent than time.

> No built-in Result Reporting facility.

> It doesn't conduct keep an integreated spread canvas for Data related(Ex: Data driven testing) operations
----------------------------------------------------------------------------------
4 Selenium Grid

Selenium Grid for Parallel Test execution, No Test Design inwards Selenium Grid.

> Selenium Grid executes Test Cases across multiple browsers, operating environments as well as machines inwards parallel.

> Selenium Grid 2.0 supports Selenium RC Test Cases as well as Selenium WebDriver Test Cases.
--------------------------------------------------------
Focus on:

Test Automation using Selenium

i) Selenium WebDriver 

(To practice as well as execute Test Cases using Element Locators as well as WebDriver Commands/Methods)

ii) Java Programming

(To Enhance Test cases - Inserting verification points, Parameterization, Synchronization, fault Handling, Adding Comments etc...)

iii) TestNG Testing Framework
(Grouping Test cases,
Executing Test batches,
Generate Test Reports,
Parallel Test execution, Data driven Testing etc...)
----------------------------------------------------------------
Parallel Test execution using Selenium Grid (Multiple Machines)

Parallel Test execution using Selenium WebDriver + TestNG  (Single Machine)
-----------------------------------------------------------------------------------

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