SlideShare a Scribd company logo
2
Most read
3
Most read
10
Most read
Introduction to
Selenium
ARCHANA KRUSHNAN
Agenda
 Introduction and History
 What is Selenium
 Components of Selenium
 Selenium RC
 Selenium WebDriver
 Selenium Grid
 Selenium IDE
 Why Selenium over other tools ?
Introduction
 Selenium automates browsers.
 Its open source- Completely Free, all you need is a system and internet.
 Selenium can be executed on multiple platforms
 can be controlled by many programming languages and testing
frameworks.
 Support provided from several other open source tools like Jenkins, ANT
etc.
 Can be integrated with several defect tracking tools.
History
 Was developed by Jason Huggins in 2004 . He was a working on a in-
house project in Thoughtworks. He started working on Selenium Core.
 Dan Fabulich and Nelson Sproul, Created Selenium RC.
 Shinya Kasatani in Japan became interested in Selenium, and realised that
he could wrap the core code into an IDE module into the Firefox browser,
and be able to record tests as well as play them back in the same plugin.
What is Selenium ?
 Selenium is a robust tool that supports rapid development of test
automation for web-based applications.
 Can simulate a user navigating through pages and then assert for specific
marks on the pages
 Open source, web-based testing automation tool and cross-browser
compliant
 Open source tool
 Easy to use
Selenium Compatibility
Multiple
Browser
Compatibility
•Firefox
•Chrome
•Safari
•Opera
Multiple OS
Compatibility
•Windows
•Mac
•Android
•IOS
•Linux
Multiple
Language
Support
•Java
•Perl
•C#
•Ruby
Selenium
Selenium Components
Selenium
Selenium RC
Selenium
Web Driver
Selenium
Grid
Selenium IDE
Selenium RC (Remote Control)
 Selenium-RC provides an API (Application Programming Interface) and
library for each of its supported languages: HTML, Java, C#, Perl, PHP,
Python, and Ruby.
 This ability to use Selenium-RC with a high-level programming language
to develop test cases also allows the automated testing to be integrated
with a project’s automated build environment.
 Also known as Selenium 1
How Selenium RC works ?
Selenium Web Driver
 Selenium WebDriver is the successor of Selenium Remote Control which
has been officially deprecated
 Selenium WebDriver is a collection of language specific bindings to drive a
browser .
 WebDriver is designed in a simpler and more concise programming
interface along with addressing some limitations in the Selenium-RC API.
 Also Known as Selenium 2
Selenium 1+ Selenium Web Driver = Selenium 2
Java Ruby PythonC# Perl PHP
Language Bindings
Selenium Web Driver
Browsers
IE Firefox Chrome Safari Opera
Selenium Grid
 Selenium Grid can run large test suites and test that must be run in
multiple environments
 Tests can be run in parallel with simultaneous execution (different tests
on different remote machines)
 It allows for running your tests in a distributed test execution
environment
 Used to run your tests against multiple browsers, multiple versions of
browser, and browsers running on different operating systems
 It reduces the time it takes for the test suite to complete a test pass
Introduction to selenium
Selenium IDE
 If you want to create quick bug reproduction scripts or create scripts to aid
in automation-aided exploratory testing, then Selenium IDE is the best.
 Selenium IDE is an integrated development environment for Selenium
scripts
 Its an add on with firefox.
 It has record and play back functionality, Though it can record only record
on firefox, it can be modified to run in webdriver and RC.
 The tests can be modified, assertions can be added and test suite can be
created.
Features of Selenium IDE
 Easy record and playback
 Intelligent field selection will use IDs, names, or XPath as needed
 Autocomplete for all common Selenium commands
 Walk through tests
 Debug and set breakpoints
 Save tests as HTML, Ruby scripts, or any other format
 Support for Selenium user-extensions.js file
 Option to automatically assert the title of every page
Introduction to selenium
Why Selenium Over other tools?
 Most powerful Open Source Automation tool available.
 Flexible with support to many languages
 Highly extensible
 Platform Support– Provides support on wide range of OS compared to any
other tool
 Parallel Testing- Supports parallel Testing
 Usability – Easy to use.
 ALM Integration – Provides integration with several bug tracking tools.
Feature Selenium QTP
Record and Play back Yes Yes
Language Support
Java,
C#,PHP,Python,Perl,Ruby VB Script
OS Support
Windows, Linux, Mac,
Andriod, IOS Windows
Ease of Execution Easy Easy
Browser Support
Firefox, IE, Chrome,
Opera, Safari IE
Support for Defect
managenent integration Several Few
Addins and Extensions Several Several
Cost Free Costly
Comparison of QTP over Selenium
References
 http://www.seleniumhq.org/
 https://saucelabs.com/selenium/selenium-grid
 http://www.developerfusion.com/
