SlideShare ist ein Scribd-Unternehmen logo
1 von 60
AN OVERVIEW
OF
SELENIUM WEBDRIVER
ANURAJ S.L
Lead QA Engineer
What is Selenium?
Is that what we are looking for ?

What is Selenium?
Selenium is a free (open
source) automated testing suite
for web applications across
different browsers and
platforms.
In short it automates browser.
That’s it.
SELENIUM AUTOMATES BROWSERS
ALL MAJOR BROWSERS
ON ALL MAJOR (DESKTOP) OPERATING SYSTEMS
… AND MOBILE*
* Via Appium, Selendroid, ios-driver and WP driver.
No Proprietary IDE / Language
Who developed Selenium?
Who developed Selenium?
Since Selenium is a collection of
different tools, it had different
developers as well. Some key
contributors
Jason Huggins
Patrick Lightbody
Shinya Kasatani
Why the name Selenium ?
Why Selenium ?
It came from a joke which Jason cracked one time to
his team. Another automated testing framework was
popular during Selenium's development, and it was by
the company called Mercury Interactive (yes, the
company who originally made QTP before it was
acquired by HP). Since Selenium is a well-known
antidote for Mercury poisoning, Jason suggested that
name.
Why Selenium ?
The name, Selenium, was
selected because selenium
mineral supplements serve as
a cure for mercury poisoning,
Huggins explained.
Why do we Automate ?
Why do we Automate ?
What do we do with Selenium ?
Components of Selenium
It has mainly four components.
 Selenium Integrated Development Environment (IDE)
 Selenium Remote Control (RC)
 WebDriver
 Selenium Grid
Selenium IDE
Components of Selenium
Selenium IDE
PROS:
• No programming skills required
• Easy record and playback
• Step by step debugger
• Play tests on any browser
• Export tests as Webdriver tests
• Extensible
CONS:
• Based on Selenium Core
• No code reuse
• No iterations and conditional statements
• No exception handling
• No error recovery
A Firefox Add-on for recording, editing and running tests.
Over 10M downloads to date!
Selenium IDE
PROS:
• No programming skills required
• Easy record and playback
• Step by step debugger
• Play tests on any browser
• Export tests as Webdriver tests
• Extensible
CONS:
• Based on Selenium Core
• No code reuse
• No iterations and conditional statements
• No exception handling
• No error recovery
A Firefox Add-on for recording, editing and running tests.
Over 10M downloads to date!
Selenium RC
Components of Selenium
Selenium RC
•You first need to launch a separate application called Selenium Remote Control (RC) Server.
•The Selenium RC Server acts as a "middleman" between your Selenium commands and your browser.
•When you begin testing, Selenium RC Server "injects" a Javascript program called Selenium Core into the browser.
•Once injected, Selenium Core will start receiving instructions relayed by the RC Server from your test program.
•When the instructions are received, Selenium Core will execute them as Javascript commands.
•The browser will obey the instructions of Selenium Core, and will relay its response to the RC Server.
•The RC Server will receive the response of the browser and then display the results to you.
•RC Server will fetch the next instruction from your test script to repeat the whole cycle .
Selenium RC
Selenium 2
Selenium
WebDriver
Selenium
Grid
Selenium
IDE
Browser
Automation API
Local + Remote
Centrally managed
parallel execution in
diverse environments
A FF record-playback
tool mostly used for
fast prototyping
Selenium WebDriver
Components of Selenium
What is WebDriver ?
What is WebDriver ?
WebDriver is a web automation
framework that allows you to execute
your tests against different
browsers.
IEDriverServer.exe
XPCOM
COM
webdriver.xpi
Selenium WebDriver
What is WebDriver ?
Have you really understood
What actually is WebDriver?
What is WebDriver ?
The official site says that:
“WebDriver is a tool for automating web application testing, and in particular to verify that they work as expected.
It aims to provide a friendly API that’s easy to explore and understand, easier to use than the Selenium-RC (1.0)
API, which will help to make your tests easier to read and maintain.
It’s not tied to any particular test framework, so it can be used equally well in a unit testing or from a plain old
“main” method.”
What is WebDriver ?
Generally there might have questions about this definition.
What is a framework?
What is an API?
How does Selenium RC works?
What is unit testing ?
Too many questions instead of an answer
What is WebDriver ?
Is there an easier way of
understanding what
WebDriver test automation
is?
What is WebDriver ?
Can test automation with Selenium WebDriver be explained in very simple terms so that everyone can
understand it, even without having any technical knowledge?
An easy way of explaining how a new thing is through an analogy with something else that
you already know.
WebDriver test
automation is like driving
a taxi !!!

What is WebDriver ?
WebDriver test
automation is like driving
a taxi !!!

