Professional Documents
Culture Documents
GC Reddy Sir 1 Java
GC Reddy Sir 1 Java
GC Reddy Sir 1 Java
------------------------------------------------------
i) What is Selenium?
ii) History of the Selenium Project
iii) Selenium Components / Selenium's Tools suite
a) Selenium IDE
b) Selenium RC
c) Selenium WebDriver
d) Selenium Grid
iv) Platforms supported by Selenium
v) Selenium License
vi) Advantages of Selenium
vii) Disadvantages of Selenium
viii) Testing Frameworks and other tools used in Selenium
ix) Selenium vs. UFT/QTP
x) Selenium Environment Setup
------------------------------------------------------
Introduction to Software Testing,
1) Manual Testing
2) Automated Testing / Test Automation
Note: In System Testing Level, we are going to conduct Functional Testing using
Selenium,
------------------------------------------------------
i) What is Selenium?
------------------------------------------------------
> Selenium is mainly used for Functional & Regression Testing.
(We have different types of Test Automation or Automated Testing, ex: Functional
Test Automation, Performance Test Automation, and Test Management etc..., Our
Selenium is used for Functional Test Automation and Other Test Tools in this
category are UFT / QTP, RFT, SilkTest, Test Complete, Test Partner etc...)
(Open Source means, Source code available on Internet and anybody can download &
use with free of cost. Selenium can automate Web based Applications only, it
doesn't automate Desktop or Windows based Applications, where as UFT (other tool
in this category) can automate desktop and Web Applications.)
(Suppose our AUT (Application Under Test installed on Windows then we use Selenium
for Functional Test Automation, Our Software Application installed on Linux
operating environment then we can use Selenium, Our Software Application deployed
on Macintosh then we can use Selenium for Automation. UFT formerly QTP supports
Windows operating environment only.)
MS Windows,
Linux,
Macintosh etc...
> Selenium supports various Browsers to create and execute Tests/Test Cases/Test
Scripts
We can use various browsers to launch our Web Application, and Selenium supports
various browsers for Test Automation, Test Steps in Test Cases are common for all
browsers, and browser driver only various from one browser to another.)
Mozilla Firefox
Google Chrome
Internet Explorer /MS Edge
Opera
Safari etc...
> Selenium supports various programming languages to write programs (Test Scripts)
Java,
Python
C#.Net
Perl
Ruby
PHP
Note:
i) Selenium IDE doesn't support any programming to write Test cases.
ii) Selenium IDE supports Firefox Browser only to create Test Cases.
iii) Selenium Grid is only for Test execution.
iv) Selenium RC is out dated, and removed from the Selenium latest version.
------------------------------------------------------
ii) History of the Selenium Project
------------------------------------------------------
> Selenium was launched in 2004,
> In 2006, Selenium WebDriver was launched at Google,
> In 2008, the whole Selenium Team decided to merge Selenium WebDriver with
Selenium RC in order to form a powerful tool called selenium 2.0
Selenium 1.0
(Selenium IDE + Selenium RC + Selenium Grid)
Selenium 1.0 + Selenium WebDriver = Selenium 2.0
Selenium 2.0
(Selenium IDE + Selenium RC + Selenium WebDriver + Selenium Grid)
(Less feature enhancements and More new product environments in Selenium 3.0, in
Selenium 2.0 default browser is Mozilla Firefox, but no default browser in
Selenium 3.0. Selenium IDE doesn't support Mozilla Firefox browser only, and
Selenium WebDriver supports various browsers to create and execute test cases.)
------------------------------------------------------
iii) Selenium Components / Selenium's Tools Suite
------------------------------------------------------
(Selenium RC was removed from Selenium 3.0 (latest version of Selenium)
Selenium IDE
Selenium WebDriver
Selenium Grid
Features:
> Selenium WebDriver is a powerful tool in this suite of Tools (Selenium)
> Selenium WebDriver doesn't have IDE, but having programming Interface only.
> Selenium WebDriver supports Data Driven Testing, Batch Testing, Cross Browser
Testing and Database Testing.
----------------------------------------
Drawbacks of Selenium WebDriver:
> Selenium WebDriver has no IDE, so it takes more time and efforts to create Test
Cases.
> No Built-in Object Repository
> No built Result Report facility
> No other Test Tool Integration for Test Management
> Difficult to configure Selenium WebDriver when it compares to other Test Tools
---------------------------------------------
d) Selenium Grid
Selenium Grid is not for Test Case Design, only for Test Execution,
> Selenium Grid supports Parallel Testing (It can execute Test Cases against
different browsers and machines/computers in Parallel)
-----------------------------------------------