Author Biography
Professional History and Credentials:
Archana Krushnan is currently working as Test Analyst at Nihilent Technologies Pvt Ltd. She
has been in the field of Software Testing for more than 5 years and worked on several
domains such as Telecom, Ecommerce and Healthcare. She has previous experiences of
working with companies like Reliance Communications Ltd and Fab.com. Her interests
include exploring new things in testing and sharing on her blog..
Thank You !!!!
Prepared By :
Archana Krushnan
Test Analyst
For any queries Please email,
Email : archs_1988@rediffmail.com

More Related Content

PPT
Selenium ppt
PPTX
Test Automation and Selenium
PPTX
Automation - web testing with selenium
PDF
Automation Testing using Selenium
PPTX
Selenium locators: ID, Name, xpath, CSS Selector advance methods
PPTX
Selenium test automation
PPT
Purposes of listening
PDF
SELENIUM PPT.pdf
Selenium ppt
Test Automation and Selenium
Automation - web testing with selenium
Automation Testing using Selenium
Selenium locators: ID, Name, xpath, CSS Selector advance methods
Selenium test automation
Purposes of listening
SELENIUM PPT.pdf

What's hot (20)

PPTX
Automation Testing by Selenium Web Driver
PPTX
What Is Selenium? | Selenium Basics For Beginners | Introduction To Selenium ...
PPTX
Introduction to Selenium Web Driver
PPTX
Selenium ppt
PPTX
An overview of selenium webdriver
PPT
Selenium ppt
PPT
Selenium Concepts
PDF
Automation Testing using Selenium Webdriver
PPT
Selenium Presentation at Engineering Colleges
PDF
Selenium Maven With Eclipse | Edureka
PPTX
Selenium- A Software Testing Tool
PPTX
Selenium
PPTX
Selenium Tutorial For Beginners | Selenium Automation Testing Tutorial | Sele...
PPT
QSpiders - Automation using Selenium
PPTX
Data driven Automation Framework with Selenium
PPT
Selenium
PDF
Introduction to CICD
ODP
Selenium ppt
PPTX
Selenium WebDriver training
PPTX
Selenium IDE Tutorial For Beginners | Selenium IDE Tutorial | What Is Seleniu...
Automation Testing by Selenium Web Driver
What Is Selenium? | Selenium Basics For Beginners | Introduction To Selenium ...
Introduction to Selenium Web Driver
Selenium ppt
An overview of selenium webdriver
Selenium ppt
Selenium Concepts
Automation Testing using Selenium Webdriver
Selenium Presentation at Engineering Colleges
Selenium Maven With Eclipse | Edureka
Selenium- A Software Testing Tool
Selenium
Selenium Tutorial For Beginners | Selenium Automation Testing Tutorial | Sele...
QSpiders - Automation using Selenium
Data driven Automation Framework with Selenium
Selenium
Introduction to CICD
Selenium ppt
Selenium WebDriver training
Selenium IDE Tutorial For Beginners | Selenium IDE Tutorial | What Is Seleniu...
Ad

Viewers also liked (11)

PPT
Stc 2015 regional-round-ppt-exlopratory mobile testing with risk analysis
PPT
Stc 2015 regional-round-ppt-bdd along with ci
PPTX
Uft ppt
PPTX
Introduction to Automation Testing
PPT
Stc 2016 regional-round-ppt-automation testing with devops in agile methodolgy
PPT
Stc 2016 regional-round-iot testing in agile.
PPTX
UFT Automation Framework Introduction
PPTX
Uft Basics
PPTX
Introduction to Unified Functional Testing 12 (UFT)
PDF
What is UFT? HP's unified functional testing.
PPT
Ppt Qtp
Stc 2015 regional-round-ppt-exlopratory mobile testing with risk analysis
Stc 2015 regional-round-ppt-bdd along with ci
Uft ppt
Introduction to Automation Testing
Stc 2016 regional-round-ppt-automation testing with devops in agile methodolgy
Stc 2016 regional-round-iot testing in agile.
UFT Automation Framework Introduction
Uft Basics
Introduction to Unified Functional Testing 12 (UFT)
What is UFT? HP's unified functional testing.
Ppt Qtp
Ad