What is WebDriver ?
REALLY ????
What is WebDriver ?
The WebDriver points to the analogy.
Everyone knows what a driver is and what he does.
Many people drive a car.
Those who don't drive a car use the services of taxi drivers.
What is WebDriver ?
Who participates in taxi driving?
3 actors are involved:
1. The customer
2. The taxi driver
3. The car
What is WebDriver ?
What happens while driving a taxi?
Dialogues between the 3 actors involved.
So this is the analogy
used to explain test
automation with
WebDriver.
What is WebDriver ?
Test automation with WebDriver is like driving a taxi.
It happens through dialogues between the 3 actors involved.
What is WebDriver ?
Lets have a closer look at taxi driving.
A customer gets into a cab.
He gives instructions to the taxi driver about
1) the address and
2) the route to take
What is WebDriver ?
Now the cab driver drives the taxi, the car in this case.
While driving the taxi, the driver gives commands to the car
using the wheel, pedals, etc.
What is WebDriver ?
The driver receives information about the cab’s status on the
meters and makes decisions based on it.
The car executes the taxi driver commands to get to the desired
address.
How does this help with
understanding test
automation ?
What is WebDriver ?
What is WebDriver ?
Let's ask about test automation the same questions asked for
driving a taxi.
Who participates in test automation?
There are 3 actors in test automation with WebDriver:
1. tester that writes the automation code
2. browser driver
3. browser
What is WebDriver ?
What happens during test automation?
Dialogue between the 3 actors involved.
How do the analogy between
taxi driving and web driver
test automation work?
What is WebDriver ?
How do the analogy between
taxi driving and web driver
test automation work?
What is WebDriver ?
Let's see:
A test engineer is like a taxi customer.
The test automation code is like the customer instructions to
the taxi driver.
The browser driver object is like the taxi driver.
The browser is like a car.
Does it start making sense?
Taxi driving versus test
automation?
What is WebDriver ?
What is WebDriver ?
Let's have a closer look at test automation.
The test engineer writes code with instructions for the browser
driver object.
He tells the browser driver object to
1) open the site and
2) interact with the site elements.
What is WebDriver ?
The browser driver drives the browser.
It does this by sending commands to the browser.
What is WebDriver ?
The browser driver receives information from the browser about
• status of site elements (are they visible, are they enabled)
• values of site elements
and makes decisions based on it.
The browser executes the commands received from the browser
driver.
Is the analogy clear now?
What is WebDriver ?
WebDriver Vs Selenium RC
Both WebDriver and Selenium RC have following features:
They both allow you to use a programming language in designing your
test scripts.
They both allow you to run your tests against different browsers.
So how do they differ ?
WebDriver Vs Selenium RC
Architecture : WebDriver's architecture is simpler than Selenium
RC's.
It controls the browser from the OS level. All you need are your programming
language's IDE (which contains your Selenium commands) and a browser.
WebDriver Vs Selenium RC
Speed:
WebDriver Vs Selenium RC
Real-life Interaction:
WebDriver Vs Selenium RC
WebDriver Vs Selenium RC
References
 Guru 99 - http://www.guru99.com
 Test-able Blog - http://test-able.blogspot.in
THANK YOU !!!
Thank You !!!

Weitere ähnliche Inhalte

Was ist angesagt?

Selenium test automation
Selenium test automationSelenium test automation
Selenium test automationSrikanth Vuriti
 
Automation Testing using Selenium Webdriver
Automation Testing using Selenium WebdriverAutomation Testing using Selenium Webdriver
Automation Testing using Selenium WebdriverPankaj Biswas
 
Automation - web testing with selenium
Automation - web testing with seleniumAutomation - web testing with selenium
Automation - web testing with seleniumTzirla Rozental
 
Selenium- A Software Testing Tool
Selenium- A Software Testing ToolSelenium- A Software Testing Tool
Selenium- A Software Testing ToolZeba Tahseen
 
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
 
Automated Web Testing Using Selenium
Automated Web Testing Using SeleniumAutomated Web Testing Using Selenium
Automated Web Testing Using SeleniumWeifeng Zhang
 
Selenium Presentation at Engineering Colleges
Selenium Presentation at Engineering CollegesSelenium Presentation at Engineering Colleges
Selenium Presentation at Engineering CollegesVijay Rangaiah
 
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 introduction
Selenium introductionSelenium introduction
Selenium introductionPankaj Dubey
 
Automation Testing using Selenium
Automation Testing using SeleniumAutomation Testing using Selenium
Automation Testing using SeleniumNaresh Chintalcheru
 
Test automation using selenium
Test automation using seleniumTest automation using selenium
Test automation using seleniumshreyas JC
 

Was ist angesagt? (20)

Selenium
SeleniumSelenium
Selenium
 
Selenium test automation
Selenium test automationSelenium test automation
Selenium test automation
 
Selenium ppt
Selenium pptSelenium ppt
Selenium ppt
 
Automation Testing using Selenium Webdriver
Automation Testing using Selenium WebdriverAutomation Testing using Selenium Webdriver
Automation Testing using Selenium Webdriver
 
Selenium ppt
Selenium pptSelenium ppt
Selenium ppt
 
Selenium Concepts
Selenium ConceptsSelenium Concepts
Selenium Concepts
 
Automation - web testing with selenium
Automation - web testing with seleniumAutomation - web testing with selenium
Automation - web testing with selenium
 
Selenium- A Software Testing Tool
Selenium- A Software Testing ToolSelenium- A Software Testing Tool
Selenium- A Software Testing Tool
 
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 ...
 
Automation Testing by Selenium Web Driver
Automation Testing by Selenium Web DriverAutomation Testing by Selenium Web Driver
Automation Testing by Selenium Web Driver
 
Selenium WebDriver
Selenium WebDriverSelenium WebDriver
Selenium WebDriver
 
Automated Web Testing Using Selenium
Automated Web Testing Using SeleniumAutomated Web Testing Using Selenium
Automated Web Testing Using Selenium
 
Selenium Presentation at Engineering Colleges
Selenium Presentation at Engineering CollegesSelenium Presentation at Engineering Colleges
Selenium Presentation at Engineering Colleges
 
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
 
