SlideShare a Scribd company logo
Selenium Tutorial For Beginners | Selenium Automation Testing Tutorial | Selenium | Simplilearn
What’s in it for you?
Manual testing and its limitations
What is Selenium?
Advantages of Selenium testing
Selenium suite of tools
Limitations of Selenium testing
What is Machine Learning?
Manual Testing
Manual Testing
Manual testing mainly involves the physical execution of test cases against
various applications to detect bugs and errors
Manual Testing
One of the primitive methods of
testing a software
Manual Testing
One of the primitive methods of
testing a software
Execution of test cases without using
automation tools
Manual Testing
One of the primitive methods of
testing a software
Execution of test cases without using
automation tools
Does not require the knowledge
of a testing tool
Manual Testing
One of the primitive methods of
testing a software
Execution of test cases without using
automation tools
Does not require the knowledge
of a testing tool
Can practically test any
application
Limitations of Manual Testing
Extremely time consuming
Requires a tester all the time
No support for performance and
batch testing
Limited scope
Manual creation of logs and repositories
High risk of error
Birth of Selenium
Jason Huggins, an engineer at ThoughtWorks, Chicago found the repetitious work of
manual testing strenuous and monotonous
He developed a JavaScript program to automate the testing of a web application
The program was called JavaScriptTestRunner
Initially, the new invention was deployed by the inmates at Thoughtworks. However,
in 2004 it was renamed as Selenium and was made open source
How does Selenium help?
Speed of execution Accurate results Lesser investment in human resources
Time and cost effective Early time to market Supports re-testing
What is Machine Learning?
What is Selenium?
What is Selenium?
Selenium is an automated testing tool used to test web applications across
various browsers
What is Selenium?
Selenium is an automated testing tool used to test web applications across
various browsers
Open source
Consists of a set of software tools
that facilitate testing
Primarily developed in
JavaScript
Provides a record/playback tool for
authoring tests without learning a test
scripting language
Can be coded in many programming
languages
Browser and platform independent
What is Selenium?
Since its inception, Selenium has been a powerful automation testing tool to
test various web applications across different platforms
What is Machine Learning?
Selenium suite of tools
Selenium suite of tools
Selenium IDE
Selenium test
suite
Selenium
suite
Selenium suite of tools
Selenium RCSelenium IDE
Selenium test
suite
Selenium
suite
Selenium suite of tools
Selenium RC
Selenium WebDriver
Selenium IDE
Selenium test
suite
Selenium
suite
Selenium suite of tools
Selenium RC
Selenium WebDriver Selenium Grid
Selenium IDE
Selenium test
suite
Selenium
suite
Selenium 1
Selenium 2
Selenium 3
Selenium 4
Selenium IDE Selenium RC Grid
Selenium IDE *Selenium RC Grid
Selenium IDE
Selenium
WebDriver
Grid
Selenium
WebDriver
Version 4 is just around the corner. However, Alpha has been released!
Selenium versions
Selenium suite of tools
Selenium RC
Selenium WebDriver Selenium Grid
Selenium
suite
Selenium IDE
Let’s learn about Selenium
IDE
Developed by Shinya Kastani in 2006
Firefox add-on that helps create tests
Easy-to-use interface to build automated test scripts
Records user interactions on the browser and exports them as a reusable script
Generally used as a prototyping tool
Selenium IDE
Selenium IDE
Selenium IDE ceased to
exist in August 2017
Firefox upgraded to a new Firefox
55 version which no longer
supported Selenium IDE
Applitools rewrote the old
Selenium IDE and released a
new version recently
Selenium IDE
Re-usability of test scripts Debugging the scripts Selenium side runner
Provision for control flow statements Improved locator functionality
Advancements with new Selenium IDE
Selenium IDE
Typical Selenium Integrated Development Environment
Record
Selenium IDE
Typical Selenium Integrated Development Environment
Tool Bar
Selenium IDE
Typical Selenium Integrated Development Environment
Test script editor
box
Selenium IDE
Typical Selenium Integrated Development Environment
Test execution log
Selenium IDE
Cannot export to
WebDriver scripts yet
Does not support data-
driven testing yet
Cannot perform database
testing
Cannot provide detailed
test report
Limitations of Selenium IDE
Selenium suite of tools
Selenium RC
Selenium WebDriver Selenium Grid
Selenium
suite
Selenium IDE
Let’s learn about Selenium
RC
Selenium RC
The browser works accordingly
Paul Hammant developed Selenium RC
Selenium RC is a server written in Java
RC makes provision for writing application tests in various programming languages like
Java, C#, Perl, PHP, Python etc
The RC server accepts commands from the user program and passes them to the
browser as Selenium-Core JavaScript commands
Selenium RC
RC Server
Web browser injected with Selenium core
• Consider a JavaScript program test.js used by google.com
• The program can access pages within google.com like google.com/mail,
google.com/login
Selenium RC
RC Server
Web browser injected with Selenium core
• However, it cannot access elements of other domains like yahoo.com
• Local copies of Selenium core and the web browser had to be installed so that they
belonged to the same domain
Selenium RC
RC Server
Web browser injected with Selenium core
This is called Same Origin Policy and Selenium RC was introduced to address this limitation.
The server acts as a client configured HTTP proxy and "tricks" the browser into believing that
Selenium Core and the web application being tested come from the same origin
Selenium RC
The time taken for execution of commands is longer
This additional setup complicates the architecture
RC consists of an additional server that acts as a middle man
APIs supported by Selenium RC are redundant and confusing
Shortcomings of Selenium RC
Selenium RC
The time taken for execution of commands is longer
This additional setup complicates the architecture
RC consists of an additional server that acts as a middle man
APIs supported by Selenium RC are redundant and confusing
Shortcomings of Selenium RC
Selenium RC has been deprecated and
remains obsolete
Selenium suite of tools
Selenium RC
Selenium WebDriver Selenium Grid
Selenium
suite
Selenium IDE
Let’s learn about Selenium
WebDriverLet’s learn about
Selenium WebDriver
Selenium WebDriver
Founded by Simon Stewart in 2006
Selenium WebDriver
Founded by Simon Stewart in 2006
It is a cross platform testing framework
Selenium WebDriver
Founded by Simon Stewart in 2006
It is a cross platform testing framework
Programming interface to create and run test cases
Selenium WebDriver
Founded by Simon Stewart in 2006
It is a cross platform testing framework
Programming interface to create and run test cases
Makes provision to perform action on web elements
Selenium WebDriver
Founded by Simon Stewart in 2006
It is a cross platform testing framework
Programming interface to create and run test cases
Makes provision to perform action on web elements
Does not require a core engine like RC
Selenium WebDriver
Founded by Simon Stewart in 2006
It is a cross platform testing framework
Programming interface to create and run test cases
Makes provision to perform action on web elements
Does not require a core engine like RC
Supports Java, C#, PHP, Python, Perl, Ruby etc.
Selenium WebDriver
Founded by Simon Stewart in 2006
It is a cross platform testing framework
Programming interface to create and run test cases
Makes provision to perform action on web elements
Does not require a core engine like RC
Supports Java, C#, PHP, Python, Perl, Ruby etc.
Supports frameworks like TestNG, JUnit, NUnit
Selenium WebDriver
JSON Wire
Protocol
Browser Drivers
• ChromeDriver
• FirefoxDriver
• OperaDriver
• SafariDriver
• EdgeDriver
Browsers
• Chrome browser
• Firefox browser
• Opera browser
• Safari browser
• Edge browser
HTTP over HTTP Server
Selenium test script
(Java, PHP, Perl…)
Architecture of WebDriver
Selenium WebDriver
CrossBrowserTesting
Cannot test mobile applications.
Requires frameworks like Appium
Can only perform sequential testing
hence requires Grid for parallel testing
Limitations of WebDriver
Selenium WebDriver
Limited reporting.
Third party tools like TestNG are
required
Limited image testing
Limitations of WebDriver
Comparison between Selenium RC and WebDriver
Selenium RC
Complex architecture
Selenium
WebDriver
Simple architecture
Comparison between Selenium RC and WebDriver
Selenium RC
Complex architecture
Slower execution
Selenium
WebDriver
Simple architecture
Faster execution
Comparison between Selenium RC and WebDriver
Selenium RC
Complex architecture
Slower execution
Requires an RC server to interact
with the browser
Selenium
WebDriver
Simple architecture
Faster execution
Interacts directly with the
browser
Comparison between Selenium RC and WebDriver
Selenium RC
Complex architecture
Slower execution
Requires an RC server to interact
with the browser
Confusing APIs
Selenium
WebDriver
Simple architecture
Faster execution
Interacts directly with the
browser
Easy to use APIs
Comparison between Selenium RC and WebDriver
Complex architecture
Slower execution
Requires an RC server to interact
with the browser
Confusing APIs
No support for HtmlUnit
browser
Simple architecture
Faster execution
Interacts directly with the
browser
Easy to use APIs
Support for HtmlUnit
browser
Selenium RC
Selenium
WebDriver
Demo
Use case 1: Navigate to the official Simplilearn website.
https://www.simplilearn.com/search?tag=automation+testing&source=opensearch
Use case 2: Click on “Automation testing masters program”
Use case 3: Click on “Selenium 3.0 training”
Selenium suite of tools
Selenium RC
Selenium WebDriver Selenium Grid
Selenium
suite
Selenium IDE
Let’s learn about Selenium
Grid
Selenium Grid
Grid is exceptionally flexible and is integrated with other suite components for simultaneous
execution
Developed by Patrick Lightbody
The main objective of Grid is to minimize test execution time
Grid was designed to distribute commands to different machines simultaneously
Selenium Grid allows the parallel execution of tests on different browsers and different
operating systems
Selenium Grid
The Grid consists of a hub connected to several nodes. It receives the test to be
executed along with information about the operating system and browser to be run on
Selenium Grid
The hub picks a node that conforms to the requirements (browser and platform) and
passes the test to that node
Selenium Grid
The node runs the browser and executes the selenium commands within it
Selenium Grid
Limitations of Grid
Limited scalability
Cannot scale up or down on
demand
Selenium Grid
Limitations of Grid
Limited scalability
Cannot scale up or down on
demand
Static
Since the nodes are pre-
configured, making changes is a
challenge
Selenium Grid
Limitations of Grid
Limited scalability
Cannot scale up or down on
demand
Static
Since the nodes are pre-
configured, making changes is a
challenge
Not cloud-native
Grid cannot use the distributed storage,
automatic fail-over facilities
What is Machine Learning?
Advantages of Selenium testing
Advantages of Selenium testing
Speed and accuracy Open source Supports wide spectrum of
programming languages
Advantages of Selenium testing
Supports various browsers
and operating systems
Ease of implementation Reusability and
add-ons
What is Machine Learning?
Limitations of Selenium testing
Limitations of Selenium testing
No reliable tech support Limited support for image
testing
Tests web applications only
Limitations of Selenium testing
No built in reporting
facility
May require knowledge of
programming languages
Limited test management
What is Machine Learning?
Key Takeaways
Key Takeaways
Selenium Tutorial For Beginners | Selenium Automation Testing Tutorial | Selenium | Simplilearn

