SlideShare une entreprise Scribd logo
1  sur  28
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.

Contenu connexe

Tendances

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
 
Test Automation Framework Designs
Test Automation Framework DesignsTest Automation Framework Designs
Test Automation Framework DesignsSauce Labs
 
Automation Testing using Selenium Webdriver
Automation Testing using Selenium WebdriverAutomation Testing using Selenium Webdriver
Automation Testing using Selenium WebdriverPankaj Biswas
 
An overview of selenium webdriver
An overview of selenium webdriverAn overview of selenium webdriver
An overview of selenium webdriverAnuraj S.L
 
Introduction to Automation Testing and Selenium overiew
Introduction to Automation Testing and Selenium overiewIntroduction to Automation Testing and Selenium overiew
Introduction to Automation Testing and Selenium overiewDisha Srivastava
 
Selenium WebDriver Tutorial | Selenium WebDriver Tutorial For Beginner | Sele...
Selenium WebDriver Tutorial | Selenium WebDriver Tutorial For Beginner | Sele...Selenium WebDriver Tutorial | Selenium WebDriver Tutorial For Beginner | Sele...
Selenium WebDriver Tutorial | Selenium WebDriver Tutorial For Beginner | Sele...Simplilearn
 
Software Testing: History, Trends, Perspectives - a Brief Overview
Software Testing: History, Trends, Perspectives - a Brief OverviewSoftware Testing: History, Trends, Perspectives - a Brief Overview
Software Testing: History, Trends, Perspectives - a Brief OverviewSoftheme
 

Tendances (20)

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 WebDriver training
Selenium WebDriver trainingSelenium WebDriver training
Selenium WebDriver training
 
Selenium ppt
Selenium pptSelenium ppt
Selenium ppt
 
Selenium presentation
Selenium presentationSelenium presentation
Selenium presentation
 
Test Automation Framework Designs
Test Automation Framework DesignsTest Automation Framework Designs
Test Automation Framework Designs
 
Automation Testing using Selenium Webdriver
Automation Testing using Selenium WebdriverAutomation Testing using Selenium Webdriver
Automation Testing using Selenium Webdriver
 
An overview of selenium webdriver
An overview of selenium webdriverAn overview of selenium webdriver
An overview of selenium webdriver
 
QSpiders - Automation using Selenium
QSpiders - Automation using SeleniumQSpiders - Automation using Selenium
QSpiders - Automation using Selenium
 
Automation testing
Automation testingAutomation testing
Automation testing
 
Test Automation - Keytorc Approach
Test Automation - Keytorc Approach Test Automation - Keytorc Approach
Test Automation - Keytorc Approach
 
Introduction to Selenium Web Driver
Introduction to Selenium Web DriverIntroduction to Selenium Web Driver
Introduction to Selenium Web Driver
 
Selenium ppt
Selenium pptSelenium ppt
Selenium ppt
 
Introduction to Automation Testing and Selenium overiew
Introduction to Automation Testing and Selenium overiewIntroduction to Automation Testing and Selenium overiew
Introduction to Automation Testing and Selenium overiew
 
Selenium Automation Framework
Selenium Automation  FrameworkSelenium Automation  Framework
Selenium Automation Framework
 
Selenium WebDriver Tutorial | Selenium WebDriver Tutorial For Beginner | Sele...
Selenium WebDriver Tutorial | Selenium WebDriver Tutorial For Beginner | Sele...Selenium WebDriver Tutorial | Selenium WebDriver Tutorial For Beginner | Sele...
Selenium WebDriver Tutorial | Selenium WebDriver Tutorial For Beginner | Sele...
 
Selenium with java
Selenium with javaSelenium with java
Selenium with java
 
Automation Testing by Selenium Web Driver
Automation Testing by Selenium Web DriverAutomation Testing by Selenium Web Driver
Automation Testing by Selenium Web Driver
 
Test automation using selenium
Test automation using seleniumTest automation using selenium
Test automation using selenium
 
Selenium Concepts
Selenium ConceptsSelenium Concepts
Selenium Concepts
 
Software Testing: History, Trends, Perspectives - a Brief Overview
Software Testing: History, Trends, Perspectives - a Brief OverviewSoftware Testing: History, Trends, Perspectives - a Brief Overview
Software Testing: History, Trends, Perspectives - a Brief Overview
 

