SlideShare a Scribd company logo
Introduction to Selenium
Agenda
• What is testing and why is it required.
• What is Automation testing.
• Difference between Manual and Automation testing.
• Different Automation testing tools in IT industry.
• What is Selenium and why do we need Selenium.
• History of Selenium.
• Who developed Selenium.
• Different versions of Selenium.
• Pre-requisites of Selenium.
• Different types of Components in Selenium.
• Different locators used in Selenium.
• Different languages supported in Selenium.
• Different kinds of browsers Selenium Supports.
• Different kinds of O.S Selenium Supports.
• Why should I prefer Selenium over other Automation tools.
• What are the advantages of using Selenium.
• Different kind of Selenium Web drivers.
• Comparing Selenium with other Automation testing tools.
• Page Object Model in Selenium(Demo).
• Conclusion.
What is testing and why is it
required ?
• To check the functionality of the application
which is working as expected.
• To deliver a quality or bug free product.
• To ensure application is working properly without
breaking into failures.
• To check if there is any error occurred during the
development phase.
What is Automation testing.
• It is a process of automating the software
application or browser without any human
intervention.
• In automation testing, developers writes a script
and execute it through software testing tools like
Coded UI, Selenium, Protractor, Appium etc.
• With automation testing tools we can overcome
manual repetitive tasks.
Difference between Manual and
Automation testing.
Manual Testing:
• Human intervention is required.
• Human can make mistakes.
• Execution of test cases sequentially.
• Requires more number of resources.
Automation testing:
• No human intervention is required.
• Software cannot make mistakes.
• Execution of test cases in sequential and parallel.
• Requires few resources.
Different Automation testing tools in IT
industry.
• Selenium
• CodedUI
• QTP
• Protractor(For Angular Applications)
• TestCafe
• Sikuli
• Appium
• TestStackWhite
• Robotic Process Automation(RPA) Tools.
What is Selenium and why do we
need Selenium.
• Selenium is an automation testing tool or
software testing framework used for automating
browser or web applications.
• Selenium is an open source which is written in
Java and can be used with various programming
languages.
• It is a library or an API which can be integrated
with different programming languages.
Why do we need Selenium.
• We can automate web applications, desktop or
windows application, mobile applications(IOS &
Android), headless browser execution etc.
• Open Source library.
• Faster in execution.
• Language independent.
• Platform independent.
• Support execution in various browsers.
• Executes TC’s sequentially or parallely connected in
LAN network.
• Large user support group.
History of Selenium.
• Jason Huggins developed an internal project to test internal
applications at Thought Works, which was developed in client side
technology like JavaScript. ie.(Selenium IDE).
• Paul Hammant joined his team and developed the other version of
Selenium, i.e.(Selenium RC) then this tool became open-source to
work with the different Browsers and different platforms.
• Simon Stewart at Thought Works developed an Automation tool for
the browser known as Webdriver and later they merged these
Selenium RC with Webdriver called Selenium Webdriver(Selenium
2.0).
• Philippe Hanrigou at ThoughtWorks developed Selenium Grid.
Selenium Grid is used for configuring single hub and multiple nodes.
Who developed Selenium.
Versions Developed By.
• Selenium IDE Jason Huggins.
• Selenium RC Paul Hammant.
• Selenium Web driver Simon Stewart.
• Selenium Grid Philippe Hanrigou.
Different Versions of Selenium.
Versions :
• Selenium IDE (Selenium 1.0).
• Selenium Remote Control(RC).
• Selenium Webdriver(Selenium 2.0).
• Selenium-Grid 1.0(Launched in 2008).
• Selenium-Grid 2.0(Launched in 2012).
• Selenium 3.0(Launched in July 2016).
• Selenium 4.0(Expected to launch in year end).
Pre-requisites of Selenium.
• Java Runtime Environment (Latest
recommended).
• Selenium Webdrivers like chromeDriver,
IEDriver, GeckDriver etc.
• Browsers such as chrome, IE, Firefox(Latest
recommended).
Different types of components in
Selenium.
• Selenium IDE
• Selenium RC(Remote Control)
• Selenium Web driver
• Selenium Grid.
Selenium IDE
• Extension of Firefox.
• Executes the commands only in Firefox browser.
• No programming or coding is required.
• Cannot perform complex operations.
• Doesn’t support parallel execution.
• Slow in execution.
• Cannot automate IOS or Android applications.
• Cannot automate kendo UI or Angular controls.
Selenium IDE
Selenium RC
• It’s a library or an API.
• It supports various browser’s for execution.
• It supports parallel execution with the help of Selenium
Grid.
• It doesn’t support IOS & Android apps automation.
• It support various Programming language.
• It’s based on Client/Server architecture.
• Drawback with Selenium RC is, programmer or
developer need to run the Selenium server then only
we can execute the test cases.
Selenium Webdriver
• It’s also a library or an API.
• It supports various browser to execute test cases.
• It supports various programming languages.
• It supports parallel execution with Selenium Grid.
• It supports IOS & Android automation.
• It doesn’t depend on Client/Server architecture.
• Faster in execution compared to Selenium RC.
• It supports various drivers.
• Programmer or developer doesn’t requires to run the
Selenium server to execute test cases.
Selenium Grid
Different Locators used in
Selenium.
• Control ID
• Control Name
• Tag Name
• Class Name
• Css Selector
• XPath
• Partial Link Text
• Link Text
Different Programming Languages
supported in Selenium.
• C#
• Java
• Perl
• Python
• Ruby
• PHP
• JavaScript
Different kinds of browsers
Selenium Supports.
• Google Chrome
• Mozilla Firefox
• Internet Explorer
• Edge browser(Selenium 3.0)
• Safari browser
• Opera
Different kinds of OS Selenium
Supports
• Windows
• Mac
• Linux
• Solaris
Why should I prefer Selenium over
other Automation tools.
• It is Open Source
• It supports various browsers.
• It supports various programming language.
• Execution of test cases sequentially & parallely.
• High demand in market.
• Large user support group.
• We can automate various kind of applications.
• High pay for Selenium Automation Testers.
Different kind of drivers Selenium
Supports
• Chrome Driver
• Internet Explorer Driver
• Opera Driver
• Safari Driver
• Gecko Driver
• Edge Driver
Comparing Selenium with other
Automation testing tools.
CodedUI:
• It’s license version with ultimate or enterprise visual studio.
• It can be developed using C#.
QTP/UFT or RPA Tools:
• It’s license version, can be developed using VBScript.
Protractor or Cypress.io or Test cafe:
• It’s open source but development is done only in java Script.
Selenium:
• It is an open source.
• It supports development in C#, Java, JavaScript, Ruby, PERL, Python
PHP etc.
Page Object Model in Selenium
• Page Object Model is a design pattern which became
popular in test automation for the maintenance of code,
reducing code duplication and reusability of code.
• Page Object Model is used to create Object Repository
or Control Properties for web UI elements. For each web
page in the application, there should be corresponding
page class like Login Page, Registration Page etc.
• All the control locators & respective functionality should
be maintained in separate class files, if any control
property changes we can change the locators class
without disturbing the functionality of it.
Conclusion
• Its Open Source Library.
• Selenium helps in automation of Web application,
Windows application, WPF application, Headless
browser application, Mobile application(IOS,
Android) etc.
• It supports various programming languages such as
C#, Java, Python, Ruby, Perl, JavaScript etc.
• It supports various browsers such as Chrome,
Firefox, IE, Edge, Opera, Safari etc.
• No other automation tools in the market supports
these kind of features.
• It’s single package with various bundle of features.