More Related Content

What's hot (20)

Selenium ppt
Selenium pptSelenium ppt
Selenium ppt
Anirudh Raja
 
Test Automation and Selenium
Test Automation and SeleniumTest Automation and Selenium
Test Automation and Selenium
Karapet Sarkisyan
 
Introduction to selenium
Introduction to seleniumIntroduction to selenium
Introduction to selenium
Archana Krushnan
 
Automation Testing by Selenium Web Driver
Automation Testing by Selenium Web DriverAutomation Testing by Selenium Web Driver
Automation Testing by Selenium Web Driver
Cuelogic Technologies Pvt. Ltd.
 
Automation Testing using Selenium Webdriver
Automation Testing using Selenium WebdriverAutomation Testing using Selenium Webdriver
Automation Testing using Selenium Webdriver
Pankaj Biswas
 
Test automation using selenium
Test automation using seleniumTest automation using selenium
Test automation using selenium
Cynoteck Technology Solutions Private Limited
 
Automation - web testing with selenium
Automation - web testing with seleniumAutomation - web testing with selenium
Automation - web testing with selenium
Tzirla Rozental
 
Selenium - Introduction
Selenium - IntroductionSelenium - Introduction
Selenium - Introduction
Amr E. Mohamed
 
Selenium
SeleniumSelenium
Selenium
Kalyan ch
 
Web application testing with Selenium
Web application testing with SeleniumWeb application testing with Selenium
Web application testing with Selenium
Kerry Buckley
 
Selenium ppt
Selenium pptSelenium ppt
Selenium ppt
Aneesh Rangarajan
 
Selenium ppt
Selenium pptSelenium ppt
Selenium ppt
Naga Dinesh
 
SELENIUM PPT.pdf
SELENIUM PPT.pdfSELENIUM PPT.pdf
SELENIUM PPT.pdf
RebelSnowball
 
Python selenium
Python seleniumPython selenium
Python selenium
Ducat
 
Selenium ppt
Selenium pptSelenium ppt
Selenium ppt
Pavan Kumar
 
Selenium WebDriver training
Selenium WebDriver trainingSelenium WebDriver training
Selenium WebDriver training
Vijay Krishnan Ramaswamy
 
Selenium
SeleniumSelenium
Selenium
Batch2016
 
Selenium test automation
Selenium test automationSelenium test automation
Selenium test automation
Srikanth Vuriti
 
Selenium Automation Framework
Selenium Automation  FrameworkSelenium Automation  Framework
Selenium Automation Framework
Mindfire Solutions
 
Selenium Concepts
Selenium ConceptsSelenium Concepts
Selenium Concepts
Swati Bansal
 

Similar to Selenium Tutorial For Beginners | Selenium Automation Testing Tutorial | Selenium | Simplilearn (20)

Test Automation Using Selenium
Test Automation Using SeleniumTest Automation Using Selenium
Test Automation Using Selenium
Nikhil Kapoor
 
Selenium
SeleniumSelenium
Selenium
Jahan Murugassan
 