Similaire à Introduction to selenium

Module-1_Getting-Started_with_selenium_and_Java_basics.pdf
Module-1_Getting-Started_with_selenium_and_Java_basics.pdfModule-1_Getting-Started_with_selenium_and_Java_basics.pdf
Module-1_Getting-Started_with_selenium_and_Java_basics.pdfdevika266518
 
test-automation-selenium-160216124839.pptx
test-automation-selenium-160216124839.pptxtest-automation-selenium-160216124839.pptx
test-automation-selenium-160216124839.pptxSyedZaeem9
 
Selenium overview ppt by quontra solutions
Selenium overview ppt by quontra solutionsSelenium overview ppt by quontra solutions
Selenium overview ppt by quontra solutionsQuontra Solutions
 
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
 
Python selenium
Python seleniumPython selenium
Python seleniumDucat
 
4&5.pptx SOFTWARE TESTING UNIT-4 AND UNIT-5
4&5.pptx SOFTWARE TESTING UNIT-4 AND UNIT-54&5.pptx SOFTWARE TESTING UNIT-4 AND UNIT-5
4&5.pptx SOFTWARE TESTING UNIT-4 AND UNIT-5hemasubbu08
 
Demystifying Selenium framework
Demystifying Selenium frameworkDemystifying Selenium framework
Demystifying Selenium frameworkkunalgate125
 
Introduction to Selenium Webdriver - SpringPeople
Introduction to Selenium Webdriver - SpringPeopleIntroduction to Selenium Webdriver - SpringPeople
Introduction to Selenium Webdriver - SpringPeopleSpringPeople
 
Selenium- A Software Testing Tool
Selenium- A Software Testing ToolSelenium- A Software Testing Tool
Selenium- A Software Testing ToolZeba Tahseen
 
KrishnaToolComparisionPPT.pdf
KrishnaToolComparisionPPT.pdfKrishnaToolComparisionPPT.pdf
KrishnaToolComparisionPPT.pdfQA or the Highway
 
Selenium for everyone
Selenium for everyoneSelenium for everyone
Selenium for everyoneTft Us
 
Session 01 - Introduction to Selenium - Part 2
Session 01 - Introduction to Selenium - Part 2Session 01 - Introduction to Selenium - Part 2
Session 01 - Introduction to Selenium - Part 2SiddharthSelenium
 
Interview Question & Answers for Selenium Freshers | LearningSlot
Interview Question & Answers for Selenium Freshers | LearningSlotInterview Question & Answers for Selenium Freshers | LearningSlot
Interview Question & Answers for Selenium Freshers | LearningSlotLearning Slot
 

Similaire à Introduction to selenium (20)

Introduction to selenium
Introduction to seleniumIntroduction to selenium
Introduction to selenium
 
Selenium
SeleniumSelenium
Selenium
 
Selenium
SeleniumSelenium
Selenium
 
Module-1_Getting-Started_with_selenium_and_Java_basics.pdf
Module-1_Getting-Started_with_selenium_and_Java_basics.pdfModule-1_Getting-Started_with_selenium_and_Java_basics.pdf
Module-1_Getting-Started_with_selenium_and_Java_basics.pdf
 
test-automation-selenium-160216124839.pptx
test-automation-selenium-160216124839.pptxtest-automation-selenium-160216124839.pptx
test-automation-selenium-160216124839.pptx
 
Selenium overview ppt by quontra solutions
Selenium overview ppt by quontra solutionsSelenium overview ppt by quontra solutions
Selenium overview ppt by quontra solutions
 
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
 
11-01-2023.pptx
11-01-2023.pptx11-01-2023.pptx
11-01-2023.pptx
 
Python selenium
Python seleniumPython selenium
Python selenium
 
4&5.pptx SOFTWARE TESTING UNIT-4 AND UNIT-5
4&5.pptx SOFTWARE TESTING UNIT-4 AND UNIT-54&5.pptx SOFTWARE TESTING UNIT-4 AND UNIT-5
4&5.pptx SOFTWARE TESTING UNIT-4 AND UNIT-5
 
Demystifying Selenium framework
Demystifying Selenium frameworkDemystifying Selenium framework
Demystifying Selenium framework
 
Automated ui-testing
Automated ui-testingAutomated ui-testing
Automated ui-testing
 
