What Is Selenium? | Selenium Basics For Beginners | Introduction To Selenium | Selenium |Simplilearn
What’s in it for you?
Manual testing and its challenges
Advent of Selenium
What is Selenium?
Selenium suite of tools
Advantages of Selenium testing
Limitations of Selenium testing
Selenium jobs and salary
Manual testing and its challenges
What is manual testing?
Manual testing mainly involves physical execution of test cases against
various applications to detect bugs and errors
What is manual testing?
One of the primitive methods of testing
a software
What is manual testing?
One of the primitive methods of testing
a software
Execution of test cases without using
automation tools
What is 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
What is 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
Challenges of Manual testing
Extremely time
consuming
High risk of error Requires presence of
tester at all times
Manual creation of
logs and
repositories
Limited scope
No support for
performance and batch
testing
Extremely time
consuming
High risk of error Requires presence of
tester 24/7
Manual creation of
logs and
repositories
Limited scope
No support for
performance and batch
testing
Considering all the drawbacks, a desperate
need to automate the testing process was on
demand
Challenges of Manual testing
Advent of Selenium
Advent of Selenium
Jason Huggins, an engineer at ThoughtWorks,
Chicago found the repetitious work of manual testing
strenuous and monotonous
Advent of Selenium
He developed a JavaScript program to automate the
testing of a web application
Advent of Selenium
He developed a JavaScript program to automate the
testing of a web application
The program was called JavaScriptTestRunner
Advent of Selenium
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
Advent of Selenium
Since its inception, Selenium has been a powerful
automation testing tool to test various web applications
across different platforms
Real Life Applications of 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
What is Selenium?
Selenium is an automated testing tool used to test web applications across various
browsers
Consists of a set of software tools
that facilitate testing
Open source
What is Selenium?
Selenium is an automated testing tool used to test web applications across various
browsers
Consists of a set of software tools
that facilitate testing
Primarily developed in JavaScript
Open source
What is Selenium?
Selenium is an automated testing tool used to test web applications across various
browsers
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
Open source
What is Selenium?
Selenium is an automated testing tool used to test web applications across various
browsers
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
Open source
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
Real Life Applications of Machine Learning
Selenium suite of tools
Selenium suite of tools
Selenium
suite
Selenium IDE
Selenium Remote Control (RC)
Selenium WebDriver
Selenium Grid
Selenium suite of tools
Selenium
suite
• Developed by Shinya Kasatani
• Firefox or Chrome extension that can automate the browser
functionality
• Records user interactions on the browser and exports them as a
reusable script
• Selenese commands can be used to modify the test script
generated after recording
• Selenium IDE deploys on Windows, Linux, and MacOS platforms
Selenium Integrated development environment (IDE)
Selenium suite of tools
Selenium
suite
Selenium Integrated development environment (IDE)
• Selenium IDE ceased to exist in August 2017
• A robust version of IDE was released in 2018 by Applitools
• The new IDE deploys a Selenium Side Runner that allows all IDE
tests to run on any browser, in parallel, and on a grid without
needing to write any code.
• Selenium IDE is integrated with other suite components to provide a
robust interface for application testing
Selenium suite of tools
Selenium
suite
Record and playback
feature
Selenium suite of tools
Selenium
suite
Selenese commands
showing the actions
performed on the browser
Selenium suite of tools
Selenium
suite
Log indicating the
execution of every
command
Selenium suite of tools
Selenium
suite
Saves the executable script
in the side format
Selenium suite of tools
Selenium
suite
Selenium Remote Control (RC)
• 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
• The browser behaves accordingly
Selenium suite of tools
Selenium
suite
Selenium Remote Control (RC)
RC Server
Web browser injected
with Selenium core
Selenium test script
Selenium suite of tools
Selenium
suite
Selenium Remote Control (RC)
test.js
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 suite of tools
Selenium
suite
Selenium Remote Control (RC)
test.js
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 suite of tools
Selenium
suite
Selenium Remote Control (RC)
test.js
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
suite
Selenium WebDriver
• Simon Stewart developed WebDriver in 2006
• The first cross-platform testing framework
• Programming interface to create and run test cases
• Makes provision to act on web elements
• Does not require a core engine like RC and interacts natively
with the browser applications
• Supports Java, C#, PHP, Python, Perl, Ruby, etc.
• Supports frameworks like TestNG, JUnit, NUnit
Selenium suite of tools
Selenium suite of tools
Selenium
suite
Selenium WebDriver
Selenium WebDriver does not require an additional RC. It directly interacts
with browser and controls its working
Selenium suite of tools
Selenium
suite
Selenium Grid
• 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
• Grid is exceptionally flexible and is integrated with other suite
components for simultaneous execution
Selenium suite of tools
Selenium
suite
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 suite of tools
Selenium
suite
Selenium Grid
The hub picks a node that conforms to the requirements
(browser and platform) and passes the test to that node
Selenium suite of tools
Selenium
suite
Selenium Grid
The node runs the browser and executes the selenium
commands within it
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
Real Life Applications of Machine Learning
Advantages of Selenium testing
Advantages of Selenium testing
Speed and Accuracy
Speed and Accuracy
Open source
Advantages of Selenium testing
Speed and Accuracy
Open source
Supports wide spectrum of
programming languages
Advantages of Selenium testing
Speed and Accuracy
Open source
Supports wide spectrum of
programming languages
Supports various browsers
and operating systems
Advantages of Selenium testing
Speed and Accuracy
Open source
Supports wide spectrum of
programming languages
Supports various browsers
and operating systems
Ease of implementation
Advantages of Selenium testing
Speed and Accuracy
Open source
Supports wide spectrum of
programming languages
Supports various browsers
and operating systems
Ease of implementation
Reusability and Add-ons
Advantages of Selenium testing
Real Life Applications of Machine Learning
Limitations of Selenium testing
Limitations of Selenium testing
No reliable tech
support
Limitations of Selenium testing
No reliable tech
support
Tests web
applications only
Limitations of Selenium testing
No reliable tech
support
Limited support for
image testing
Tests web
applications only
Limitations of Selenium testing
No reliable tech
support
Limited support for
image testing
Tests web
applications only
No built in reporting
facility
Limitations of Selenium testing
No reliable tech
support
Limited support for
image testing
Tests web
applications only
No built in reporting
facility
Limited test
management
Limitations of Selenium testing
No reliable tech
support
Limited support for
image testing
Tests web
applications only
No built in reporting
facility
Limited test
management
May require knowledge of
programming languages
Selenium jobs and salary
Selenium jobs and salary
Job role
• To develop test cases to detect bugs and
errors
• Automation framework design and
implementation according to project
structure
• To improve and automate test practices
• To participate in communicating best
practices
• Define test strategies and test manuals for
tracking and fixing software issues
Selenium jobs and salary
Job role
• To develop test cases to detect bugs and
errors
• Automation framework design and
implementation according to project
structure
• To improve and automate test practices
• To participate in communicating best
practices
• Define test strategies and test manuals for
tracking and fixing software issues
The average salary of an Automation engineer
in India is ₹5,24,000 per annum
277k 1m
524k
$90.4k
$21k $157k
The average salary of an Automation
engineer in the USA is $90,390 per annum
Source- indeed.com
Source- payscale.com
Companies deploying Selenium
Key Takeaways
Key Takeaways
What Is Selenium? | Selenium Basics For Beginners | Introduction To Selenium | Selenium |Simplilearn