Introduction to selenium
Introduction to seleniumIntroduction to selenium
Introduction to selenium
 
Selenium introduction
Selenium introductionSelenium introduction
Selenium introduction
 
Automation Testing using Selenium
Automation Testing using SeleniumAutomation Testing using Selenium
Automation Testing using Selenium
 
Test automation using selenium
Test automation using seleniumTest automation using selenium
Test automation using selenium
 
Selenium WebDriver training
Selenium WebDriver trainingSelenium WebDriver training
Selenium WebDriver training
 
Selenium
SeleniumSelenium
Selenium
 

Andere mochten auch

Introduction to Selenium Webdriver - SpringPeople
Introduction to Selenium Webdriver - SpringPeopleIntroduction to Selenium Webdriver - SpringPeople
Introduction to Selenium Webdriver - SpringPeopleSpringPeople
 
Webinar: Selenium WebDriver - Automation Uncomplicated
Webinar: Selenium WebDriver - Automation UncomplicatedWebinar: Selenium WebDriver - Automation Uncomplicated
Webinar: Selenium WebDriver - Automation UncomplicatedEdureka!
 
Robot Framework Dos And Don'ts
Robot Framework Dos And Don'tsRobot Framework Dos And Don'ts
Robot Framework Dos And Don'tsPekka Klärck
 
An Overview of Selenium
An Overview of SeleniumAn Overview of Selenium
An Overview of Seleniumadamcarmi
 
Technical Debt 101
Technical Debt 101Technical Debt 101
Technical Debt 101Intechnica
 
Selenium IDE Introduction, Installation and Working
Selenium IDE Introduction, Installation and WorkingSelenium IDE Introduction, Installation and Working
Selenium IDE Introduction, Installation and WorkingDisha Srivastava
 
Managing technical debt
Managing technical debtManaging technical debt
Managing technical debtFadi Stephan
 
An introduction to PhantomJS: A headless browser for automation test.
An introduction to PhantomJS: A headless browser for automation test.An introduction to PhantomJS: A headless browser for automation test.
An introduction to PhantomJS: A headless browser for automation test.BugRaptors
 
Phantom js quick start
Phantom js quick startPhantom js quick start
Phantom js quick startji guang
 
Owning Web Performance with PhantomJS 2 - Fluent 2016
Owning Web Performance with PhantomJS 2 - Fluent 2016Owning Web Performance with PhantomJS 2 - Fluent 2016
Owning Web Performance with PhantomJS 2 - Fluent 2016Wesley Hales
 
Introduction to Robot Framework
Introduction to Robot FrameworkIntroduction to Robot Framework
Introduction to Robot FrameworkCarl Su
 
Identifying and Managing Technical Debt
Identifying and Managing Technical DebtIdentifying and Managing Technical Debt
Identifying and Managing Technical Debtzazworka
 
Introduction to PhantomJS
Introduction to PhantomJSIntroduction to PhantomJS
Introduction to PhantomJSErol Selitektay
 
UiPath - Business Process Automation Software
UiPath - Business Process Automation SoftwareUiPath - Business Process Automation Software
UiPath - Business Process Automation SoftwareDeskover Soft
 
Selenium RC: Automated Testing of Modern Web Applications
Selenium RC: Automated Testing of Modern Web ApplicationsSelenium RC: Automated Testing of Modern Web Applications
Selenium RC: Automated Testing of Modern Web Applicationsqooxdoo
 
Selenium 2 - PyCon 2011
Selenium 2 - PyCon 2011Selenium 2 - PyCon 2011
Selenium 2 - PyCon 2011hugs
 
Selenium WebDriver with C#
Selenium WebDriver with C#Selenium WebDriver with C#
Selenium WebDriver with C#srivinayak
 

Andere mochten auch (20)

Introduction to Selenium Webdriver - SpringPeople
Introduction to Selenium Webdriver - SpringPeopleIntroduction to Selenium Webdriver - SpringPeople
Introduction to Selenium Webdriver - SpringPeople
 
Webinar: Selenium WebDriver - Automation Uncomplicated
Webinar: Selenium WebDriver - Automation UncomplicatedWebinar: Selenium WebDriver - Automation Uncomplicated
Webinar: Selenium WebDriver - Automation Uncomplicated
 
Robot Framework Dos And Don'ts
Robot Framework Dos And Don'tsRobot Framework Dos And Don'ts
Robot Framework Dos And Don'ts
 
An Overview of Selenium
An Overview of SeleniumAn Overview of Selenium
An Overview of Selenium
 
Technical Debt 101
Technical Debt 101Technical Debt 101
Technical Debt 101
 
Selenium IDE Introduction, Installation and Working
Selenium IDE Introduction, Installation and WorkingSelenium IDE Introduction, Installation and Working
Selenium IDE Introduction, Installation and Working
 
Managing technical debt
Managing technical debtManaging technical debt
Managing technical debt
 
An introduction to PhantomJS: A headless browser for automation test.
An introduction to PhantomJS: A headless browser for automation test.An introduction to PhantomJS: A headless browser for automation test.
An introduction to PhantomJS: A headless browser for automation test.
 
Selenium topic 3 -Web Driver Basics
Selenium topic 3 -Web Driver BasicsSelenium topic 3 -Web Driver Basics
Selenium topic 3 -Web Driver Basics
 
Phantom js quick start
Phantom js quick startPhantom js quick start
Phantom js quick start
 
