SlideShare a Scribd company logo
1 of 21
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
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
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

What's hot

Automation - web testing with selenium
Automation - web testing with seleniumAutomation - web testing with selenium
Automation - web testing with seleniumTzirla Rozental
 
Selenium Presentation at Engineering Colleges
Selenium Presentation at Engineering CollegesSelenium Presentation at Engineering Colleges
Selenium Presentation at Engineering CollegesVijay Rangaiah
 
Web automation using selenium.ppt
Web automation using selenium.pptWeb automation using selenium.ppt
Web automation using selenium.pptAna Sarbescu
 
Automated Web Testing Using Selenium
Automated Web Testing Using SeleniumAutomated Web Testing Using Selenium
Automated Web Testing Using SeleniumWeifeng Zhang
 
An overview of selenium webdriver
An overview of selenium webdriverAn overview of selenium webdriver
An overview of selenium webdriverAnuraj S.L
 
Selenium- A Software Testing Tool
Selenium- A Software Testing ToolSelenium- A Software Testing Tool
Selenium- A Software Testing ToolZeba Tahseen
 
Selenium Architecture
Selenium ArchitectureSelenium Architecture
Selenium Architecturerohitnayak
 
What Is Selenium? | Selenium Basics For Beginners | Introduction To Selenium ...
What Is Selenium? | Selenium Basics For Beginners | Introduction To Selenium ...What Is Selenium? | Selenium Basics For Beginners | Introduction To Selenium ...
What Is Selenium? | Selenium Basics For Beginners | Introduction To Selenium ...Simplilearn
 
Selenium - Introduction
Selenium - IntroductionSelenium - Introduction
Selenium - IntroductionAmr E. Mohamed
 
Test Automation Framework Designs
Test Automation Framework DesignsTest Automation Framework Designs
Test Automation Framework DesignsSauce Labs
 

What's hot (20)

Automation - web testing with selenium
Automation - web testing with seleniumAutomation - web testing with selenium
Automation - web testing with selenium
 
Selenium Presentation at Engineering Colleges
Selenium Presentation at Engineering CollegesSelenium Presentation at Engineering Colleges
Selenium Presentation at Engineering Colleges
 
Web automation using selenium.ppt
Web automation using selenium.pptWeb automation using selenium.ppt
Web automation using selenium.ppt
 
Automation Testing by Selenium Web Driver
Automation Testing by Selenium Web DriverAutomation Testing by Selenium Web Driver
Automation Testing by Selenium Web Driver
 
Selenium
SeleniumSelenium
Selenium
 
Automated Web Testing Using Selenium
Automated Web Testing Using SeleniumAutomated Web Testing Using Selenium
Automated Web Testing Using Selenium
 
Selenium ppt
Selenium pptSelenium ppt
Selenium ppt
 
An overview of selenium webdriver
An overview of selenium webdriverAn overview of selenium webdriver
An overview of selenium webdriver
 
Selenium- A Software Testing Tool
Selenium- A Software Testing ToolSelenium- A Software Testing Tool
Selenium- A Software Testing Tool
 
Selenium
SeleniumSelenium
Selenium
 
Selenium Architecture
Selenium ArchitectureSelenium Architecture
Selenium Architecture
 
Test automation using selenium
Test automation using seleniumTest automation using selenium
Test automation using selenium
 
Introduction to Selenium Web Driver
Introduction to Selenium Web DriverIntroduction to Selenium Web Driver
Introduction to Selenium Web Driver
 
What Is Selenium? | Selenium Basics For Beginners | Introduction To Selenium ...
What Is Selenium? | Selenium Basics For Beginners | Introduction To Selenium ...What Is Selenium? | Selenium Basics For Beginners | Introduction To Selenium ...
What Is Selenium? | Selenium Basics For Beginners | Introduction To Selenium ...
 
Selenium presentation
Selenium presentationSelenium presentation
Selenium presentation
 
Selenium - Introduction
Selenium - IntroductionSelenium - Introduction
Selenium - Introduction
 
Selenium ppt
Selenium pptSelenium ppt
Selenium ppt
 
Selenium Automation Framework
Selenium Automation  FrameworkSelenium Automation  Framework
Selenium Automation Framework
 
Test Automation Framework Designs
Test Automation Framework DesignsTest Automation Framework Designs
Test Automation Framework Designs
 
Selenium Concepts
Selenium ConceptsSelenium Concepts
Selenium Concepts
 

Viewers also liked

Stc 2015 regional-round-ppt-exlopratory mobile testing with risk analysis
Stc 2015 regional-round-ppt-exlopratory mobile testing with risk analysisStc 2015 regional-round-ppt-exlopratory mobile testing with risk analysis
Stc 2015 regional-round-ppt-exlopratory mobile testing with risk analysisArchana Krushnan
 