More Related Content

What's hot (20)

PPTX
Selenium test automation
Srikanth Vuriti
 
PPT
Automation testing
Biswajit Pratihari
 
PPT
Selenium
Adam Goucher
 
PDF
automation testing benefits
nazeer pasha
 
PPT
Manual testing concepts course 1
Raghu Kiran
 
PDF
Agile Testing Introduction
Hai Tran Son
 
PDF
Automation Testing using Selenium
Naresh Chintalcheru
 
PPT
Selenium Concepts
Swati Bansal
 
PPT
Agile QA presentation
Carl Bruiners
 
PDF
Test Automation
rockoder
 
PPTX
Agile Testing Strategy
tharindakasun
 
PPTX
Selenium-Locators
Mithilesh Singh
 
PPTX
Stlc ppt
Bhavik Modi
 
PPT
Automation testing strategy, approach & planning
SivaprasanthRentala1975
 
PDF
Selenium IDE LOCATORS
Mindfire Solutions
 
PPT
Software Testing Fundamentals
Chankey Pathak
 
PDF
Automated vs manual testing
Kanoah
 
PPTX
Agile Testing and Test Automation
Naveen Kumar Singh
 
PPT
Selenium
Kalyan ch
 
PPT
Software Testing 101
QA Hannah
 
Selenium test automation
Srikanth Vuriti
 