Owning Web Performance with PhantomJS 2 - Fluent 2016
Owning Web Performance with PhantomJS 2 - Fluent 2016Owning Web Performance with PhantomJS 2 - Fluent 2016
Owning Web Performance with PhantomJS 2 - Fluent 2016
 
Introduction to Robot Framework
Introduction to Robot FrameworkIntroduction to Robot Framework
Introduction to Robot Framework
 
Identifying and Managing Technical Debt
Identifying and Managing Technical DebtIdentifying and Managing Technical Debt
Identifying and Managing Technical Debt
 
testng
testngtestng
testng
 
Introduction to PhantomJS
Introduction to PhantomJSIntroduction to PhantomJS
Introduction to PhantomJS
 
UiPath - Business Process Automation Software
UiPath - Business Process Automation SoftwareUiPath - Business Process Automation Software
UiPath - Business Process Automation Software
 
Selenium RC: Automated Testing of Modern Web Applications
Selenium RC: Automated Testing of Modern Web ApplicationsSelenium RC: Automated Testing of Modern Web Applications
Selenium RC: Automated Testing of Modern Web Applications
 
Selenium
SeleniumSelenium
Selenium
 
Selenium 2 - PyCon 2011
Selenium 2 - PyCon 2011Selenium 2 - PyCon 2011
Selenium 2 - PyCon 2011
 
Selenium WebDriver with C#
Selenium WebDriver with C#Selenium WebDriver with C#
Selenium WebDriver with C#
 

Ähnlich wie An overview of selenium webdriver

A Definitive Guide to Mastering Selenium WebDriver Automation Effectively.pptx
A Definitive Guide to Mastering Selenium WebDriver Automation Effectively.pptxA Definitive Guide to Mastering Selenium WebDriver Automation Effectively.pptx
A Definitive Guide to Mastering Selenium WebDriver Automation Effectively.pptxMatthew Allen
 
selenium-webdriver-interview-questions.pdf
selenium-webdriver-interview-questions.pdfselenium-webdriver-interview-questions.pdf
selenium-webdriver-interview-questions.pdfAnuragMourya8
 
Designing an effective hybrid apps automation framework
Designing an effective hybrid apps automation frameworkDesigning an effective hybrid apps automation framework
Designing an effective hybrid apps automation frameworkAndrea Tino
 
Introduction to APIs & how to automate APIs testing with selenium web driver?
Introduction to APIs & how to automate APIs testing with selenium web driver?Introduction to APIs & how to automate APIs testing with selenium web driver?
Introduction to APIs & how to automate APIs testing with selenium web driver?BugRaptors
 
Selenium Interview Questions And Answers | Selenium Interview Questions | Sel...
Selenium Interview Questions And Answers | Selenium Interview Questions | Sel...Selenium Interview Questions And Answers | Selenium Interview Questions | Sel...
Selenium Interview Questions And Answers | Selenium Interview Questions | Sel...Simplilearn
 
Test Automation Using Selenium
Test Automation Using SeleniumTest Automation Using Selenium
Test Automation Using SeleniumNikhil Kapoor
 
What is Selenium Introduction to Selenium Testing.pptx
What is Selenium Introduction to Selenium Testing.pptxWhat is Selenium Introduction to Selenium Testing.pptx
What is Selenium Introduction to Selenium Testing.pptxSyntax Technologies
 
Python selenium
Python seleniumPython selenium
Python seleniumDucat
 
Introduction to Selenium Automation
Introduction to Selenium AutomationIntroduction to Selenium Automation
Introduction to Selenium AutomationMindfire Solutions
 
Selenide vs. Selenium: The War Of Technologies
Selenide vs. Selenium: The War Of TechnologiesSelenide vs. Selenium: The War Of Technologies
Selenide vs. Selenium: The War Of TechnologiesBugRaptors
 
Selenium Web Driver Tutorial for Cross Browser Testing
Selenium Web Driver Tutorial for Cross Browser TestingSelenium Web Driver Tutorial for Cross Browser Testing
Selenium Web Driver Tutorial for Cross Browser TestingSarah Elson
 
Web driver interface
Web driver interfaceWeb driver interface
Web driver interfaceDucat
 
test-automation-selenium-160216124839.pptx
test-automation-selenium-160216124839.pptxtest-automation-selenium-160216124839.pptx
test-automation-selenium-160216124839.pptxSyedZaeem9
 
Selenium Webdriver Interview Questions
Selenium Webdriver Interview QuestionsSelenium Webdriver Interview Questions
Selenium Webdriver Interview QuestionsJai Singh
 
Android Automation Testing with Selendroid
Android Automation Testing with SelendroidAndroid Automation Testing with Selendroid
Android Automation Testing with SelendroidVikas Thange
 
The history of selenium
The history of seleniumThe history of selenium
The history of seleniumArun Motoori
 

Ähnlich wie An overview of selenium webdriver (20)

A Definitive Guide to Mastering Selenium WebDriver Automation Effectively.pptx
A Definitive Guide to Mastering Selenium WebDriver Automation Effectively.pptxA Definitive Guide to Mastering Selenium WebDriver Automation Effectively.pptx
A Definitive Guide to Mastering Selenium WebDriver Automation Effectively.pptx
 
selenium-webdriver-interview-questions.pdf
selenium-webdriver-interview-questions.pdfselenium-webdriver-interview-questions.pdf
selenium-webdriver-interview-questions.pdf
 