Similar to Introduction to selenium (20)

PPTX
Selenium
DOCX
What is selenium
PPTX
Step by step instructions to execute selenium automation testing
PDF
Reasons behind selenium automation testing popularity
PPTX
Test Automation Using Selenium
PPT
Selenium Primer
PPT
BCS Selenium Workshop
PDF
Basics of Selenium IDE,Core, Remote Control
PPTX
A Simple Guide to Selenium Software Testing
PPTX
Test automation using selenium
PDF
Selenium Latest Version Update | QR Solutions Pvt Ltd
PPTX
PPTX
Selenium.pptxgsjdxhasdjhckcjjkdcbdcbvdciosdc
PPT
Selenium
PPT
Tanvir Afzal: Selenium
PPTX
STLAB.pptx
PPTX
ST LAB-1.pptx
PPTX
Selenium online training nareshit
PPT
Selenium Primer
PPTX
Demystifying Selenium framework
Selenium
What is selenium
Step by step instructions to execute selenium automation testing
Reasons behind selenium automation testing popularity
Test Automation Using Selenium
Selenium Primer
BCS Selenium Workshop
Basics of Selenium IDE,Core, Remote Control
A Simple Guide to Selenium Software Testing
Test automation using selenium
Selenium Latest Version Update | QR Solutions Pvt Ltd
Selenium.pptxgsjdxhasdjhckcjjkdcbdcbvdciosdc
Selenium
Tanvir Afzal: Selenium
STLAB.pptx
ST LAB-1.pptx
Selenium online training nareshit
Selenium Primer
Demystifying Selenium framework

Recently uploaded (20)

PDF
CIFDAQ's Market Insight: SEC Turns Pro Crypto
PDF
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
PDF
AI And Its Effect On The Evolving IT Sector In Australia - Elevate
PDF
Spectral efficient network and resource selection model in 5G networks
PPTX
Telecom Fraud Prevention Guide | Hyperlink InfoSystem
PDF
Review of recent advances in non-invasive hemoglobin estimation
PDF
Advanced Soft Computing BINUS July 2025.pdf
PDF
The Rise and Fall of 3GPP – Time for a Sabbatical?
PDF
NewMind AI Monthly Chronicles - July 2025
PPTX
Comunidade Salesforce São Paulo - Desmistificando o Omnistudio (Vlocity)
PDF
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
PPT
“AI and Expert System Decision Support & Business Intelligence Systems”
PDF
CIFDAQ's Market Wrap: Ethereum Leads, Bitcoin Lags, Institutions Shift
PDF
madgavkar20181017ppt McKinsey Presentation.pdf
PPTX
breach-and-attack-simulation-cybersecurity-india-chennai-defenderrabbit-2025....
PDF
Shreyas Phanse Resume: Experienced Backend Engineer | Java • Spring Boot • Ka...
PPTX
Understanding_Digital_Forensics_Presentation.pptx
PDF
Modernizing your data center with Dell and AMD
PDF
How Onsite IT Support Drives Business Efficiency, Security, and Growth.pdf
PDF
Sensors and Actuators in IoT Systems using pdf
CIFDAQ's Market Insight: SEC Turns Pro Crypto
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
AI And Its Effect On The Evolving IT Sector In Australia - Elevate
Spectral efficient network and resource selection model in 5G networks
Telecom Fraud Prevention Guide | Hyperlink InfoSystem
Review of recent advances in non-invasive hemoglobin estimation
Advanced Soft Computing BINUS July 2025.pdf
The Rise and Fall of 3GPP – Time for a Sabbatical?
NewMind AI Monthly Chronicles - July 2025
Comunidade Salesforce São Paulo - Desmistificando o Omnistudio (Vlocity)
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
“AI and Expert System Decision Support & Business Intelligence Systems”
CIFDAQ's Market Wrap: Ethereum Leads, Bitcoin Lags, Institutions Shift
madgavkar20181017ppt McKinsey Presentation.pdf
breach-and-attack-simulation-cybersecurity-india-chennai-defenderrabbit-2025....
Shreyas Phanse Resume: Experienced Backend Engineer | Java • Spring Boot • Ka...
Understanding_Digital_Forensics_Presentation.pptx
Modernizing your data center with Dell and AMD
How Onsite IT Support Drives Business Efficiency, Security, and Growth.pdf
Sensors and Actuators in IoT Systems using pdf