Automation testing
Biswajit Pratihari
 
Selenium
Adam Goucher
 
automation testing benefits
nazeer pasha
 
Manual testing concepts course 1
Raghu Kiran
 
Agile Testing Introduction
Hai Tran Son
 
Automation Testing using Selenium
Naresh Chintalcheru
 
Selenium Concepts
Swati Bansal
 
Agile QA presentation
Carl Bruiners
 
Test Automation
rockoder
 
Agile Testing Strategy
tharindakasun
 
Selenium-Locators
Mithilesh Singh
 
Stlc ppt
Bhavik Modi
 
Automation testing strategy, approach & planning
SivaprasanthRentala1975
 
Selenium IDE LOCATORS
Mindfire Solutions
 
Software Testing Fundamentals
Chankey Pathak
 
Automated vs manual testing
Kanoah
 
Agile Testing and Test Automation
Naveen Kumar Singh
 
Selenium
Kalyan ch
 
Software Testing 101
QA Hannah
 

Similar to Introduction to selenium (20)

PPTX
Introduction to selenium
Khaja Moiz Uddin
 
PPTX
Test Automation Using Selenium
Nikhil Kapoor
 
PPT
QSpiders - Automation using Selenium
Qspiders - Software Testing Training Institute
 
PPTX
Selenium introduction
Pankaj Dubey
 
PDF
Selenium Automation Testing - A Complete Guide
Abhay Kumar
 
PPTX
What is Selenium Introduction to Selenium Testing.pptx
Syntax Technologies
 
PDF
Selenium Automation Testing - A Complete Guide.pdf
kalichargn70th171
 
DOCX
What is selenium
Pesara Swamy
 
PPTX
Selenium-Automation-The-Definitive-Guide (1).pptx
shivanshpandeyrewa20
 
PPTX
Selenium
Jahan Murugassan
 
PDF
Selenium Automation Testing - A Complete Guide.pdf
flufftailshop
 
PPTX
A Simple Guide to Selenium Software Testing
Calidad Infotech
 
PPTX
Selenium
Satyam Pandey
 
PDF
Selenium Testing The Complete Step-by-Step Tutorial.pdf
Steve Wortham
 
PDF
Basics of Selenium IDE,Core, Remote Control
usha kannappan
 
PDF
An Overview of Selenium Grid and Its Benefits
Shubham Joshi
 
PDF
Automation Testing using Selenium Webdriver
Pankaj Biswas
 
PDF
Pros and Cons of Selenium In Automation Testing_ A Comprehensive Assessment.pdf
kalichargn70th171
 
PPTX
test-automation-selenium-160216124839.pptx
SyedZaeem9
 
PPTX
Test automation using selenium
Cynoteck Technology Solutions Private Limited
 
Introduction to selenium
Khaja Moiz Uddin
 
Test Automation Using Selenium
Nikhil Kapoor
 
QSpiders - Automation using Selenium
Qspiders - Software Testing Training Institute
 
Selenium introduction
Pankaj Dubey
 
Selenium Automation Testing - A Complete Guide
Abhay Kumar
 
What is Selenium Introduction to Selenium Testing.pptx
Syntax Technologies
 
Selenium Automation Testing - A Complete Guide.pdf
kalichargn70th171
 
What is selenium
Pesara Swamy
 
Selenium-Automation-The-Definitive-Guide (1).pptx
shivanshpandeyrewa20
 