Designing an effective hybrid apps automation framework
Designing an effective hybrid apps automation frameworkDesigning an effective hybrid apps automation framework
Designing an effective hybrid apps automation framework
 
Introduction to APIs & how to automate APIs testing with selenium web driver?
Introduction to APIs & how to automate APIs testing with selenium web driver?Introduction to APIs & how to automate APIs testing with selenium web driver?
Introduction to APIs & how to automate APIs testing with selenium web driver?
 
Selenium Interview Questions And Answers | Selenium Interview Questions | Sel...
Selenium Interview Questions And Answers | Selenium Interview Questions | Sel...Selenium Interview Questions And Answers | Selenium Interview Questions | Sel...
Selenium Interview Questions And Answers | Selenium Interview Questions | Sel...
 
Test Automation Using Selenium
Test Automation Using SeleniumTest Automation Using Selenium
Test Automation Using Selenium
 
What is Selenium Introduction to Selenium Testing.pptx
What is Selenium Introduction to Selenium Testing.pptxWhat is Selenium Introduction to Selenium Testing.pptx
What is Selenium Introduction to Selenium Testing.pptx
 
Python selenium
Python seleniumPython selenium
Python selenium
 
Introduction to Selenium Automation
Introduction to Selenium AutomationIntroduction to Selenium Automation
Introduction to Selenium Automation
 
Selenide vs. Selenium: The War Of Technologies
Selenide vs. Selenium: The War Of TechnologiesSelenide vs. Selenium: The War Of Technologies
Selenide vs. Selenium: The War Of Technologies
 
Selenium WebDriver FAQ's
Selenium WebDriver FAQ'sSelenium WebDriver FAQ's
Selenium WebDriver FAQ's
 
Selenium Web Driver Tutorial for Cross Browser Testing
Selenium Web Driver Tutorial for Cross Browser TestingSelenium Web Driver Tutorial for Cross Browser Testing
Selenium Web Driver Tutorial for Cross Browser Testing
 
Web driver interface
Web driver interfaceWeb driver interface
Web driver interface
 
test-automation-selenium-160216124839.pptx
test-automation-selenium-160216124839.pptxtest-automation-selenium-160216124839.pptx
test-automation-selenium-160216124839.pptx
 
Selenium Webdriver Interview Questions
Selenium Webdriver Interview QuestionsSelenium Webdriver Interview Questions
Selenium Webdriver Interview Questions
 
Selenium
SeleniumSelenium
Selenium
 
7.pdf
7.pdf7.pdf
7.pdf
 
Android Automation Testing with Selendroid
Android Automation Testing with SelendroidAndroid Automation Testing with Selendroid
Android Automation Testing with Selendroid
 
Selenium presentation
Selenium presentationSelenium presentation
Selenium presentation
 
The history of selenium
The history of seleniumThe history of selenium
The history of selenium
 

Kürzlich hochgeladen

cpct NetworkING BASICS AND NETWORK TOOL.ppt
cpct NetworkING BASICS AND NETWORK TOOL.pptcpct NetworkING BASICS AND NETWORK TOOL.ppt
cpct NetworkING BASICS AND NETWORK TOOL.pptrcbcrtm
 
Software Project Health Check: Best Practices and Techniques for Your Product...
Software Project Health Check: Best Practices and Techniques for Your Product...Software Project Health Check: Best Practices and Techniques for Your Product...
Software Project Health Check: Best Practices and Techniques for Your Product...Velvetech LLC
 
英国UN学位证,北安普顿大学毕业证书1:1制作
英国UN学位证,北安普顿大学毕业证书1:1制作英国UN学位证,北安普顿大学毕业证书1:1制作
英国UN学位证,北安普顿大学毕业证书1:1制作qr0udbr0
 
Catch the Wave: SAP Event-Driven and Data Streaming for the Intelligence Ente...
Catch the Wave: SAP Event-Driven and Data Streaming for the Intelligence Ente...Catch the Wave: SAP Event-Driven and Data Streaming for the Intelligence Ente...
Catch the Wave: SAP Event-Driven and Data Streaming for the Intelligence Ente...confluent
 
SensoDat: Simulation-based Sensor Dataset of Self-driving Cars
SensoDat: Simulation-based Sensor Dataset of Self-driving CarsSensoDat: Simulation-based Sensor Dataset of Self-driving Cars
SensoDat: Simulation-based Sensor Dataset of Self-driving CarsChristian Birchler
 
Global Identity Enrolment and Verification Pro Solution - Cizo Technology Ser...
Global Identity Enrolment and Verification Pro Solution - Cizo Technology Ser...Global Identity Enrolment and Verification Pro Solution - Cizo Technology Ser...
Global Identity Enrolment and Verification Pro Solution - Cizo Technology Ser...Cizo Technology Services
 
Balasore Best It Company|| Top 10 IT Company || Balasore Software company Odisha
Balasore Best It Company|| Top 10 IT Company || Balasore Software company OdishaBalasore Best It Company|| Top 10 IT Company || Balasore Software company Odisha
Balasore Best It Company|| Top 10 IT Company || Balasore Software company Odishasmiwainfosol
 
What is Fashion PLM and Why Do You Need It
What is Fashion PLM and Why Do You Need ItWhat is Fashion PLM and Why Do You Need It
What is Fashion PLM and Why Do You Need ItWave PLM
 
PREDICTING RIVER WATER QUALITY ppt presentation
PREDICTING  RIVER  WATER QUALITY  ppt presentationPREDICTING  RIVER  WATER QUALITY  ppt presentation
PREDICTING RIVER WATER QUALITY ppt presentationvaddepallysandeep122
 