More Related Content

PPS
JUnit Presentation
PPTX
Selenium Tutorial For Beginners | Selenium Automation Testing Tutorial | Sele...
PPTX
Introduction to selenium
PPTX
API Testing for everyone.pptx
PPTX
Jira overview
PDF
Automation Testing using Selenium
PPTX
Agile presentation
PPTX
Selenium WebDriver Tutorial | Selenium WebDriver Tutorial For Beginner | Sele...
JUnit Presentation
Selenium Tutorial For Beginners | Selenium Automation Testing Tutorial | Sele...
Introduction to selenium
API Testing for everyone.pptx
Jira overview
Automation Testing using Selenium
Agile presentation
Selenium WebDriver Tutorial | Selenium WebDriver Tutorial For Beginner | Sele...

What's hot (20)

PPTX
Selenium test automation
PPTX
Automation - web testing with selenium
PPTX
An overview of selenium webdriver
PPTX
Introduction to Selenium Web Driver
PPTX
Selenium
ODP
Selenium ppt
PPT
Selenium ppt
PPTX
Selenium Tutorial For Beginners | What Is Selenium? | Selenium Automation Tes...
PDF
Introduction to Selenium | Selenium Tutorial for Beginners | Selenium Trainin...
PPTX
Automation Testing by Selenium Web Driver
PPTX
Test Automation and Selenium
PPT
Selenium Concepts
PPT
Selenium Automation Framework
PPTX
Selenium WebDriver training
PDF
Selenium
PPT
QSpiders - Automation using Selenium
PPTX
Selenium with java
PPTX
Selenium introduction
PPT
Web Test Automation with Selenium
PPTX
Selenium ppt
Selenium test automation
Automation - web testing with selenium
An overview of selenium webdriver
Introduction to Selenium Web Driver
Selenium
Selenium ppt
Selenium ppt
Selenium Tutorial For Beginners | What Is Selenium? | Selenium Automation Tes...
Introduction to Selenium | Selenium Tutorial for Beginners | Selenium Trainin...
Automation Testing by Selenium Web Driver
Test Automation and Selenium
Selenium Concepts
Selenium Automation Framework
Selenium WebDriver training
Selenium
QSpiders - Automation using Selenium
Selenium with java
Selenium introduction
Web Test Automation with Selenium
Selenium ppt
Ad