Stc 2015 regional-round-ppt-bdd along with ci
Stc 2015 regional-round-ppt-bdd along with ciStc 2015 regional-round-ppt-bdd along with ci
Stc 2015 regional-round-ppt-bdd along with ciArchana Krushnan
 
Introduction to Automation Testing
Introduction to Automation TestingIntroduction to Automation Testing
Introduction to Automation TestingArchana Krushnan
 
Stc 2016 regional-round-ppt-automation testing with devops in agile methodolgy
Stc 2016 regional-round-ppt-automation testing with devops in agile methodolgyStc 2016 regional-round-ppt-automation testing with devops in agile methodolgy
Stc 2016 regional-round-ppt-automation testing with devops in agile methodolgyArchana Krushnan
 
Stc 2016 regional-round-iot testing in agile.
Stc 2016 regional-round-iot testing in agile.Stc 2016 regional-round-iot testing in agile.
Stc 2016 regional-round-iot testing in agile.Archana Krushnan
 
UFT Automation Framework Introduction
UFT Automation Framework IntroductionUFT Automation Framework Introduction
UFT Automation Framework IntroductionHimal Bandara
 
Introduction to Unified Functional Testing 12 (UFT)
Introduction to Unified Functional Testing 12 (UFT)Introduction to Unified Functional Testing 12 (UFT)
Introduction to Unified Functional Testing 12 (UFT)Archana Krushnan
 
What is UFT? HP's unified functional testing.
What is UFT? HP's unified functional testing.What is UFT? HP's unified functional testing.
What is UFT? HP's unified functional testing.Confiz
 

Viewers also liked (11)

Stc 2015 regional-round-ppt-exlopratory mobile testing with risk analysis
Stc 2015 regional-round-ppt-exlopratory mobile testing with risk analysisStc 2015 regional-round-ppt-exlopratory mobile testing with risk analysis
Stc 2015 regional-round-ppt-exlopratory mobile testing with risk analysis
 
Stc 2015 regional-round-ppt-bdd along with ci
Stc 2015 regional-round-ppt-bdd along with ciStc 2015 regional-round-ppt-bdd along with ci
Stc 2015 regional-round-ppt-bdd along with ci
 
Uft ppt
Uft pptUft ppt
Uft ppt
 
Introduction to Automation Testing
Introduction to Automation TestingIntroduction to Automation Testing
Introduction to Automation Testing
 
Stc 2016 regional-round-ppt-automation testing with devops in agile methodolgy
Stc 2016 regional-round-ppt-automation testing with devops in agile methodolgyStc 2016 regional-round-ppt-automation testing with devops in agile methodolgy
Stc 2016 regional-round-ppt-automation testing with devops in agile methodolgy
 
Stc 2016 regional-round-iot testing in agile.
Stc 2016 regional-round-iot testing in agile.Stc 2016 regional-round-iot testing in agile.
Stc 2016 regional-round-iot testing in agile.
 
UFT Automation Framework Introduction
UFT Automation Framework IntroductionUFT Automation Framework Introduction
UFT Automation Framework Introduction
 
Uft Basics
Uft BasicsUft Basics
Uft Basics
 
Introduction to Unified Functional Testing 12 (UFT)
Introduction to Unified Functional Testing 12 (UFT)Introduction to Unified Functional Testing 12 (UFT)
Introduction to Unified Functional Testing 12 (UFT)
 
What is UFT? HP's unified functional testing.
What is UFT? HP's unified functional testing.What is UFT? HP's unified functional testing.
What is UFT? HP's unified functional testing.
 
Ppt Qtp
Ppt QtpPpt Qtp
Ppt Qtp
 

Similar to Introduction to selenium

Step by step instructions to execute selenium automation testing
Step by step instructions to execute selenium automation testingStep by step instructions to execute selenium automation testing
Step by step instructions to execute selenium automation testingAlisha Henderson
 
Reasons behind selenium automation testing popularity
Reasons behind selenium automation testing popularityReasons behind selenium automation testing popularity
Reasons behind selenium automation testing popularityRay Business Technologies
 
Test Automation Using Selenium
Test Automation Using SeleniumTest Automation Using Selenium
Test Automation Using SeleniumNikhil Kapoor
 
Basics of Selenium IDE,Core, Remote Control
Basics of Selenium IDE,Core, Remote ControlBasics of Selenium IDE,Core, Remote Control
Basics of Selenium IDE,Core, Remote Controlusha kannappan
 
A Simple Guide to Selenium Software Testing
A Simple Guide to Selenium Software TestingA Simple Guide to Selenium Software Testing
A Simple Guide to Selenium Software TestingCalidad Infotech
 