Taming Distributed Systems: Key Insights from Wix's Large-Scale Experience - ...
Taming Distributed Systems: Key Insights from Wix's Large-Scale Experience - ...Taming Distributed Systems: Key Insights from Wix's Large-Scale Experience - ...
Taming Distributed Systems: Key Insights from Wix's Large-Scale Experience - ...Natan Silnitsky
 
CRM Contender Series: HubSpot vs. Salesforce
CRM Contender Series: HubSpot vs. SalesforceCRM Contender Series: HubSpot vs. Salesforce
CRM Contender Series: HubSpot vs. SalesforceBrainSell Technologies
 
GOING AOT WITH GRAALVM – DEVOXX GREECE.pdf
GOING AOT WITH GRAALVM – DEVOXX GREECE.pdfGOING AOT WITH GRAALVM – DEVOXX GREECE.pdf
GOING AOT WITH GRAALVM – DEVOXX GREECE.pdfAlina Yurenko
 
Open Source Summit NA 2024: Open Source Cloud Costs - OpenCost's Impact on En...
Open Source Summit NA 2024: Open Source Cloud Costs - OpenCost's Impact on En...Open Source Summit NA 2024: Open Source Cloud Costs - OpenCost's Impact on En...
Open Source Summit NA 2024: Open Source Cloud Costs - OpenCost's Impact on En...Matt Ray
 
SuccessFactors 1H 2024 Release - Sneak-Peek by Deloitte Germany
SuccessFactors 1H 2024 Release - Sneak-Peek by Deloitte GermanySuccessFactors 1H 2024 Release - Sneak-Peek by Deloitte Germany
SuccessFactors 1H 2024 Release - Sneak-Peek by Deloitte GermanyChristoph Pohl
 
Unveiling Design Patterns: A Visual Guide with UML Diagrams
Unveiling Design Patterns: A Visual Guide with UML DiagramsUnveiling Design Patterns: A Visual Guide with UML Diagrams
Unveiling Design Patterns: A Visual Guide with UML DiagramsAhmed Mohamed
 
React Server Component in Next.js by Hanief Utama
React Server Component in Next.js by Hanief UtamaReact Server Component in Next.js by Hanief Utama
React Server Component in Next.js by Hanief UtamaHanief Utama
 
Precise and Complete Requirements? An Elusive Goal
Precise and Complete Requirements? An Elusive GoalPrecise and Complete Requirements? An Elusive Goal
Precise and Complete Requirements? An Elusive GoalLionel Briand
 
Alfresco TTL#157 - Troubleshooting Made Easy: Deciphering Alfresco mTLS Confi...
Alfresco TTL#157 - Troubleshooting Made Easy: Deciphering Alfresco mTLS Confi...Alfresco TTL#157 - Troubleshooting Made Easy: Deciphering Alfresco mTLS Confi...
Alfresco TTL#157 - Troubleshooting Made Easy: Deciphering Alfresco mTLS Confi...Angel Borroy López
 

Kürzlich hochgeladen (20)

cpct NetworkING BASICS AND NETWORK TOOL.ppt
cpct NetworkING BASICS AND NETWORK TOOL.pptcpct NetworkING BASICS AND NETWORK TOOL.ppt
cpct NetworkING BASICS AND NETWORK TOOL.ppt
 
Software Project Health Check: Best Practices and Techniques for Your Product...
Software Project Health Check: Best Practices and Techniques for Your Product...Software Project Health Check: Best Practices and Techniques for Your Product...
Software Project Health Check: Best Practices and Techniques for Your Product...
 
2.pdf Ejercicios de programación competitiva
2.pdf Ejercicios de programación competitiva2.pdf Ejercicios de programación competitiva
2.pdf Ejercicios de programación competitiva
 
英国UN学位证,北安普顿大学毕业证书1:1制作
英国UN学位证,北安普顿大学毕业证书1:1制作英国UN学位证,北安普顿大学毕业证书1:1制作
英国UN学位证,北安普顿大学毕业证书1:1制作
 
Catch the Wave: SAP Event-Driven and Data Streaming for the Intelligence Ente...
Catch the Wave: SAP Event-Driven and Data Streaming for the Intelligence Ente...Catch the Wave: SAP Event-Driven and Data Streaming for the Intelligence Ente...
Catch the Wave: SAP Event-Driven and Data Streaming for the Intelligence Ente...
 
SensoDat: Simulation-based Sensor Dataset of Self-driving Cars
SensoDat: Simulation-based Sensor Dataset of Self-driving CarsSensoDat: Simulation-based Sensor Dataset of Self-driving Cars
SensoDat: Simulation-based Sensor Dataset of Self-driving Cars
 
Global Identity Enrolment and Verification Pro Solution - Cizo Technology Ser...
Global Identity Enrolment and Verification Pro Solution - Cizo Technology Ser...Global Identity Enrolment and Verification Pro Solution - Cizo Technology Ser...
Global Identity Enrolment and Verification Pro Solution - Cizo Technology Ser...
 
Balasore Best It Company|| Top 10 IT Company || Balasore Software company Odisha
Balasore Best It Company|| Top 10 IT Company || Balasore Software company OdishaBalasore Best It Company|| Top 10 IT Company || Balasore Software company Odisha
Balasore Best It Company|| Top 10 IT Company || Balasore Software company Odisha
 