Selenium
SeleniumSelenium
Selenium
Satyam Pandey
 
test-automation-selenium-160216124839.pptx
test-automation-selenium-160216124839.pptxtest-automation-selenium-160216124839.pptx
test-automation-selenium-160216124839.pptx
SyedZaeem9
 
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
Syntax Technologies
 
Selenium
SeleniumSelenium
Selenium
jagdishdevabhaipatel
 
Selenium.pptxgsjdxhasdjhckcjjkdcbdcbvdciosdc
Selenium.pptxgsjdxhasdjhckcjjkdcbdcbvdciosdcSelenium.pptxgsjdxhasdjhckcjjkdcbdcbvdciosdc
Selenium.pptxgsjdxhasdjhckcjjkdcbdcbvdciosdc
sumanthveeramallu9
 
Selenium introduction
Selenium introductionSelenium introduction
Selenium introduction
Pankaj Dubey
 
Basics of selenium containing features of selenium
Basics of selenium containing features of seleniumBasics of selenium containing features of selenium
Basics of selenium containing features of selenium
Madhuri Lonikar
 
Selenium - Introduction
Selenium - IntroductionSelenium - Introduction
Selenium - Introduction
ANKUR-BA
 
Selenium - Introduction
Selenium - IntroductionSelenium - Introduction
Selenium - Introduction
Sachin-QA
 
Selenium Introduction and IDE
Selenium Introduction and IDESelenium Introduction and IDE
Selenium Introduction and IDE
Murageppa-QA
 
Selenium introduction
Selenium introductionSelenium introduction
Selenium introduction
Deepak Kumar Digar
 
Selenium
SeleniumSelenium
Selenium
Daksh Sharma
 
Selenium Automation
Selenium AutomationSelenium Automation
Selenium Automation
Anuradha Malalasena
 
Demystifying Selenium framework
Demystifying Selenium frameworkDemystifying Selenium framework
Demystifying Selenium framework
kunalgate125
 
Reasons behind selenium automation testing popularity
Reasons behind selenium automation testing popularityReasons behind selenium automation testing popularity
Reasons behind selenium automation testing popularity
Ray Business Technologies
 
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
Calidad Infotech
 
Selenium
SeleniumSelenium
Selenium
conect2krish
 
Introduction to Selenium Webdriver - SpringPeople
Introduction to Selenium Webdriver - SpringPeopleIntroduction to Selenium Webdriver - SpringPeople
Introduction to Selenium Webdriver - SpringPeople
SpringPeople
 
Test Automation Using Selenium
Test Automation Using SeleniumTest Automation Using Selenium
Test Automation Using Selenium
Nikhil Kapoor
 
test-automation-selenium-160216124839.pptx
test-automation-selenium-160216124839.pptxtest-automation-selenium-160216124839.pptx
test-automation-selenium-160216124839.pptx
SyedZaeem9
 
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
Syntax Technologies
 
Selenium.pptxgsjdxhasdjhckcjjkdcbdcbvdciosdc
Selenium.pptxgsjdxhasdjhckcjjkdcbdcbvdciosdcSelenium.pptxgsjdxhasdjhckcjjkdcbdcbvdciosdc
Selenium.pptxgsjdxhasdjhckcjjkdcbdcbvdciosdc
sumanthveeramallu9
 
Selenium introduction
Selenium introductionSelenium introduction
Selenium introduction
Pankaj Dubey
 
Basics of selenium containing features of selenium
Basics of selenium containing features of seleniumBasics of selenium containing features of selenium
Basics of selenium containing features of selenium
Madhuri Lonikar
 
Selenium - Introduction
Selenium - IntroductionSelenium - Introduction
Selenium - Introduction
ANKUR-BA
 
Selenium - Introduction
Selenium - IntroductionSelenium - Introduction
Selenium - Introduction
Sachin-QA
 
Selenium Introduction and IDE
Selenium Introduction and IDESelenium Introduction and IDE
Selenium Introduction and IDE
Murageppa-QA
 
Demystifying Selenium framework
Demystifying Selenium frameworkDemystifying Selenium framework
Demystifying Selenium framework
kunalgate125
 
Reasons behind selenium automation testing popularity
Reasons behind selenium automation testing popularityReasons behind selenium automation testing popularity
Reasons behind selenium automation testing popularity
Ray Business Technologies
 
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
Calidad Infotech
 
Introduction to Selenium Webdriver - SpringPeople
Introduction to Selenium Webdriver - SpringPeopleIntroduction to Selenium Webdriver - SpringPeople
Introduction to Selenium Webdriver - SpringPeople
SpringPeople
 
Ad

More from Simplilearn (20)

Top 50 Scrum Master Interview Questions | Scrum Master Interview Questions & ...
Top 50 Scrum Master Interview Questions | Scrum Master Interview Questions & ...Top 50 Scrum Master Interview Questions | Scrum Master Interview Questions & ...
Top 50 Scrum Master Interview Questions | Scrum Master Interview Questions & ...
Simplilearn
 
Bagging Vs Boosting In Machine Learning | Ensemble Learning In Machine Learni...
Bagging Vs Boosting In Machine Learning | Ensemble Learning In Machine Learni...Bagging Vs Boosting In Machine Learning | Ensemble Learning In Machine Learni...
Bagging Vs Boosting In Machine Learning | Ensemble Learning In Machine Learni...
Simplilearn
 
Future Of Social Media | Social Media Trends and Strategies 2025 | Instagram ...
Future Of Social Media | Social Media Trends and Strategies 2025 | Instagram ...Future Of Social Media | Social Media Trends and Strategies 2025 | Instagram ...
Future Of Social Media | Social Media Trends and Strategies 2025 | Instagram ...
Simplilearn
 
SQL Query Optimization | SQL Query Optimization Techniques | SQL Basics | SQL...
SQL Query Optimization | SQL Query Optimization Techniques | SQL Basics | SQL...SQL Query Optimization | SQL Query Optimization Techniques | SQL Basics | SQL...
SQL Query Optimization | SQL Query Optimization Techniques | SQL Basics | SQL...
Simplilearn
 
SQL INterview Questions .pTop 45 SQL Interview Questions And Answers In 2025 ...
SQL INterview Questions .pTop 45 SQL Interview Questions And Answers In 2025 ...SQL INterview Questions .pTop 45 SQL Interview Questions And Answers In 2025 ...
SQL INterview Questions .pTop 45 SQL Interview Questions And Answers In 2025 ...
Simplilearn
 
How To Start Influencer Marketing Business | Influencer Marketing For Beginne...
How To Start Influencer Marketing Business | Influencer Marketing For Beginne...How To Start Influencer Marketing Business | Influencer Marketing For Beginne...
How To Start Influencer Marketing Business | Influencer Marketing For Beginne...
Simplilearn
 
Cyber Security Roadmap 2025 | How To Become Cyber Security Engineer In 2025 |...
Cyber Security Roadmap 2025 | How To Become Cyber Security Engineer In 2025 |...Cyber Security Roadmap 2025 | How To Become Cyber Security Engineer In 2025 |...
Cyber Security Roadmap 2025 | How To Become Cyber Security Engineer In 2025 |...
Simplilearn
 