Selenium Latest Version Update | QR Solutions Pvt Ltd
Selenium Latest Version Update | QR Solutions Pvt LtdSelenium Latest Version Update | QR Solutions Pvt Ltd
Selenium Latest Version Update | QR Solutions Pvt Ltdqrsolutionsindia
 
Tanvir Afzal: Selenium
Tanvir Afzal: SeleniumTanvir Afzal: Selenium
Tanvir Afzal: SeleniumSQABD
 
Selenium online training nareshit
Selenium online training nareshitSelenium online training nareshit
Selenium online training nareshitAvinashNareshIT
 
Demystifying Selenium framework
Demystifying Selenium frameworkDemystifying Selenium framework
Demystifying Selenium frameworkkunalgate125
 
Selenium ui paradigm - DDD North 2
Selenium ui paradigm - DDD North 2Selenium ui paradigm - DDD North 2
Selenium ui paradigm - DDD North 2Nathan Gloyn
 

Similar to Introduction to selenium (20)

Selenium
SeleniumSelenium
Selenium
 
What is selenium
What is seleniumWhat is selenium
What is selenium
 
Step by step instructions to execute selenium automation testing
Step by step instructions to execute selenium automation testingStep by step instructions to execute selenium automation testing
Step by step instructions to execute selenium automation testing
 
Reasons behind selenium automation testing popularity
Reasons behind selenium automation testing popularityReasons behind selenium automation testing popularity
Reasons behind selenium automation testing popularity
 
Test Automation Using Selenium
Test Automation Using SeleniumTest Automation Using Selenium
Test Automation Using Selenium
 
Selenium Primer
Selenium PrimerSelenium Primer
Selenium Primer
 
BCS Selenium Workshop
BCS Selenium WorkshopBCS Selenium Workshop
BCS Selenium Workshop
 
Basics of Selenium IDE,Core, Remote Control
Basics of Selenium IDE,Core, Remote ControlBasics of Selenium IDE,Core, Remote Control
Basics of Selenium IDE,Core, Remote Control
 
A Simple Guide to Selenium Software Testing
A Simple Guide to Selenium Software TestingA Simple Guide to Selenium Software Testing
A Simple Guide to Selenium Software Testing
 
Selenium Latest Version Update | QR Solutions Pvt Ltd
Selenium Latest Version Update | QR Solutions Pvt LtdSelenium Latest Version Update | QR Solutions Pvt Ltd
Selenium Latest Version Update | QR Solutions Pvt Ltd
 
Selenium
SeleniumSelenium
Selenium
 
Selenium
SeleniumSelenium
Selenium
 
Tanvir Afzal: Selenium
Tanvir Afzal: SeleniumTanvir Afzal: Selenium
Tanvir Afzal: Selenium
 
ST LAB-1.pptx
ST LAB-1.pptxST LAB-1.pptx
ST LAB-1.pptx
 
STLAB.pptx
STLAB.pptxSTLAB.pptx
STLAB.pptx
 
Selenium online training nareshit
Selenium online training nareshitSelenium online training nareshit
Selenium online training nareshit
 
Selenium Primer
Selenium PrimerSelenium Primer
Selenium Primer
 
Demystifying Selenium framework
Demystifying Selenium frameworkDemystifying Selenium framework
Demystifying Selenium framework
 
Selenium
SeleniumSelenium
Selenium
 
Selenium ui paradigm - DDD North 2
Selenium ui paradigm - DDD North 2Selenium ui paradigm - DDD North 2
Selenium ui paradigm - DDD North 2
 

Recently uploaded

Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...apidays
 
Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)Zilliz
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesrafiqahmad00786416
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024The Digital Insurer
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodJuan lago vázquez
 
WSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering DevelopersWSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering DevelopersWSO2
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingEdi Saputra
 
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...Angeliki Cooney
 
Six Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal OntologySix Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal Ontologyjohnbeverley2021
 
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot ModelMcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot ModelDeepika Singh
 
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Orbitshub
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Victor Rentea
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWERMadyBayot
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyKhushali Kathiriya
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Victor Rentea
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProduct Anonymous
 
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsNanddeep Nachan
 
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...apidays
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobeapidays
 

Recently uploaded (20)

Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
 
Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challenges
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
WSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering DevelopersWSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering Developers
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
 
Six Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal OntologySix Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal Ontology
 
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot ModelMcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
 
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
 
Understanding the FAA Part 107 License ..
Understanding the FAA Part 107 License ..Understanding the FAA Part 107 License ..
Understanding the FAA Part 107 License ..
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectors
 
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 

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
  • 13.
  • 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
  • 16.
  • 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 : archs_1988@rediffmail.com