Selenium Automation Testing - A Complete Guide.pdf
flufftailshop
 
A Simple Guide to Selenium Software Testing
Calidad Infotech
 
Selenium
Satyam Pandey
 
Selenium Testing The Complete Step-by-Step Tutorial.pdf
Steve Wortham
 
Basics of Selenium IDE,Core, Remote Control
usha kannappan
 
An Overview of Selenium Grid and Its Benefits
Shubham Joshi
 
Automation Testing using Selenium Webdriver
Pankaj Biswas
 
Pros and Cons of Selenium In Automation Testing_ A Comprehensive Assessment.pdf
kalichargn70th171
 
test-automation-selenium-160216124839.pptx
SyedZaeem9
 
Test automation using selenium
Cynoteck Technology Solutions Private Limited
 
Ad

Recently uploaded (20)

PPTX
Coefficient of Variance in IBM SPSS Statistics Version 31.pptx
Version 1 Analytics
 
PPTX
Empowering Asian Contributions: The Rise of Regional User Groups in Open Sour...
Shane Coughlan
 
PDF
iTop VPN With Crack Lifetime Activation Key-CODE
utfefguu
 
PDF
Download Canva Pro 2025 PC Crack Full Latest Version
bashirkhan333g
 
PDF
Digger Solo: Semantic search and maps for your local files
seanpedersen96
 
PDF
[Solution] Why Choose the VeryPDF DRM Protector Custom-Built Solution for You...
Lingwen1998
 
PPTX
Agentic Automation Journey Session 1/5: Context Grounding and Autopilot for E...
klpathrudu
 
PDF
MiniTool Partition Wizard Free Crack + Full Free Download 2025
bashirkhan333g
 
PDF
SAP Firmaya İade ABAB Kodları - ABAB ile yazılmıl hazır kod örneği
Salih Küçük
 
PPTX
Agentic Automation Journey Series Day 2 – Prompt Engineering for UiPath Agents
klpathrudu
 
PPTX
Homogeneity of Variance Test Options IBM SPSS Statistics Version 31.pptx
Version 1 Analytics
 
PPTX
Home Care Tools: Benefits, features and more
Third Rock Techkno
 
PDF
Generic or Specific? Making sensible software design decisions
Bert Jan Schrijver
 
PDF
Odoo CRM vs Zoho CRM: Honest Comparison 2025
Odiware Technologies Private Limited
 
PDF
Top Agile Project Management Tools for Teams in 2025
Orangescrum
 
PDF
Build It, Buy It, or Already Got It? Make Smarter Martech Decisions
bbedford2
 
PDF
IDM Crack with Internet Download Manager 6.42 Build 43 with Patch Latest 2025
bashirkhan333g
 
PDF
Empower Your Tech Vision- Why Businesses Prefer to Hire Remote Developers fro...
logixshapers59
 
PDF
유니티에서 Burst Compiler+ThreadedJobs+SIMD 적용사례
Seongdae Kim
 
PDF
vMix Pro 28.0.0.42 Download vMix Registration key Bundle
kulindacore
 
Coefficient of Variance in IBM SPSS Statistics Version 31.pptx
Version 1 Analytics
 
Empowering Asian Contributions: The Rise of Regional User Groups in Open Sour...
Shane Coughlan
 
iTop VPN With Crack Lifetime Activation Key-CODE
utfefguu
 
Download Canva Pro 2025 PC Crack Full Latest Version
bashirkhan333g
 
Digger Solo: Semantic search and maps for your local files
seanpedersen96
 
[Solution] Why Choose the VeryPDF DRM Protector Custom-Built Solution for You...
Lingwen1998
 
Agentic Automation Journey Session 1/5: Context Grounding and Autopilot for E...
klpathrudu
 
MiniTool Partition Wizard Free Crack + Full Free Download 2025
bashirkhan333g
 
SAP Firmaya İade ABAB Kodları - ABAB ile yazılmıl hazır kod örneği
Salih Küçük
 
Agentic Automation Journey Series Day 2 – Prompt Engineering for UiPath Agents
klpathrudu
 
Homogeneity of Variance Test Options IBM SPSS Statistics Version 31.pptx
Version 1 Analytics
 