Introduction to Selenium Webdriver - SpringPeople
Introduction to Selenium Webdriver - SpringPeopleIntroduction to Selenium Webdriver - SpringPeople
Introduction to Selenium Webdriver - SpringPeople
 
Selenium- A Software Testing Tool
Selenium- A Software Testing ToolSelenium- A Software Testing Tool
Selenium- A Software Testing Tool
 
KrishnaToolComparisionPPT.pdf
KrishnaToolComparisionPPT.pdfKrishnaToolComparisionPPT.pdf
KrishnaToolComparisionPPT.pdf
 
Selenium for everyone
Selenium for everyoneSelenium for everyone
Selenium for everyone
 
Selenium
SeleniumSelenium
Selenium
 
Selenium.pptx
Selenium.pptxSelenium.pptx
Selenium.pptx
 
Session 01 - Introduction to Selenium - Part 2
Session 01 - Introduction to Selenium - Part 2Session 01 - Introduction to Selenium - Part 2
Session 01 - Introduction to Selenium - Part 2
 
Interview Question & Answers for Selenium Freshers | LearningSlot
Interview Question & Answers for Selenium Freshers | LearningSlotInterview Question & Answers for Selenium Freshers | LearningSlot
Interview Question & Answers for Selenium Freshers | LearningSlot
 

Dernier

Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...
Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...
Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...soniya singh
 
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...MyIntelliSource, Inc.
 
Project Based Learning (A.I).pptx detail explanation
Project Based Learning (A.I).pptx detail explanationProject Based Learning (A.I).pptx detail explanation
Project Based Learning (A.I).pptx detail explanationkaushalgiri8080
 
Unveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
Unveiling the Tech Salsa of LAMs with Janus in Real-Time ApplicationsUnveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
Unveiling the Tech Salsa of LAMs with Janus in Real-Time ApplicationsAlberto González Trastoy
 
Introduction to Decentralized Applications (dApps)
Introduction to Decentralized Applications (dApps)Introduction to Decentralized Applications (dApps)
Introduction to Decentralized Applications (dApps)Intelisync
 
Building Real-Time Data Pipelines: Stream & Batch Processing workshop Slide
Building Real-Time Data Pipelines: Stream & Batch Processing workshop SlideBuilding Real-Time Data Pipelines: Stream & Batch Processing workshop Slide
Building Real-Time Data Pipelines: Stream & Batch Processing workshop SlideChristina Lin
 
Salesforce Certified Field Service Consultant
Salesforce Certified Field Service ConsultantSalesforce Certified Field Service Consultant
Salesforce Certified Field Service ConsultantAxelRicardoTrocheRiq
 
The Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdf
The Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdfThe Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdf
The Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdfkalichargn70th171
 
Adobe Marketo Engage Deep Dives: Using Webhooks to Transfer Data
Adobe Marketo Engage Deep Dives: Using Webhooks to Transfer DataAdobe Marketo Engage Deep Dives: Using Webhooks to Transfer Data
Adobe Marketo Engage Deep Dives: Using Webhooks to Transfer DataBradBedford3
 
Unit 1.1 Excite Part 1, class 9, cbse...
Unit 1.1 Excite Part 1, class 9, cbse...Unit 1.1 Excite Part 1, class 9, cbse...
Unit 1.1 Excite Part 1, class 9, cbse...aditisharan08
 
Alluxio Monthly Webinar | Cloud-Native Model Training on Distributed Data
Alluxio Monthly Webinar | Cloud-Native Model Training on Distributed DataAlluxio Monthly Webinar | Cloud-Native Model Training on Distributed Data
Alluxio Monthly Webinar | Cloud-Native Model Training on Distributed DataAlluxio, Inc.
 
What is Binary Language? Computer Number Systems
What is Binary Language?  Computer Number SystemsWhat is Binary Language?  Computer Number Systems
What is Binary Language? Computer Number SystemsJheuzeDellosa
 
Unlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language ModelsUnlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language Modelsaagamshah0812
 
EY_Graph Database Powered Sustainability
EY_Graph Database Powered SustainabilityEY_Graph Database Powered Sustainability
EY_Graph Database Powered SustainabilityNeo4j
 
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...gurkirankumar98700
 