What is Fashion PLM and Why Do You Need It
What is Fashion PLM and Why Do You Need ItWhat is Fashion PLM and Why Do You Need It
What is Fashion PLM and Why Do You Need It
 
PREDICTING RIVER WATER QUALITY ppt presentation
PREDICTING  RIVER  WATER QUALITY  ppt presentationPREDICTING  RIVER  WATER QUALITY  ppt presentation
PREDICTING RIVER WATER QUALITY ppt presentation
 
Taming Distributed Systems: Key Insights from Wix's Large-Scale Experience - ...
Taming Distributed Systems: Key Insights from Wix's Large-Scale Experience - ...Taming Distributed Systems: Key Insights from Wix's Large-Scale Experience - ...
Taming Distributed Systems: Key Insights from Wix's Large-Scale Experience - ...
 
CRM Contender Series: HubSpot vs. Salesforce
CRM Contender Series: HubSpot vs. SalesforceCRM Contender Series: HubSpot vs. Salesforce
CRM Contender Series: HubSpot vs. Salesforce
 
Odoo Development Company in India | Devintelle Consulting Service
Odoo Development Company in India | Devintelle Consulting ServiceOdoo Development Company in India | Devintelle Consulting Service
Odoo Development Company in India | Devintelle Consulting Service
 
GOING AOT WITH GRAALVM – DEVOXX GREECE.pdf
GOING AOT WITH GRAALVM – DEVOXX GREECE.pdfGOING AOT WITH GRAALVM – DEVOXX GREECE.pdf
GOING AOT WITH GRAALVM – DEVOXX GREECE.pdf
 
Open Source Summit NA 2024: Open Source Cloud Costs - OpenCost's Impact on En...
Open Source Summit NA 2024: Open Source Cloud Costs - OpenCost's Impact on En...Open Source Summit NA 2024: Open Source Cloud Costs - OpenCost's Impact on En...
Open Source Summit NA 2024: Open Source Cloud Costs - OpenCost's Impact on En...
 
SuccessFactors 1H 2024 Release - Sneak-Peek by Deloitte Germany
SuccessFactors 1H 2024 Release - Sneak-Peek by Deloitte GermanySuccessFactors 1H 2024 Release - Sneak-Peek by Deloitte Germany
SuccessFactors 1H 2024 Release - Sneak-Peek by Deloitte Germany
 
Unveiling Design Patterns: A Visual Guide with UML Diagrams
Unveiling Design Patterns: A Visual Guide with UML DiagramsUnveiling Design Patterns: A Visual Guide with UML Diagrams
Unveiling Design Patterns: A Visual Guide with UML Diagrams
 
React Server Component in Next.js by Hanief Utama
React Server Component in Next.js by Hanief UtamaReact Server Component in Next.js by Hanief Utama
React Server Component in Next.js by Hanief Utama
 
Precise and Complete Requirements? An Elusive Goal
Precise and Complete Requirements? An Elusive GoalPrecise and Complete Requirements? An Elusive Goal
Precise and Complete Requirements? An Elusive Goal
 
Alfresco TTL#157 - Troubleshooting Made Easy: Deciphering Alfresco mTLS Confi...
Alfresco TTL#157 - Troubleshooting Made Easy: Deciphering Alfresco mTLS Confi...Alfresco TTL#157 - Troubleshooting Made Easy: Deciphering Alfresco mTLS Confi...
Alfresco TTL#157 - Troubleshooting Made Easy: Deciphering Alfresco mTLS Confi...
 