Similar to What Is Selenium? | Selenium Basics For Beginners | Introduction To Selenium | Selenium |Simplilearn (20)

PPTX
Selenium
PDF
Selenium Automation Testing - A Complete Guide
PPTX
test-automation-selenium-160216124839.pptx
PPTX
PPTX
Selenium.pptxgsjdxhasdjhckcjjkdcbdcbvdciosdc
PDF
Selenium Automation Testing - A Complete Guide.pdf
PPTX
A Simple Guide to Selenium Software Testing
PDF
Selenium Automation Testing - A Complete Guide.pdf
PPTX
Python selenium
PDF
white and grey modern website application education project group school pres...
PDF
selenium
PPTX
Test Automation Using Selenium
PPT
Selenium Primer
PPTX
11-01-2023.pptx
PPTX
What is Selenium Introduction to Selenium Testing.pptx
DOCX
What is selenium
PPTX
Introduction to selenium
PPTX
Introduction to the Selenium_Session1.pptx
PPTX
Selenium PPT 2.pptx
PPT
Selenium
Selenium
Selenium Automation Testing - A Complete Guide
test-automation-selenium-160216124839.pptx
Selenium.pptxgsjdxhasdjhckcjjkdcbdcbvdciosdc
Selenium Automation Testing - A Complete Guide.pdf
A Simple Guide to Selenium Software Testing
Selenium Automation Testing - A Complete Guide.pdf
Python selenium
white and grey modern website application education project group school pres...
selenium
Test Automation Using Selenium
Selenium Primer
11-01-2023.pptx
What is Selenium Introduction to Selenium Testing.pptx
What is selenium
Introduction to selenium
Introduction to the Selenium_Session1.pptx
Selenium PPT 2.pptx
Selenium
Ad

More from Simplilearn (20)

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

Recently uploaded (20)

PPTX
Neurological complocations of systemic disease
PPTX
ACFE CERTIFICATION TRAINING ON LAW.pptx
PDF
Disorder of Endocrine system (1).pdfyyhyyyy
PDF
Compact First Student's Book Cambridge Official
PDF
Health aspects of bilberry: A review on its general benefits
PPTX
2025 High Blood Pressure Guideline Slide Set.pptx
PDF
Chevening Scholarship Application and Interview Preparation Guide
PDF
Horaris_Grups_25-26_Definitiu_15_07_25.pdf
PPTX
pharmaceutics-1unit-1-221214121936-550b56aa.pptx
PPTX
Copy of ARAL Program Primer_071725(1).pptx
PDF
CHALLENGES FACED BY TEACHERS WHEN TEACHING LEARNERS WITH DEVELOPMENTAL DISABI...
PPTX
Power Point PR B.Inggris 12 Ed. 2019.pptx
PDF
GSA-Past-Papers-2010-2024-2.pdf CSS examination
PPTX
ENGlishGrade8_Quarter2_WEEK1_LESSON1.pptx
PPTX
Math 2 Quarter 2 Week 1 Matatag Curriculum
PPTX
Thinking Routines and Learning Engagements.pptx
PPT
hemostasis and its significance, physiology
PDF
faiz-khans about Radiotherapy Physics-02.pdf
PPTX
MMW-CHAPTER-1-final.pptx major Elementary Education
PDF
Physical pharmaceutics two in b pharmacy
Neurological complocations of systemic disease
ACFE CERTIFICATION TRAINING ON LAW.pptx
Disorder of Endocrine system (1).pdfyyhyyyy
Compact First Student's Book Cambridge Official
Health aspects of bilberry: A review on its general benefits
2025 High Blood Pressure Guideline Slide Set.pptx
Chevening Scholarship Application and Interview Preparation Guide
Horaris_Grups_25-26_Definitiu_15_07_25.pdf
pharmaceutics-1unit-1-221214121936-550b56aa.pptx
Copy of ARAL Program Primer_071725(1).pptx
CHALLENGES FACED BY TEACHERS WHEN TEACHING LEARNERS WITH DEVELOPMENTAL DISABI...
Power Point PR B.Inggris 12 Ed. 2019.pptx
GSA-Past-Papers-2010-2024-2.pdf CSS examination
ENGlishGrade8_Quarter2_WEEK1_LESSON1.pptx
Math 2 Quarter 2 Week 1 Matatag Curriculum
Thinking Routines and Learning Engagements.pptx
hemostasis and its significance, physiology
faiz-khans about Radiotherapy Physics-02.pdf
MMW-CHAPTER-1-final.pptx major Elementary Education
Physical pharmaceutics two in b pharmacy