How To Become An AI And ML Engineer In 2025 | AI Engineer Roadmap | AI ML Car...
How To Become An AI And ML Engineer In 2025 | AI Engineer Roadmap | AI ML Car...How To Become An AI And ML Engineer In 2025 | AI Engineer Roadmap | AI ML Car...
How To Become An AI And ML Engineer In 2025 | AI Engineer Roadmap | AI ML Car...
Simplilearn
 
What Is GitHub Copilot? | How To Use GitHub Copilot? | How does GitHub Copilo...
What Is GitHub Copilot? | How To Use GitHub Copilot? | How does GitHub Copilo...What Is GitHub Copilot? | How To Use GitHub Copilot? | How does GitHub Copilo...
What Is GitHub Copilot? | How To Use GitHub Copilot? | How does GitHub Copilo...
Simplilearn
 
Top 10 Data Analyst Certification For 2025 | Best Data Analyst Certification ...
Top 10 Data Analyst Certification For 2025 | Best Data Analyst Certification ...Top 10 Data Analyst Certification For 2025 | Best Data Analyst Certification ...
Top 10 Data Analyst Certification For 2025 | Best Data Analyst Certification ...
Simplilearn
 
Complete Data Science Roadmap For 2025 | Data Scientist Roadmap For Beginners...
Complete Data Science Roadmap For 2025 | Data Scientist Roadmap For Beginners...Complete Data Science Roadmap For 2025 | Data Scientist Roadmap For Beginners...
Complete Data Science Roadmap For 2025 | Data Scientist Roadmap For Beginners...
Simplilearn
 
Top 7 High Paying AI Certifications Courses For 2025 | Best AI Certifications...
Top 7 High Paying AI Certifications Courses For 2025 | Best AI Certifications...Top 7 High Paying AI Certifications Courses For 2025 | Best AI Certifications...
Top 7 High Paying AI Certifications Courses For 2025 | Best AI Certifications...
Simplilearn
 
Data Cleaning In Data Mining | Step by Step Data Cleaning Process | Data Clea...
Data Cleaning In Data Mining | Step by Step Data Cleaning Process | Data Clea...Data Cleaning In Data Mining | Step by Step Data Cleaning Process | Data Clea...
Data Cleaning In Data Mining | Step by Step Data Cleaning Process | Data Clea...
Simplilearn
 
Top 10 Data Analyst Projects For 2025 | Data Analyst Projects | Data Analysis...
Top 10 Data Analyst Projects For 2025 | Data Analyst Projects | Data Analysis...Top 10 Data Analyst Projects For 2025 | Data Analyst Projects | Data Analysis...
Top 10 Data Analyst Projects For 2025 | Data Analyst Projects | Data Analysis...
Simplilearn
 
AI Engineer Roadmap 2025 | AI Engineer Roadmap For Beginners | AI Engineer Ca...
AI Engineer Roadmap 2025 | AI Engineer Roadmap For Beginners | AI Engineer Ca...AI Engineer Roadmap 2025 | AI Engineer Roadmap For Beginners | AI Engineer Ca...
AI Engineer Roadmap 2025 | AI Engineer Roadmap For Beginners | AI Engineer Ca...
Simplilearn
 
Machine Learning Roadmap 2025 | Machine Learning Engineer Roadmap For Beginne...
Machine Learning Roadmap 2025 | Machine Learning Engineer Roadmap For Beginne...Machine Learning Roadmap 2025 | Machine Learning Engineer Roadmap For Beginne...
Machine Learning Roadmap 2025 | Machine Learning Engineer Roadmap For Beginne...
Simplilearn
 
Kotter's 8-Step Change Model Explained | Kotter's Change Management Model | S...
Kotter's 8-Step Change Model Explained | Kotter's Change Management Model | S...Kotter's 8-Step Change Model Explained | Kotter's Change Management Model | S...
Kotter's 8-Step Change Model Explained | Kotter's Change Management Model | S...
Simplilearn
 
Gen AI Engineer Roadmap For 2025 | How To Become Gen AI Engineer In 2025 | Si...
Gen AI Engineer Roadmap For 2025 | How To Become Gen AI Engineer In 2025 | Si...Gen AI Engineer Roadmap For 2025 | How To Become Gen AI Engineer In 2025 | Si...
Gen AI Engineer Roadmap For 2025 | How To Become Gen AI Engineer In 2025 | Si...
Simplilearn
 
Top 10 Data Analyst Certification For 2025 | Best Data Analyst Certification ...
Top 10 Data Analyst Certification For 2025 | Best Data Analyst Certification ...Top 10 Data Analyst Certification For 2025 | Best Data Analyst Certification ...
Top 10 Data Analyst Certification For 2025 | Best Data Analyst Certification ...
Simplilearn
 
Complete Data Science Roadmap For 2025 | Data Scientist Roadmap For Beginners...
Complete Data Science Roadmap For 2025 | Data Scientist Roadmap For Beginners...Complete Data Science Roadmap For 2025 | Data Scientist Roadmap For Beginners...
Complete Data Science Roadmap For 2025 | Data Scientist Roadmap For Beginners...
Simplilearn
 
Top 50 Scrum Master Interview Questions | Scrum Master Interview Questions & ...
Top 50 Scrum Master Interview Questions | Scrum Master Interview Questions & ...Top 50 Scrum Master Interview Questions | Scrum Master Interview Questions & ...
Top 50 Scrum Master Interview Questions | Scrum Master Interview Questions & ...
Simplilearn
 
Bagging Vs Boosting In Machine Learning | Ensemble Learning In Machine Learni...
Bagging Vs Boosting In Machine Learning | Ensemble Learning In Machine Learni...Bagging Vs Boosting In Machine Learning | Ensemble Learning In Machine Learni...
Bagging Vs Boosting In Machine Learning | Ensemble Learning In Machine Learni...
Simplilearn
 
Future Of Social Media | Social Media Trends and Strategies 2025 | Instagram ...
Future Of Social Media | Social Media Trends and Strategies 2025 | Instagram ...Future Of Social Media | Social Media Trends and Strategies 2025 | Instagram ...
Future Of Social Media | Social Media Trends and Strategies 2025 | Instagram ...
Simplilearn
 
SQL Query Optimization | SQL Query Optimization Techniques | SQL Basics | SQL...
SQL Query Optimization | SQL Query Optimization Techniques | SQL Basics | SQL...SQL Query Optimization | SQL Query Optimization Techniques | SQL Basics | SQL...
SQL Query Optimization | SQL Query Optimization Techniques | SQL Basics | SQL...
Simplilearn
 
SQL INterview Questions .pTop 45 SQL Interview Questions And Answers In 2025 ...
SQL INterview Questions .pTop 45 SQL Interview Questions And Answers In 2025 ...SQL INterview Questions .pTop 45 SQL Interview Questions And Answers In 2025 ...
SQL INterview Questions .pTop 45 SQL Interview Questions And Answers In 2025 ...
Simplilearn
 