HR Software Buyers Guide in 2024 - HRSoftware.com
HR Software Buyers Guide in 2024 - HRSoftware.comHR Software Buyers Guide in 2024 - HRSoftware.com
HR Software Buyers Guide in 2024 - HRSoftware.comFatema Valibhai
 
TECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service providerTECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service providermohitmore19
 
5 Signs You Need a Fashion PLM Software.pdf
5 Signs You Need a Fashion PLM Software.pdf5 Signs You Need a Fashion PLM Software.pdf
5 Signs You Need a Fashion PLM Software.pdfWave PLM
 

Dernier (20)

Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...
Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...
Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...
 
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
 
Project Based Learning (A.I).pptx detail explanation
Project Based Learning (A.I).pptx detail explanationProject Based Learning (A.I).pptx detail explanation
Project Based Learning (A.I).pptx detail explanation
 
Unveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
Unveiling the Tech Salsa of LAMs with Janus in Real-Time ApplicationsUnveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
Unveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
 
Call Girls In Mukherjee Nagar 📱 9999965857 🤩 Delhi 🫦 HOT AND SEXY VVIP 🍎 SE...
Call Girls In Mukherjee Nagar 📱  9999965857  🤩 Delhi 🫦 HOT AND SEXY VVIP 🍎 SE...Call Girls In Mukherjee Nagar 📱  9999965857  🤩 Delhi 🫦 HOT AND SEXY VVIP 🍎 SE...
Call Girls In Mukherjee Nagar 📱 9999965857 🤩 Delhi 🫦 HOT AND SEXY VVIP 🍎 SE...
 
Introduction to Decentralized Applications (dApps)
Introduction to Decentralized Applications (dApps)Introduction to Decentralized Applications (dApps)
Introduction to Decentralized Applications (dApps)
 
Building Real-Time Data Pipelines: Stream & Batch Processing workshop Slide
Building Real-Time Data Pipelines: Stream & Batch Processing workshop SlideBuilding Real-Time Data Pipelines: Stream & Batch Processing workshop Slide
Building Real-Time Data Pipelines: Stream & Batch Processing workshop Slide
 
Salesforce Certified Field Service Consultant
Salesforce Certified Field Service ConsultantSalesforce Certified Field Service Consultant
Salesforce Certified Field Service Consultant
 
The Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdf
The Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdfThe Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdf
The Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdf
 
Adobe Marketo Engage Deep Dives: Using Webhooks to Transfer Data
Adobe Marketo Engage Deep Dives: Using Webhooks to Transfer DataAdobe Marketo Engage Deep Dives: Using Webhooks to Transfer Data
Adobe Marketo Engage Deep Dives: Using Webhooks to Transfer Data
 
Unit 1.1 Excite Part 1, class 9, cbse...
Unit 1.1 Excite Part 1, class 9, cbse...Unit 1.1 Excite Part 1, class 9, cbse...
Unit 1.1 Excite Part 1, class 9, cbse...
 
Alluxio Monthly Webinar | Cloud-Native Model Training on Distributed Data
Alluxio Monthly Webinar | Cloud-Native Model Training on Distributed DataAlluxio Monthly Webinar | Cloud-Native Model Training on Distributed Data
Alluxio Monthly Webinar | Cloud-Native Model Training on Distributed Data
 
What is Binary Language? Computer Number Systems
What is Binary Language?  Computer Number SystemsWhat is Binary Language?  Computer Number Systems
What is Binary Language? Computer Number Systems
 
Unlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language ModelsUnlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language Models
 
EY_Graph Database Powered Sustainability
EY_Graph Database Powered SustainabilityEY_Graph Database Powered Sustainability
EY_Graph Database Powered Sustainability
 
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...
 
HR Software Buyers Guide in 2024 - HRSoftware.com
HR Software Buyers Guide in 2024 - HRSoftware.comHR Software Buyers Guide in 2024 - HRSoftware.com
HR Software Buyers Guide in 2024 - HRSoftware.com
 
TECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service providerTECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service provider
 
Exploring iOS App Development: Simplifying the Process
Exploring iOS App Development: Simplifying the ProcessExploring iOS App Development: Simplifying the Process
Exploring iOS App Development: Simplifying the Process
 
5 Signs You Need a Fashion PLM Software.pdf
5 Signs You Need a Fashion PLM Software.pdf5 Signs You Need a Fashion PLM Software.pdf
5 Signs You Need a Fashion PLM Software.pdf
 

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.