What Is Selenium? | Selenium Basics For Beginners | Introduction To Selenium | Selenium |Simplilearn

  • 2. What’s in it for you? Manual testing and its challenges Advent of Selenium What is Selenium? Selenium suite of tools Advantages of Selenium testing Limitations of Selenium testing Selenium jobs and salary
  • 3. Manual testing and its challenges
  • 4. What is manual testing? Manual testing mainly involves physical execution of test cases against various applications to detect bugs and errors
  • 5. What is manual testing? One of the primitive methods of testing a software
  • 6. What is manual testing? One of the primitive methods of testing a software Execution of test cases without using automation tools
  • 7. What is 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. What is 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. Challenges of Manual testing Extremely time consuming High risk of error Requires presence of tester at all times Manual creation of logs and repositories Limited scope No support for performance and batch testing
  • 10. Extremely time consuming High risk of error Requires presence of tester 24/7 Manual creation of logs and repositories Limited scope No support for performance and batch testing Considering all the drawbacks, a desperate need to automate the testing process was on demand Challenges of Manual testing
  • 12. Advent of Selenium Jason Huggins, an engineer at ThoughtWorks, Chicago found the repetitious work of manual testing strenuous and monotonous
  • 13. Advent of Selenium He developed a JavaScript program to automate the testing of a web application
  • 14. Advent of Selenium He developed a JavaScript program to automate the testing of a web application The program was called JavaScriptTestRunner
  • 15. Advent of Selenium 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
  • 16. Advent of Selenium Since its inception, Selenium has been a powerful automation testing tool to test various web applications across different platforms
  • 17. Real Life Applications of Machine Learning What is Selenium?
  • 18. What is Selenium? Selenium is an automated testing tool used to test web applications across various browsers
  • 19. What is Selenium? Selenium is an automated testing tool used to test web applications across various browsers Open source
  • 20. What is Selenium? Selenium is an automated testing tool used to test web applications across various browsers Consists of a set of software tools that facilitate testing Open source
  • 21. What is Selenium? Selenium is an automated testing tool used to test web applications across various browsers Consists of a set of software tools that facilitate testing Primarily developed in JavaScript Open source
  • 22. What is Selenium? Selenium is an automated testing tool used to test web applications across various browsers 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 Open source
  • 23. What is Selenium? Selenium is an automated testing tool used to test web applications across various browsers 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 Open source
  • 24. 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
  • 25. Real Life Applications of Machine Learning Selenium suite of tools
  • 26. Selenium suite of tools Selenium suite Selenium IDE Selenium Remote Control (RC) Selenium WebDriver Selenium Grid
  • 27. Selenium suite of tools Selenium suite • Developed by Shinya Kasatani • Firefox or Chrome extension that can automate the browser functionality • Records user interactions on the browser and exports them as a reusable script • Selenese commands can be used to modify the test script generated after recording • Selenium IDE deploys on Windows, Linux, and MacOS platforms Selenium Integrated development environment (IDE)
  • 28. Selenium suite of tools Selenium suite Selenium Integrated development environment (IDE) • Selenium IDE ceased to exist in August 2017 • A robust version of IDE was released in 2018 by Applitools • The new IDE deploys a Selenium Side Runner that allows all IDE tests to run on any browser, in parallel, and on a grid without needing to write any code. • Selenium IDE is integrated with other suite components to provide a robust interface for application testing
  • 29. Selenium suite of tools Selenium suite Record and playback feature
  • 30. Selenium suite of tools Selenium suite Selenese commands showing the actions performed on the browser
  • 31. Selenium suite of tools Selenium suite Log indicating the execution of every command
  • 32. Selenium suite of tools Selenium suite Saves the executable script in the side format
  • 33. Selenium suite of tools Selenium suite Selenium Remote Control (RC) • 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 • The browser behaves accordingly
  • 34. Selenium suite of tools Selenium suite Selenium Remote Control (RC) RC Server Web browser injected with Selenium core Selenium test script
  • 35. Selenium suite of tools Selenium suite Selenium Remote Control (RC) test.js 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
  • 36. Selenium suite of tools Selenium suite Selenium Remote Control (RC) test.js 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
  • 37. Selenium suite of tools Selenium suite Selenium Remote Control (RC) test.js 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
  • 38. Selenium suite Selenium WebDriver • Simon Stewart developed WebDriver in 2006 • The first cross-platform testing framework • Programming interface to create and run test cases • Makes provision to act on web elements • Does not require a core engine like RC and interacts natively with the browser applications • Supports Java, C#, PHP, Python, Perl, Ruby, etc. • Supports frameworks like TestNG, JUnit, NUnit Selenium suite of tools
  • 39. Selenium suite of tools Selenium suite Selenium WebDriver Selenium WebDriver does not require an additional RC. It directly interacts with browser and controls its working
  • 40. Selenium suite of tools Selenium suite Selenium Grid • 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 • Grid is exceptionally flexible and is integrated with other suite components for simultaneous execution
  • 41. Selenium suite of tools Selenium suite 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
  • 42. Selenium suite of tools Selenium suite Selenium Grid The hub picks a node that conforms to the requirements (browser and platform) and passes the test to that node
  • 43. Selenium suite of tools Selenium suite Selenium Grid The node runs the browser and executes the selenium commands within it
  • 44. 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
  • 45. Real Life Applications of Machine Learning Advantages of Selenium testing
  • 46. Advantages of Selenium testing Speed and Accuracy
  • 47. Speed and Accuracy Open source Advantages of Selenium testing
  • 48. Speed and Accuracy Open source Supports wide spectrum of programming languages Advantages of Selenium testing
  • 49. Speed and Accuracy Open source Supports wide spectrum of programming languages Supports various browsers and operating systems Advantages of Selenium testing
  • 50. Speed and Accuracy Open source Supports wide spectrum of programming languages Supports various browsers and operating systems Ease of implementation Advantages of Selenium testing
  • 51. Speed and Accuracy Open source Supports wide spectrum of programming languages Supports various browsers and operating systems Ease of implementation Reusability and Add-ons Advantages of Selenium testing
  • 52. Real Life Applications of Machine Learning Limitations of Selenium testing
  • 53. Limitations of Selenium testing No reliable tech support
  • 54. Limitations of Selenium testing No reliable tech support Tests web applications only
  • 55. Limitations of Selenium testing No reliable tech support Limited support for image testing Tests web applications only
  • 56. Limitations of Selenium testing No reliable tech support Limited support for image testing Tests web applications only No built in reporting facility
  • 57. Limitations of Selenium testing No reliable tech support Limited support for image testing Tests web applications only No built in reporting facility Limited test management
  • 58. Limitations of Selenium testing No reliable tech support Limited support for image testing Tests web applications only No built in reporting facility Limited test management May require knowledge of programming languages
  • 60. Selenium jobs and salary Job role • To develop test cases to detect bugs and errors • Automation framework design and implementation according to project structure • To improve and automate test practices • To participate in communicating best practices • Define test strategies and test manuals for tracking and fixing software issues
  • 61. Selenium jobs and salary Job role • To develop test cases to detect bugs and errors • Automation framework design and implementation according to project structure • To improve and automate test practices • To participate in communicating best practices • Define test strategies and test manuals for tracking and fixing software issues The average salary of an Automation engineer in India is ₹5,24,000 per annum 277k 1m 524k $90.4k $21k $157k The average salary of an Automation engineer in the USA is $90,390 per annum Source- indeed.com Source- payscale.com

Editor's Notes