How To Start Influencer Marketing Business | Influencer Marketing For Beginne...
How To Start Influencer Marketing Business | Influencer Marketing For Beginne...How To Start Influencer Marketing Business | Influencer Marketing For Beginne...
How To Start Influencer Marketing Business | Influencer Marketing For Beginne...
Simplilearn
 
Cyber Security Roadmap 2025 | How To Become Cyber Security Engineer In 2025 |...
Cyber Security Roadmap 2025 | How To Become Cyber Security Engineer In 2025 |...Cyber Security Roadmap 2025 | How To Become Cyber Security Engineer In 2025 |...
Cyber Security Roadmap 2025 | How To Become Cyber Security Engineer In 2025 |...
Simplilearn
 
How To Become An AI And ML Engineer In 2025 | AI Engineer Roadmap | AI ML Car...
How To Become An AI And ML Engineer In 2025 | AI Engineer Roadmap | AI ML Car...How To Become An AI And ML Engineer In 2025 | AI Engineer Roadmap | AI ML Car...
How To Become An AI And ML Engineer In 2025 | AI Engineer Roadmap | AI ML Car...
Simplilearn
 
What Is GitHub Copilot? | How To Use GitHub Copilot? | How does GitHub Copilo...
What Is GitHub Copilot? | How To Use GitHub Copilot? | How does GitHub Copilo...What Is GitHub Copilot? | How To Use GitHub Copilot? | How does GitHub Copilo...
What Is GitHub Copilot? | How To Use GitHub Copilot? | How does GitHub Copilo...
Simplilearn
 
Top 10 Data Analyst Certification For 2025 | Best Data Analyst Certification ...
Top 10 Data Analyst Certification For 2025 | Best Data Analyst Certification ...Top 10 Data Analyst Certification For 2025 | Best Data Analyst Certification ...
Top 10 Data Analyst Certification For 2025 | Best Data Analyst Certification ...
Simplilearn
 
Complete Data Science Roadmap For 2025 | Data Scientist Roadmap For Beginners...
Complete Data Science Roadmap For 2025 | Data Scientist Roadmap For Beginners...Complete Data Science Roadmap For 2025 | Data Scientist Roadmap For Beginners...
Complete Data Science Roadmap For 2025 | Data Scientist Roadmap For Beginners...
Simplilearn
 
Top 7 High Paying AI Certifications Courses For 2025 | Best AI Certifications...
Top 7 High Paying AI Certifications Courses For 2025 | Best AI Certifications...Top 7 High Paying AI Certifications Courses For 2025 | Best AI Certifications...
Top 7 High Paying AI Certifications Courses For 2025 | Best AI Certifications...
Simplilearn
 
Data Cleaning In Data Mining | Step by Step Data Cleaning Process | Data Clea...
Data Cleaning In Data Mining | Step by Step Data Cleaning Process | Data Clea...Data Cleaning In Data Mining | Step by Step Data Cleaning Process | Data Clea...
Data Cleaning In Data Mining | Step by Step Data Cleaning Process | Data Clea...
Simplilearn
 
Top 10 Data Analyst Projects For 2025 | Data Analyst Projects | Data Analysis...
Top 10 Data Analyst Projects For 2025 | Data Analyst Projects | Data Analysis...Top 10 Data Analyst Projects For 2025 | Data Analyst Projects | Data Analysis...
Top 10 Data Analyst Projects For 2025 | Data Analyst Projects | Data Analysis...
Simplilearn
 
AI Engineer Roadmap 2025 | AI Engineer Roadmap For Beginners | AI Engineer Ca...
AI Engineer Roadmap 2025 | AI Engineer Roadmap For Beginners | AI Engineer Ca...AI Engineer Roadmap 2025 | AI Engineer Roadmap For Beginners | AI Engineer Ca...
AI Engineer Roadmap 2025 | AI Engineer Roadmap For Beginners | AI Engineer Ca...
Simplilearn
 
Machine Learning Roadmap 2025 | Machine Learning Engineer Roadmap For Beginne...
Machine Learning Roadmap 2025 | Machine Learning Engineer Roadmap For Beginne...Machine Learning Roadmap 2025 | Machine Learning Engineer Roadmap For Beginne...
Machine Learning Roadmap 2025 | Machine Learning Engineer Roadmap For Beginne...
Simplilearn
 
Kotter's 8-Step Change Model Explained | Kotter's Change Management Model | S...
Kotter's 8-Step Change Model Explained | Kotter's Change Management Model | S...Kotter's 8-Step Change Model Explained | Kotter's Change Management Model | S...
Kotter's 8-Step Change Model Explained | Kotter's Change Management Model | S...
Simplilearn
 
Gen AI Engineer Roadmap For 2025 | How To Become Gen AI Engineer In 2025 | Si...
Gen AI Engineer Roadmap For 2025 | How To Become Gen AI Engineer In 2025 | Si...Gen AI Engineer Roadmap For 2025 | How To Become Gen AI Engineer In 2025 | Si...
Gen AI Engineer Roadmap For 2025 | How To Become Gen AI Engineer In 2025 | Si...
Simplilearn
 
Top 10 Data Analyst Certification For 2025 | Best Data Analyst Certification ...
Top 10 Data Analyst Certification For 2025 | Best Data Analyst Certification ...Top 10 Data Analyst Certification For 2025 | Best Data Analyst Certification ...
Top 10 Data Analyst Certification For 2025 | Best Data Analyst Certification ...
Simplilearn
 
Complete Data Science Roadmap For 2025 | Data Scientist Roadmap For Beginners...
Complete Data Science Roadmap For 2025 | Data Scientist Roadmap For Beginners...Complete Data Science Roadmap For 2025 | Data Scientist Roadmap For Beginners...
Complete Data Science Roadmap For 2025 | Data Scientist Roadmap For Beginners...
Simplilearn
 
Ad

Recently uploaded (20)

MATERI PPT TOPIK 1 LANDASAN FILOSOFIS PENDIDIKAN
MATERI PPT TOPIK 1 LANDASAN FILOSOFIS PENDIDIKANMATERI PPT TOPIK 1 LANDASAN FILOSOFIS PENDIDIKAN
MATERI PPT TOPIK 1 LANDASAN FILOSOFIS PENDIDIKAN
aditya23173
 
IDF 30min presentation - December 2, 2024.pptx
IDF 30min presentation - December 2, 2024.pptxIDF 30min presentation - December 2, 2024.pptx
IDF 30min presentation - December 2, 2024.pptx
ArneeAgligar
 
BUSINESS QUIZ PRELIMS | QUIZ CLUB OF PSGCAS | 9 SEPTEMBER 2024
BUSINESS QUIZ PRELIMS | QUIZ CLUB OF PSGCAS | 9 SEPTEMBER 2024BUSINESS QUIZ PRELIMS | QUIZ CLUB OF PSGCAS | 9 SEPTEMBER 2024
BUSINESS QUIZ PRELIMS | QUIZ CLUB OF PSGCAS | 9 SEPTEMBER 2024
Quiz Club of PSG College of Arts & Science
 