An overview of selenium webdriver

  • 3.
  • 4. Is that what we are looking for ? 
  • 5. What is Selenium? Selenium is a free (open source) automated testing suite for web applications across different browsers and platforms. In short it automates browser. That’s it.
  • 6. SELENIUM AUTOMATES BROWSERS ALL MAJOR BROWSERS ON ALL MAJOR (DESKTOP) OPERATING SYSTEMS
  • 7. … AND MOBILE* * Via Appium, Selendroid, ios-driver and WP driver.
  • 8. No Proprietary IDE / Language
  • 10. Who developed Selenium? Since Selenium is a collection of different tools, it had different developers as well. Some key contributors Jason Huggins Patrick Lightbody Shinya Kasatani
  • 11. Why the name Selenium ?
  • 12. Why Selenium ? It came from a joke which Jason cracked one time to his team. Another automated testing framework was popular during Selenium's development, and it was by the company called Mercury Interactive (yes, the company who originally made QTP before it was acquired by HP). Since Selenium is a well-known antidote for Mercury poisoning, Jason suggested that name.
  • 13. Why Selenium ? The name, Selenium, was selected because selenium mineral supplements serve as a cure for mercury poisoning, Huggins explained.
  • 14. Why do we Automate ?
  • 15. Why do we Automate ?
  • 16. What do we do with Selenium ?
  • 17. Components of Selenium It has mainly four components.  Selenium Integrated Development Environment (IDE)  Selenium Remote Control (RC)  WebDriver  Selenium Grid
  • 19. Selenium IDE PROS: • No programming skills required • Easy record and playback • Step by step debugger • Play tests on any browser • Export tests as Webdriver tests • Extensible CONS: • Based on Selenium Core • No code reuse • No iterations and conditional statements • No exception handling • No error recovery A Firefox Add-on for recording, editing and running tests. Over 10M downloads to date!
  • 20. Selenium IDE PROS: • No programming skills required • Easy record and playback • Step by step debugger • Play tests on any browser • Export tests as Webdriver tests • Extensible CONS: • Based on Selenium Core • No code reuse • No iterations and conditional statements • No exception handling • No error recovery A Firefox Add-on for recording, editing and running tests. Over 10M downloads to date!
  • 22. Selenium RC •You first need to launch a separate application called Selenium Remote Control (RC) Server. •The Selenium RC Server acts as a "middleman" between your Selenium commands and your browser. •When you begin testing, Selenium RC Server "injects" a Javascript program called Selenium Core into the browser. •Once injected, Selenium Core will start receiving instructions relayed by the RC Server from your test program. •When the instructions are received, Selenium Core will execute them as Javascript commands. •The browser will obey the instructions of Selenium Core, and will relay its response to the RC Server. •The RC Server will receive the response of the browser and then display the results to you. •RC Server will fetch the next instruction from your test script to repeat the whole cycle .
  • 24. Selenium 2 Selenium WebDriver Selenium Grid Selenium IDE Browser Automation API Local + Remote Centrally managed parallel execution in diverse environments A FF record-playback tool mostly used for fast prototyping
  • 27. What is WebDriver ? WebDriver is a web automation framework that allows you to execute your tests against different browsers.
  • 29. What is WebDriver ? Have you really understood What actually is WebDriver?
  • 30. What is WebDriver ? The official site says that: “WebDriver is a tool for automating web application testing, and in particular to verify that they work as expected. It aims to provide a friendly API that’s easy to explore and understand, easier to use than the Selenium-RC (1.0) API, which will help to make your tests easier to read and maintain. It’s not tied to any particular test framework, so it can be used equally well in a unit testing or from a plain old “main” method.”
  • 31. What is WebDriver ? Generally there might have questions about this definition. What is a framework? What is an API? How does Selenium RC works? What is unit testing ? Too many questions instead of an answer
  • 32. What is WebDriver ? Is there an easier way of understanding what WebDriver test automation is?
  • 33. What is WebDriver ? Can test automation with Selenium WebDriver be explained in very simple terms so that everyone can understand it, even without having any technical knowledge? An easy way of explaining how a new thing is through an analogy with something else that you already know.
  • 34. WebDriver test automation is like driving a taxi !!!  What is WebDriver ?
  • 35. WebDriver test automation is like driving a taxi !!!  What is WebDriver ? REALLY ????
  • 36. What is WebDriver ? The WebDriver points to the analogy. Everyone knows what a driver is and what he does. Many people drive a car. Those who don't drive a car use the services of taxi drivers.
  • 37. What is WebDriver ? Who participates in taxi driving? 3 actors are involved: 1. The customer 2. The taxi driver 3. The car
  • 38. What is WebDriver ? What happens while driving a taxi? Dialogues between the 3 actors involved.
  • 39. So this is the analogy used to explain test automation with WebDriver. What is WebDriver ? Test automation with WebDriver is like driving a taxi. It happens through dialogues between the 3 actors involved.
  • 40. What is WebDriver ? Lets have a closer look at taxi driving. A customer gets into a cab. He gives instructions to the taxi driver about 1) the address and 2) the route to take
  • 41. What is WebDriver ? Now the cab driver drives the taxi, the car in this case. While driving the taxi, the driver gives commands to the car using the wheel, pedals, etc.
  • 42. What is WebDriver ? The driver receives information about the cab’s status on the meters and makes decisions based on it. The car executes the taxi driver commands to get to the desired address.
  • 43. How does this help with understanding test automation ? What is WebDriver ?
  • 44. What is WebDriver ? Let's ask about test automation the same questions asked for driving a taxi. Who participates in test automation? There are 3 actors in test automation with WebDriver: 1. tester that writes the automation code 2. browser driver 3. browser
  • 45. What is WebDriver ? What happens during test automation? Dialogue between the 3 actors involved.
  • 46. How do the analogy between taxi driving and web driver test automation work? What is WebDriver ?
  • 47. How do the analogy between taxi driving and web driver test automation work? What is WebDriver ? Let's see: A test engineer is like a taxi customer. The test automation code is like the customer instructions to the taxi driver. The browser driver object is like the taxi driver. The browser is like a car.
  • 48. Does it start making sense? Taxi driving versus test automation? What is WebDriver ?
  • 49. What is WebDriver ? Let's have a closer look at test automation. The test engineer writes code with instructions for the browser driver object. He tells the browser driver object to 1) open the site and 2) interact with the site elements.
  • 50. What is WebDriver ? The browser driver drives the browser. It does this by sending commands to the browser.
  • 51. What is WebDriver ? The browser driver receives information from the browser about • status of site elements (are they visible, are they enabled) • values of site elements and makes decisions based on it. The browser executes the commands received from the browser driver.
  • 52. Is the analogy clear now? What is WebDriver ?
  • 53. WebDriver Vs Selenium RC Both WebDriver and Selenium RC have following features: They both allow you to use a programming language in designing your test scripts. They both allow you to run your tests against different browsers. So how do they differ ?
  • 54. WebDriver Vs Selenium RC Architecture : WebDriver's architecture is simpler than Selenium RC's. It controls the browser from the OS level. All you need are your programming language's IDE (which contains your Selenium commands) and a browser.
  • 56. WebDriver Vs Selenium RC Real-life Interaction:
  • 59. References  Guru 99 - http://www.guru99.com  Test-able Blog - http://test-able.blogspot.in