Home Care Tools: Benefits, features and more
Third Rock Techkno
 
Generic or Specific? Making sensible software design decisions
Bert Jan Schrijver
 
Odoo CRM vs Zoho CRM: Honest Comparison 2025
Odiware Technologies Private Limited
 
Top Agile Project Management Tools for Teams in 2025
Orangescrum
 
Build It, Buy It, or Already Got It? Make Smarter Martech Decisions
bbedford2
 
IDM Crack with Internet Download Manager 6.42 Build 43 with Patch Latest 2025
bashirkhan333g
 
Empower Your Tech Vision- Why Businesses Prefer to Hire Remote Developers fro...
logixshapers59
 
유니티에서 Burst Compiler+ThreadedJobs+SIMD 적용사례
Seongdae Kim
 
vMix Pro 28.0.0.42 Download vMix Registration key Bundle
kulindacore
 
Ad

Introduction to selenium

  • 2. Agenda • What is testing and why is it required. • What is Automation testing. • Difference between Manual and Automation testing. • Different Automation testing tools in IT industry. • What is Selenium and why do we need Selenium. • History of Selenium. • Who developed Selenium. • Different versions of Selenium. • Pre-requisites of Selenium. • Different types of Components in Selenium. • Different locators used in Selenium. • Different languages supported in Selenium.
  • 3. • Different kinds of browsers Selenium Supports. • Different kinds of O.S Selenium Supports. • Why should I prefer Selenium over other Automation tools. • What are the advantages of using Selenium. • Different kind of Selenium Web drivers. • Comparing Selenium with other Automation testing tools. • Page Object Model in Selenium(Demo). • Conclusion.
  • 4. What is testing and why is it required ? • To check the functionality of the application which is working as expected. • To deliver a quality or bug free product. • To ensure application is working properly without breaking into failures. • To check if there is any error occurred during the development phase.
  • 5. What is Automation testing. • It is a process of automating the software application or browser without any human intervention. • In automation testing, developers writes a script and execute it through software testing tools like Coded UI, Selenium, Protractor, Appium etc. • With automation testing tools we can overcome manual repetitive tasks.
  • 6. Difference between Manual and Automation testing. Manual Testing: • Human intervention is required. • Human can make mistakes. • Execution of test cases sequentially. • Requires more number of resources. Automation testing: • No human intervention is required. • Software cannot make mistakes. • Execution of test cases in sequential and parallel. • Requires few resources.
  • 7. Different Automation testing tools in IT industry. • Selenium • CodedUI • QTP • Protractor(For Angular Applications) • TestCafe • Sikuli • Appium • TestStackWhite • Robotic Process Automation(RPA) Tools.
  • 8. What is Selenium and why do we need Selenium. • Selenium is an automation testing tool or software testing framework used for automating browser or web applications. • Selenium is an open source which is written in Java and can be used with various programming languages. • It is a library or an API which can be integrated with different programming languages.
  • 9. Why do we need Selenium. • We can automate web applications, desktop or windows application, mobile applications(IOS & Android), headless browser execution etc. • Open Source library. • Faster in execution. • Language independent. • Platform independent. • Support execution in various browsers. • Executes TC’s sequentially or parallely connected in LAN network. • Large user support group.
  • 10. History of Selenium. • Jason Huggins developed an internal project to test internal applications at Thought Works, which was developed in client side technology like JavaScript. ie.(Selenium IDE). • Paul Hammant joined his team and developed the other version of Selenium, i.e.(Selenium RC) then this tool became open-source to work with the different Browsers and different platforms. • Simon Stewart at Thought Works developed an Automation tool for the browser known as Webdriver and later they merged these Selenium RC with Webdriver called Selenium Webdriver(Selenium 2.0). • Philippe Hanrigou at ThoughtWorks developed Selenium Grid. Selenium Grid is used for configuring single hub and multiple nodes.
  • 11. Who developed Selenium. Versions Developed By. • Selenium IDE Jason Huggins. • Selenium RC Paul Hammant. • Selenium Web driver Simon Stewart. • Selenium Grid Philippe Hanrigou.
  • 12. Different Versions of Selenium. Versions : • Selenium IDE (Selenium 1.0). • Selenium Remote Control(RC). • Selenium Webdriver(Selenium 2.0). • Selenium-Grid 1.0(Launched in 2008). • Selenium-Grid 2.0(Launched in 2012). • Selenium 3.0(Launched in July 2016). • Selenium 4.0(Expected to launch in year end).
  • 13. Pre-requisites of Selenium. • Java Runtime Environment (Latest recommended). • Selenium Webdrivers like chromeDriver, IEDriver, GeckDriver etc. • Browsers such as chrome, IE, Firefox(Latest recommended).
  • 14. Different types of components in Selenium. • Selenium IDE • Selenium RC(Remote Control) • Selenium Web driver • Selenium Grid.
  • 15. Selenium IDE • Extension of Firefox. • Executes the commands only in Firefox browser. • No programming or coding is required. • Cannot perform complex operations. • Doesn’t support parallel execution. • Slow in execution. • Cannot automate IOS or Android applications. • Cannot automate kendo UI or Angular controls.
  • 17. Selenium RC • It’s a library or an API. • It supports various browser’s for execution. • It supports parallel execution with the help of Selenium Grid. • It doesn’t support IOS & Android apps automation. • It support various Programming language. • It’s based on Client/Server architecture. • Drawback with Selenium RC is, programmer or developer need to run the Selenium server then only we can execute the test cases.
  • 18. Selenium Webdriver • It’s also a library or an API. • It supports various browser to execute test cases. • It supports various programming languages. • It supports parallel execution with Selenium Grid. • It supports IOS & Android automation. • It doesn’t depend on Client/Server architecture. • Faster in execution compared to Selenium RC. • It supports various drivers. • Programmer or developer doesn’t requires to run the Selenium server to execute test cases.
  • 20. Different Locators used in Selenium. • Control ID • Control Name • Tag Name • Class Name • Css Selector • XPath • Partial Link Text • Link Text
  • 21. Different Programming Languages supported in Selenium. • C# • Java • Perl • Python • Ruby • PHP • JavaScript
  • 22. Different kinds of browsers Selenium Supports. • Google Chrome • Mozilla Firefox • Internet Explorer • Edge browser(Selenium 3.0) • Safari browser • Opera
  • 23. Different kinds of OS Selenium Supports • Windows • Mac • Linux • Solaris
  • 24. Why should I prefer Selenium over other Automation tools. • It is Open Source • It supports various browsers. • It supports various programming language. • Execution of test cases sequentially & parallely. • High demand in market. • Large user support group. • We can automate various kind of applications. • High pay for Selenium Automation Testers.
  • 25. Different kind of drivers Selenium Supports • Chrome Driver • Internet Explorer Driver • Opera Driver • Safari Driver • Gecko Driver • Edge Driver
  • 26. Comparing Selenium with other Automation testing tools. CodedUI: • It’s license version with ultimate or enterprise visual studio. • It can be developed using C#. QTP/UFT or RPA Tools: • It’s license version, can be developed using VBScript. Protractor or Cypress.io or Test cafe: • It’s open source but development is done only in java Script. Selenium: • It is an open source. • It supports development in C#, Java, JavaScript, Ruby, PERL, Python PHP etc.
  • 27. Page Object Model in Selenium • Page Object Model is a design pattern which became popular in test automation for the maintenance of code, reducing code duplication and reusability of code. • Page Object Model is used to create Object Repository or Control Properties for web UI elements. For each web page in the application, there should be corresponding page class like Login Page, Registration Page etc. • All the control locators & respective functionality should be maintained in separate class files, if any control property changes we can change the locators class without disturbing the functionality of it.
  • 28. Conclusion • Its Open Source Library. • Selenium helps in automation of Web application, Windows application, WPF application, Headless browser application, Mobile application(IOS, Android) etc. • It supports various programming languages such as C#, Java, Python, Ruby, Perl, JavaScript etc. • It supports various browsers such as Chrome, Firefox, IE, Edge, Opera, Safari etc. • No other automation tools in the market supports these kind of features. • It’s single package with various bundle of features.