Diptera: The Two-Winged Wonders, The Fly Squad: Order Diptera.pptx
Diptera: The Two-Winged Wonders, The Fly Squad: Order Diptera.pptxDiptera: The Two-Winged Wonders, The Fly Squad: Order Diptera.pptx
Diptera: The Two-Winged Wonders, The Fly Squad: Order Diptera.pptx
Arshad Shaikh
 
Pests of Rice: Damage, Identification, Life history, and Management.pptx
Pests of Rice: Damage, Identification, Life history, and Management.pptxPests of Rice: Damage, Identification, Life history, and Management.pptx
Pests of Rice: Damage, Identification, Life history, and Management.pptx
Arshad Shaikh
 
LDMMIA Free Reiki Yoga S9 Grad Level Intuition II
LDMMIA Free Reiki Yoga S9 Grad Level Intuition IILDMMIA Free Reiki Yoga S9 Grad Level Intuition II
LDMMIA Free Reiki Yoga S9 Grad Level Intuition II
LDM & Mia eStudios
 
How to Manage & Create a New Department in Odoo 18 Employee
How to Manage & Create a New Department in Odoo 18 EmployeeHow to Manage & Create a New Department in Odoo 18 Employee
How to Manage & Create a New Department in Odoo 18 Employee
Celine George
 
Strengthened Senior High School - Landas Tool Kit.pptx
Strengthened Senior High School - Landas Tool Kit.pptxStrengthened Senior High School - Landas Tool Kit.pptx
Strengthened Senior High School - Landas Tool Kit.pptx
SteffMusniQuiballo
 
Basic English for Communication - Dr Hj Euis Eti Rohaeti Mpd
Basic English for Communication - Dr Hj Euis Eti Rohaeti MpdBasic English for Communication - Dr Hj Euis Eti Rohaeti Mpd
Basic English for Communication - Dr Hj Euis Eti Rohaeti Mpd
Restu Bias Primandhika
 
LDMMIA Reiki Yoga Next Week Grad Updates
LDMMIA Reiki Yoga Next Week Grad UpdatesLDMMIA Reiki Yoga Next Week Grad Updates
LDMMIA Reiki Yoga Next Week Grad Updates
LDM & Mia eStudios
 
Energy Balances Of Oecd Countries 2011 Iea Statistics 1st Edition Oecd
Energy Balances Of Oecd Countries 2011 Iea Statistics 1st Edition OecdEnergy Balances Of Oecd Countries 2011 Iea Statistics 1st Edition Oecd
Energy Balances Of Oecd Countries 2011 Iea Statistics 1st Edition Oecd
razelitouali
 
Unit 3 Poster Sketches with annotations.pptx
Unit 3 Poster Sketches with annotations.pptxUnit 3 Poster Sketches with annotations.pptx
Unit 3 Poster Sketches with annotations.pptx
bobby205207
 
MATERI PPT TOPIK 4 LANDASAN FILOSOFIS PENDIDIKAN
MATERI PPT TOPIK 4 LANDASAN FILOSOFIS PENDIDIKANMATERI PPT TOPIK 4 LANDASAN FILOSOFIS PENDIDIKAN
MATERI PPT TOPIK 4 LANDASAN FILOSOFIS PENDIDIKAN
aditya23173
 
Parenting Teens: Supporting Trust, resilience and independence
Parenting Teens: Supporting Trust, resilience and independenceParenting Teens: Supporting Trust, resilience and independence
Parenting Teens: Supporting Trust, resilience and independence
Pooky Knightsmith
 
Rai dyansty Chach or Brahamn dynasty, History of Dahir History of Sindh NEP.pptx
Rai dyansty Chach or Brahamn dynasty, History of Dahir History of Sindh NEP.pptxRai dyansty Chach or Brahamn dynasty, History of Dahir History of Sindh NEP.pptx
Rai dyansty Chach or Brahamn dynasty, History of Dahir History of Sindh NEP.pptx
Dr. Ravi Shankar Arya Mahila P. G. College, Banaras Hindu University, Varanasi, India.
 
How to Manage Maintenance Request in Odoo 18
How to Manage Maintenance Request in Odoo 18How to Manage Maintenance Request in Odoo 18
How to Manage Maintenance Request in Odoo 18
Celine George
 
Artificial intelligence Presented by JM.
Artificial intelligence Presented by JM.Artificial intelligence Presented by JM.
Artificial intelligence Presented by JM.
jmansha170
 
How to Configure Vendor Management in Lunch App of Odoo 18
How to Configure Vendor Management in Lunch App of Odoo 18How to Configure Vendor Management in Lunch App of Odoo 18
How to Configure Vendor Management in Lunch App of Odoo 18
Celine George
 
EUPHORIA GENERAL QUIZ FINALS | QUIZ CLUB OF PSGCAS | 21 MARCH 2025
EUPHORIA GENERAL QUIZ FINALS | QUIZ CLUB OF PSGCAS | 21 MARCH 2025EUPHORIA GENERAL QUIZ FINALS | QUIZ CLUB OF PSGCAS | 21 MARCH 2025
EUPHORIA GENERAL QUIZ FINALS | QUIZ CLUB OF PSGCAS | 21 MARCH 2025
Quiz Club of PSG College of Arts & Science
 
What are the benefits that dance brings?
What are the benefits that dance brings?What are the benefits that dance brings?
What are the benefits that dance brings?
memi27
 
MATERI PPT TOPIK 1 LANDASAN FILOSOFIS PENDIDIKAN
MATERI PPT TOPIK 1 LANDASAN FILOSOFIS PENDIDIKANMATERI PPT TOPIK 1 LANDASAN FILOSOFIS PENDIDIKAN
MATERI PPT TOPIK 1 LANDASAN FILOSOFIS PENDIDIKAN
aditya23173
 
IDF 30min presentation - December 2, 2024.pptx
IDF 30min presentation - December 2, 2024.pptxIDF 30min presentation - December 2, 2024.pptx
IDF 30min presentation - December 2, 2024.pptx
ArneeAgligar
 
Diptera: The Two-Winged Wonders, The Fly Squad: Order Diptera.pptx
Diptera: The Two-Winged Wonders, The Fly Squad: Order Diptera.pptxDiptera: The Two-Winged Wonders, The Fly Squad: Order Diptera.pptx
Diptera: The Two-Winged Wonders, The Fly Squad: Order Diptera.pptx
Arshad Shaikh
 
Pests of Rice: Damage, Identification, Life history, and Management.pptx
Pests of Rice: Damage, Identification, Life history, and Management.pptxPests of Rice: Damage, Identification, Life history, and Management.pptx
Pests of Rice: Damage, Identification, Life history, and Management.pptx
Arshad Shaikh
 
LDMMIA Free Reiki Yoga S9 Grad Level Intuition II
LDMMIA Free Reiki Yoga S9 Grad Level Intuition IILDMMIA Free Reiki Yoga S9 Grad Level Intuition II
LDMMIA Free Reiki Yoga S9 Grad Level Intuition II
LDM & Mia eStudios
 
How to Manage & Create a New Department in Odoo 18 Employee
How to Manage & Create a New Department in Odoo 18 EmployeeHow to Manage & Create a New Department in Odoo 18 Employee
How to Manage & Create a New Department in Odoo 18 Employee
Celine George
 