Introduction to selenium

  • 2. Agenda  Introduction and History  What is Selenium  Components of Selenium  Selenium RC  Selenium WebDriver  Selenium Grid  Selenium IDE  Why Selenium over other tools ?
  • 3. Introduction  Selenium automates browsers.  Its open source- Completely Free, all you need is a system and internet.  Selenium can be executed on multiple platforms  can be controlled by many programming languages and testing frameworks.  Support provided from several other open source tools like Jenkins, ANT etc.  Can be integrated with several defect tracking tools.
  • 4. History  Was developed by Jason Huggins in 2004 . He was a working on a in- house project in Thoughtworks. He started working on Selenium Core.  Dan Fabulich and Nelson Sproul, Created Selenium RC.  Shinya Kasatani in Japan became interested in Selenium, and realised that he could wrap the core code into an IDE module into the Firefox browser, and be able to record tests as well as play them back in the same plugin.
  • 5. What is Selenium ?  Selenium is a robust tool that supports rapid development of test automation for web-based applications.  Can simulate a user navigating through pages and then assert for specific marks on the pages  Open source, web-based testing automation tool and cross-browser compliant  Open source tool  Easy to use
  • 7. Selenium Components Selenium Selenium RC Selenium Web Driver Selenium Grid Selenium IDE
  • 8. Selenium RC (Remote Control)  Selenium-RC provides an API (Application Programming Interface) and library for each of its supported languages: HTML, Java, C#, Perl, PHP, Python, and Ruby.  This ability to use Selenium-RC with a high-level programming language to develop test cases also allows the automated testing to be integrated with a project’s automated build environment.  Also known as Selenium 1
  • 9. How Selenium RC works ?
  • 10. Selenium Web Driver  Selenium WebDriver is the successor of Selenium Remote Control which has been officially deprecated  Selenium WebDriver is a collection of language specific bindings to drive a browser .  WebDriver is designed in a simpler and more concise programming interface along with addressing some limitations in the Selenium-RC API.  Also Known as Selenium 2 Selenium 1+ Selenium Web Driver = Selenium 2
  • 11. Java Ruby PythonC# Perl PHP Language Bindings Selenium Web Driver Browsers IE Firefox Chrome Safari Opera
  • 12. Selenium Grid  Selenium Grid can run large test suites and test that must be run in multiple environments  Tests can be run in parallel with simultaneous execution (different tests on different remote machines)  It allows for running your tests in a distributed test execution environment  Used to run your tests against multiple browsers, multiple versions of browser, and browsers running on different operating systems  It reduces the time it takes for the test suite to complete a test pass
  • 14. Selenium IDE  If you want to create quick bug reproduction scripts or create scripts to aid in automation-aided exploratory testing, then Selenium IDE is the best.  Selenium IDE is an integrated development environment for Selenium scripts  Its an add on with firefox.  It has record and play back functionality, Though it can record only record on firefox, it can be modified to run in webdriver and RC.  The tests can be modified, assertions can be added and test suite can be created.
  • 15. Features of Selenium IDE  Easy record and playback  Intelligent field selection will use IDs, names, or XPath as needed  Autocomplete for all common Selenium commands  Walk through tests  Debug and set breakpoints  Save tests as HTML, Ruby scripts, or any other format  Support for Selenium user-extensions.js file  Option to automatically assert the title of every page
  • 17. Why Selenium Over other tools?  Most powerful Open Source Automation tool available.  Flexible with support to many languages  Highly extensible  Platform Support– Provides support on wide range of OS compared to any other tool  Parallel Testing- Supports parallel Testing  Usability – Easy to use.  ALM Integration – Provides integration with several bug tracking tools.
  • 18. Feature Selenium QTP Record and Play back Yes Yes Language Support Java, C#,PHP,Python,Perl,Ruby VB Script OS Support Windows, Linux, Mac, Andriod, IOS Windows Ease of Execution Easy Easy Browser Support Firefox, IE, Chrome, Opera, Safari IE Support for Defect managenent integration Several Few Addins and Extensions Several Several Cost Free Costly Comparison of QTP over Selenium
  • 20. Author Biography Professional History and Credentials: Archana Krushnan is currently working as Test Analyst at Nihilent Technologies Pvt Ltd. She has been in the field of Software Testing for more than 5 years and worked on several domains such as Telecom, Ecommerce and Healthcare. She has previous experiences of working with companies like Reliance Communications Ltd and Fab.com. Her interests include exploring new things in testing and sharing on her blog..
  • 21. Thank You !!!! Prepared By : Archana Krushnan Test Analyst For any queries Please email, Email : [email protected]