Strengthened Senior High School - Landas Tool Kit.pptx
Strengthened Senior High School - Landas Tool Kit.pptxStrengthened Senior High School - Landas Tool Kit.pptx
Strengthened Senior High School - Landas Tool Kit.pptx
SteffMusniQuiballo
 
Basic English for Communication - Dr Hj Euis Eti Rohaeti Mpd
Basic English for Communication - Dr Hj Euis Eti Rohaeti MpdBasic English for Communication - Dr Hj Euis Eti Rohaeti Mpd
Basic English for Communication - Dr Hj Euis Eti Rohaeti Mpd
Restu Bias Primandhika
 
LDMMIA Reiki Yoga Next Week Grad Updates
LDMMIA Reiki Yoga Next Week Grad UpdatesLDMMIA Reiki Yoga Next Week Grad Updates
LDMMIA Reiki Yoga Next Week Grad Updates
LDM & Mia eStudios
 
Energy Balances Of Oecd Countries 2011 Iea Statistics 1st Edition Oecd
Energy Balances Of Oecd Countries 2011 Iea Statistics 1st Edition OecdEnergy Balances Of Oecd Countries 2011 Iea Statistics 1st Edition Oecd
Energy Balances Of Oecd Countries 2011 Iea Statistics 1st Edition Oecd
razelitouali
 
Unit 3 Poster Sketches with annotations.pptx
Unit 3 Poster Sketches with annotations.pptxUnit 3 Poster Sketches with annotations.pptx
Unit 3 Poster Sketches with annotations.pptx
bobby205207
 
MATERI PPT TOPIK 4 LANDASAN FILOSOFIS PENDIDIKAN
MATERI PPT TOPIK 4 LANDASAN FILOSOFIS PENDIDIKANMATERI PPT TOPIK 4 LANDASAN FILOSOFIS PENDIDIKAN
MATERI PPT TOPIK 4 LANDASAN FILOSOFIS PENDIDIKAN
aditya23173
 
Parenting Teens: Supporting Trust, resilience and independence
Parenting Teens: Supporting Trust, resilience and independenceParenting Teens: Supporting Trust, resilience and independence
Parenting Teens: Supporting Trust, resilience and independence
Pooky Knightsmith
 
How to Manage Maintenance Request in Odoo 18
How to Manage Maintenance Request in Odoo 18How to Manage Maintenance Request in Odoo 18
How to Manage Maintenance Request in Odoo 18
Celine George
 
Artificial intelligence Presented by JM.
Artificial intelligence Presented by JM.Artificial intelligence Presented by JM.
Artificial intelligence Presented by JM.
jmansha170
 
How to Configure Vendor Management in Lunch App of Odoo 18
How to Configure Vendor Management in Lunch App of Odoo 18How to Configure Vendor Management in Lunch App of Odoo 18
How to Configure Vendor Management in Lunch App of Odoo 18
Celine George
 
What are the benefits that dance brings?
What are the benefits that dance brings?What are the benefits that dance brings?
What are the benefits that dance brings?
memi27
 

Selenium Tutorial For Beginners | Selenium Automation Testing Tutorial | Selenium | Simplilearn

  • 2. What’s in it for you? Manual testing and its limitations What is Selenium? Advantages of Selenium testing Selenium suite of tools Limitations of Selenium testing
  • 3. What is Machine Learning? Manual Testing
  • 4. Manual Testing Manual testing mainly involves the physical execution of test cases against various applications to detect bugs and errors
  • 5. Manual Testing One of the primitive methods of testing a software
  • 6. Manual Testing One of the primitive methods of testing a software Execution of test cases without using automation tools
  • 7. Manual Testing One of the primitive methods of testing a software Execution of test cases without using automation tools Does not require the knowledge of a testing tool
  • 8. Manual Testing One of the primitive methods of testing a software Execution of test cases without using automation tools Does not require the knowledge of a testing tool Can practically test any application
  • 9. Limitations of Manual Testing Extremely time consuming Requires a tester all the time No support for performance and batch testing Limited scope Manual creation of logs and repositories High risk of error
  • 10. Birth of Selenium Jason Huggins, an engineer at ThoughtWorks, Chicago found the repetitious work of manual testing strenuous and monotonous He developed a JavaScript program to automate the testing of a web application The program was called JavaScriptTestRunner Initially, the new invention was deployed by the inmates at Thoughtworks. However, in 2004 it was renamed as Selenium and was made open source
  • 11. How does Selenium help? Speed of execution Accurate results Lesser investment in human resources Time and cost effective Early time to market Supports re-testing
  • 12. What is Machine Learning? What is Selenium?
  • 13. What is Selenium? Selenium is an automated testing tool used to test web applications across various browsers
  • 14. What is Selenium? Selenium is an automated testing tool used to test web applications across various browsers Open source Consists of a set of software tools that facilitate testing Primarily developed in JavaScript Provides a record/playback tool for authoring tests without learning a test scripting language Can be coded in many programming languages Browser and platform independent
  • 15. What is Selenium? Since its inception, Selenium has been a powerful automation testing tool to test various web applications across different platforms
  • 16. What is Machine Learning? Selenium suite of tools
  • 17. Selenium suite of tools Selenium IDE Selenium test suite Selenium suite
  • 18. Selenium suite of tools Selenium RCSelenium IDE Selenium test suite Selenium suite
  • 19. Selenium suite of tools Selenium RC Selenium WebDriver Selenium IDE Selenium test suite Selenium suite
  • 20. Selenium suite of tools Selenium RC Selenium WebDriver Selenium Grid Selenium IDE Selenium test suite Selenium suite
  • 21. Selenium 1 Selenium 2 Selenium 3 Selenium 4 Selenium IDE Selenium RC Grid Selenium IDE *Selenium RC Grid Selenium IDE Selenium WebDriver Grid Selenium WebDriver Version 4 is just around the corner. However, Alpha has been released! Selenium versions
  • 22. Selenium suite of tools Selenium RC Selenium WebDriver Selenium Grid Selenium suite Selenium IDE Let’s learn about Selenium IDE
  • 23. Developed by Shinya Kastani in 2006 Firefox add-on that helps create tests Easy-to-use interface to build automated test scripts Records user interactions on the browser and exports them as a reusable script Generally used as a prototyping tool Selenium IDE
  • 24. Selenium IDE Selenium IDE ceased to exist in August 2017 Firefox upgraded to a new Firefox 55 version which no longer supported Selenium IDE Applitools rewrote the old Selenium IDE and released a new version recently
  • 25. Selenium IDE Re-usability of test scripts Debugging the scripts Selenium side runner Provision for control flow statements Improved locator functionality Advancements with new Selenium IDE
  • 26. Selenium IDE Typical Selenium Integrated Development Environment Record
  • 27. Selenium IDE Typical Selenium Integrated Development Environment Tool Bar
  • 28. Selenium IDE Typical Selenium Integrated Development Environment Test script editor box
  • 29. Selenium IDE Typical Selenium Integrated Development Environment Test execution log
  • 30. Selenium IDE Cannot export to WebDriver scripts yet Does not support data- driven testing yet Cannot perform database testing Cannot provide detailed test report Limitations of Selenium IDE
  • 31. Selenium suite of tools Selenium RC Selenium WebDriver Selenium Grid Selenium suite Selenium IDE Let’s learn about Selenium RC
  • 32. Selenium RC The browser works accordingly Paul Hammant developed Selenium RC Selenium RC is a server written in Java RC makes provision for writing application tests in various programming languages like Java, C#, Perl, PHP, Python etc The RC server accepts commands from the user program and passes them to the browser as Selenium-Core JavaScript commands
  • 33. Selenium RC RC Server Web browser injected with Selenium core • Consider a JavaScript program test.js used by google.com • The program can access pages within google.com like google.com/mail, google.com/login
  • 34. Selenium RC RC Server Web browser injected with Selenium core • However, it cannot access elements of other domains like yahoo.com • Local copies of Selenium core and the web browser had to be installed so that they belonged to the same domain
  • 35. Selenium RC RC Server Web browser injected with Selenium core This is called Same Origin Policy and Selenium RC was introduced to address this limitation. The server acts as a client configured HTTP proxy and "tricks" the browser into believing that Selenium Core and the web application being tested come from the same origin
  • 36. Selenium RC The time taken for execution of commands is longer This additional setup complicates the architecture RC consists of an additional server that acts as a middle man APIs supported by Selenium RC are redundant and confusing Shortcomings of Selenium RC
  • 37. Selenium RC The time taken for execution of commands is longer This additional setup complicates the architecture RC consists of an additional server that acts as a middle man APIs supported by Selenium RC are redundant and confusing Shortcomings of Selenium RC Selenium RC has been deprecated and remains obsolete
  • 38. Selenium suite of tools Selenium RC Selenium WebDriver Selenium Grid Selenium suite Selenium IDE Let’s learn about Selenium WebDriverLet’s learn about Selenium WebDriver
  • 39. Selenium WebDriver Founded by Simon Stewart in 2006
  • 40. Selenium WebDriver Founded by Simon Stewart in 2006 It is a cross platform testing framework
  • 41. Selenium WebDriver Founded by Simon Stewart in 2006 It is a cross platform testing framework Programming interface to create and run test cases
  • 42. Selenium WebDriver Founded by Simon Stewart in 2006 It is a cross platform testing framework Programming interface to create and run test cases Makes provision to perform action on web elements
  • 43. Selenium WebDriver Founded by Simon Stewart in 2006 It is a cross platform testing framework Programming interface to create and run test cases Makes provision to perform action on web elements Does not require a core engine like RC
  • 44. Selenium WebDriver Founded by Simon Stewart in 2006 It is a cross platform testing framework Programming interface to create and run test cases Makes provision to perform action on web elements Does not require a core engine like RC Supports Java, C#, PHP, Python, Perl, Ruby etc.
  • 45. Selenium WebDriver Founded by Simon Stewart in 2006 It is a cross platform testing framework Programming interface to create and run test cases Makes provision to perform action on web elements Does not require a core engine like RC Supports Java, C#, PHP, Python, Perl, Ruby etc. Supports frameworks like TestNG, JUnit, NUnit
  • 46. Selenium WebDriver JSON Wire Protocol Browser Drivers • ChromeDriver • FirefoxDriver • OperaDriver • SafariDriver • EdgeDriver Browsers • Chrome browser • Firefox browser • Opera browser • Safari browser • Edge browser HTTP over HTTP Server Selenium test script (Java, PHP, Perl…) Architecture of WebDriver
  • 47. Selenium WebDriver CrossBrowserTesting Cannot test mobile applications. Requires frameworks like Appium Can only perform sequential testing hence requires Grid for parallel testing Limitations of WebDriver
  • 48. Selenium WebDriver Limited reporting. Third party tools like TestNG are required Limited image testing Limitations of WebDriver
  • 49. Comparison between Selenium RC and WebDriver Selenium RC Complex architecture Selenium WebDriver Simple architecture
  • 50. Comparison between Selenium RC and WebDriver Selenium RC Complex architecture Slower execution Selenium WebDriver Simple architecture Faster execution
  • 51. Comparison between Selenium RC and WebDriver Selenium RC Complex architecture Slower execution Requires an RC server to interact with the browser Selenium WebDriver Simple architecture Faster execution Interacts directly with the browser
  • 52. Comparison between Selenium RC and WebDriver Selenium RC Complex architecture Slower execution Requires an RC server to interact with the browser Confusing APIs Selenium WebDriver Simple architecture Faster execution Interacts directly with the browser Easy to use APIs
  • 53. Comparison between Selenium RC and WebDriver Complex architecture Slower execution Requires an RC server to interact with the browser Confusing APIs No support for HtmlUnit browser Simple architecture Faster execution Interacts directly with the browser Easy to use APIs Support for HtmlUnit browser Selenium RC Selenium WebDriver
  • 54. Demo Use case 1: Navigate to the official Simplilearn website. https://www.simplilearn.com/search?tag=automation+testing&source=opensearch Use case 2: Click on “Automation testing masters program” Use case 3: Click on “Selenium 3.0 training”
  • 55. Selenium suite of tools Selenium RC Selenium WebDriver Selenium Grid Selenium suite Selenium IDE Let’s learn about Selenium Grid
  • 56. Selenium Grid Grid is exceptionally flexible and is integrated with other suite components for simultaneous execution Developed by Patrick Lightbody The main objective of Grid is to minimize test execution time Grid was designed to distribute commands to different machines simultaneously Selenium Grid allows the parallel execution of tests on different browsers and different operating systems
  • 57. Selenium Grid The Grid consists of a hub connected to several nodes. It receives the test to be executed along with information about the operating system and browser to be run on
  • 58. Selenium Grid The hub picks a node that conforms to the requirements (browser and platform) and passes the test to that node
  • 59. Selenium Grid The node runs the browser and executes the selenium commands within it
  • 60. Selenium Grid Limitations of Grid Limited scalability Cannot scale up or down on demand
  • 61. Selenium Grid Limitations of Grid Limited scalability Cannot scale up or down on demand Static Since the nodes are pre- configured, making changes is a challenge
  • 62. Selenium Grid Limitations of Grid Limited scalability Cannot scale up or down on demand Static Since the nodes are pre- configured, making changes is a challenge Not cloud-native Grid cannot use the distributed storage, automatic fail-over facilities
  • 63. What is Machine Learning? Advantages of Selenium testing
  • 64. Advantages of Selenium testing Speed and accuracy Open source Supports wide spectrum of programming languages
  • 65. Advantages of Selenium testing Supports various browsers and operating systems Ease of implementation Reusability and add-ons
  • 66. What is Machine Learning? Limitations of Selenium testing
  • 67. Limitations of Selenium testing No reliable tech support Limited support for image testing Tests web applications only
  • 68. Limitations of Selenium testing No built in reporting facility May require knowledge of programming languages Limited test management
  • 69. What is Machine Learning? Key Takeaways

Editor's Notes