SlideShare a Scribd company logo
View DevOps course details at www.edureka.co/selenium
Selenium: Automated Web App Testing
Slide 2 www.edureka.co/apache-spark-scala-trainingSlide 2
Objectives
At the end of this module, you will be able to
Understand Manual Testing and its disadvantages
 Know about Automation Testing
 Learn Selenium and its advantages
 Learn Automation Metrics
 Understand Selenium Grid and Web driver
Demo on Selenium Web Driver
www.edureka.co/selenium
Slide 3 www.edureka.co/apache-spark-scala-trainingSlide 3
Manual Testing
Manual Testing is a process manually test the software to find the defect of the application.
It requires a tester to play the role of an end user and test all features of the application to ensure correct
behavior.
Tester need to write the test plans and complete the test with different test cases.
www.edureka.co/selenium
Slide 4 www.edureka.co/apache-spark-scala-trainingSlide 4
Manual Testing
Manually Loading 1000+ transactions
Validation of downloaded transactions
Create report for pass and fail transactions
Validation of form with multiple set of data – dataset
Take screenshot for each of the validation
Formatting of each and every process for SME review
www.edureka.co/selenium
Slide 5 www.edureka.co/apache-spark-scala-trainingSlide 5
Disadvantages Manual Testing
Manual Testing of all work flows, all fields , all scenarios is time and cost consuming, and required more resources
Scope of manual test is very limited
Executing same test case again and again is tedious task
Manual testing will be used when the test case only needs to runs once or twice
Simultaneously testing on different machine with different OS platform combination is not possible using manual
testing
www.edureka.co/selenium
Slide 6 www.edureka.co/apache-spark-scala-trainingSlide 6
Test automation
Test automation is the use of special software to control the execution of tests and the comparison of actual
outcomes with predicted outcomes.
 Optimization of Speed, Efficiency, Quality and the Decrease of Costs
 Advance a Tester´s Motivation and Efficiency
 Increase of Test Coverage
Why automate Testing?
www.edureka.co/selenium
Slide 7 www.edureka.co/apache-spark-scala-trainingSlide 7
Benefits of automated testing
 70% faster than the manual testing
 Wider test coverage of application features
 Reliable in results
 Ensure Consistency
 Saves Time and Cost
 Improves accuracy
 Human Intervention is not required while execution
 Increases Efficiency
 Better speed in executing tests
 Re-usable test scripts
 Test Frequently and thoroughly
 More cycle of execution can be achieved through automation
 Early time to market
www.edureka.co/selenium
Slide 8 www.edureka.co/apache-spark-scala-trainingSlide 8
When to use Test automation
 Regression Testing
 Smoke Testing
 Static & Repetitive Tests
 Task involves complex calculation
 Data Driven Testing
 Test Cases which are time consuming
www.edureka.co/selenium
Slide 9 www.edureka.co/apache-spark-scala-trainingSlide 9
 Application changing near to Future
 Test cases which are executed on ad-hoc basis.
When NOT to use Test automation
www.edureka.co/selenium
Slide 10 www.edureka.co/apache-spark-scala-trainingSlide 10
 HP Quick Test Professional
 Selenium
 IBM Rational Functional Tester
 Sikuli
 Silk Test
 Win Runner
 Load Runner
 Visual Studio Test Professional
 WATIR
Automation Testing Tools
www.edureka.co/selenium
Slide 11 www.edureka.co/apache-spark-scala-trainingSlide 11
Selenium is used to automate web applications across different platforms using different programming languages
This is one of the best tool for web applications
Performance and execution speed of selenium automation tool is much better than any automation tool which is
available in market because of its native support for browsers and also web Drivers operates on the OS lever
Selenium
www.edureka.co/selenium
Slide 12 www.edureka.co/apache-spark-scala-trainingSlide 12
 Supports almost every OS
 Open source
 Cost-effective automation testing
 Supports multiple programming language
 Independent of web Application programming language
 Supports multiple browsers
 More options to find an object
 Parallel execution
 Provides support for open source frameworks like TestNG, Junit
Features of Selenium
www.edureka.co/selenium
Slide 13 www.edureka.co/selenium
Test Execution Calculation
Automation Metrics
Test Script Preparation
Reliability Time to Market
Cross Browser
testing
Cost Reduction
4000 Test Cases
4 Resources
Per resource = 1000
Per resource = 1000/40 =25 Days
4000 Test Cases
4 Resources
Per resource = 1000
Per resource = 1000/20 = 50 Days
Total = 4000
Day 1 = 24*60 minutes
Per script execution = 5 minutes
(60 * 9) / 5 minutes = 108 Test Cases / machine
(60 * 24 ) / 5 minutes = 288 Test Cases / machine
4 Machine = 288 * 4 = 1152 Test Cases
1152 * 4Days = 4608 Test Cases
Slide 14 www.edureka.co/apache-spark-scala-trainingSlide 14
Flavors of Selenium
www.edureka.co/selenium
Selenium
Suite
Selenium
IDE
Selenium
RC
WebDriver
Selenium
Grid
Selenium
2
Merged
Slide 15 www.edureka.co/apache-spark-scala-trainingSlide 15
Selenium WebDriver
 Selenium WebDriver is used to automate Web based applications on multiple platforms across different browsers
with different programming languages
 Selenium WebDriver is faster that RC because of its simpler architecture
Selenium 1.0 + WebDriver = Selenium 2.0
www.edureka.co/selenium
Slide 16 www.edureka.co/apache-spark-scala-trainingSlide 16
Selenium WebDriver
 WebDriver is simpler and more concise programming interface than Selenium-RC AP
 It is a compact Object Oriented API when compared to Selenium 1.0
 It interacts with browser directly while selenium RC need help of RC server to interact with browser which makes
it slow
 Selenium WebDriver overcomes the limitations of selenium 1.0, like file upload or download, pop-ups and dialogs
Barrier
 It overcomes the limitation of selenium RC single Host Origin Policy
www.edureka.co/selenium
Slide 17 www.edureka.co/selenium
Selenium Web Driver
Selenium
Web Driver
Cross Browser
Testing
Parallel Testing
Supports Different
Language Scripting
Supports Different
Operating System
Easy Framework
Development
Firefox, Chrome, IE,
Safari
Multiple browser in
same time
JAVA, C#, PHP, Ruby,
Perl, Python
Windows, Mac,
Linux, Android, iOS
Keyword Driver,
Data driven, etc.
Slide 18 www.edureka.co/apache-spark-scala-trainingSlide 18
Demo On Selenium Web Driver
www.edureka.co/selenium
Slide 19 www.edureka.co/selenium
Selenium Grid
Selenium-Grid allows us to execute Test Script on different machines at the same time (parallel execution) from
one system called Hub
Each machine is called node
That is, Selenium-Grid runs multiple tests at the same time against different machines running different browsers
and operating systems
Slide 20 www.edureka.co/selenium
 Parallel Execution
 Platform Independent
 Language Independent
 Browser Independent
 Fast Execution
Node 1: IE
on Windows
Node 2:
Android
Node 3: Safari
on MAC
Node 4: Firefox
in Ubuntu
Selenium Grid (Contd.)
Slide 21 www.edureka.co/apache-spark-scala-trainingSlide 21
Demo On Selenium Grid
www.edureka.co/selenium
Slide 22 www.edureka.co/apache-spark-scala-training
LIVE Online Class
Class Recording in LMS
24/7 Post Class Support
Module Wise Quiz
Project Work
Verifiable Certificate
Course Features
www.edureka.co/selenium
Slide 23 www.edureka.co/apache-spark-scala-training
Questions
www.edureka.co/selenium
Slide 24 www.edureka.co/selenium
 Module 1
» Introduction to Selenium & its components
 Module 2
» Selenium RC and Locater Techniques
 Module 3
» Selenium WebDriver
 Module 4
» Validation and Designing of Framework
 Module 5
» WerDriver Advanced Usage and Selenium IDE
 Module 6
» Programming and Report Generation
 Module 7
» Selenium-Grid, Sikuli, TestNG, Automating with AutoIt
 Module 8
» Project
Course Topics
Slide 25 www.edureka.co/apache-spark-scala-training

More Related Content

PDF
Selenium 1july
PDF
Webinar: Selenium WebDriver - Automation Uncomplicated
PDF
Automation Using Selenium Webdriver
PDF
Quality Assurance with Manual Testing
PDF
Introduction to Selenium | Selenium Tutorial for Beginners | Selenium Trainin...
PDF
Designing keyword and Data Driven Automation framework with Selenium
PDF
How to Write & Run a Test Case in Selenium | Selenium Tutorial | Selenium Tra...
PPTX
Selenium training eduxfactor
Selenium 1july
Webinar: Selenium WebDriver - Automation Uncomplicated
Automation Using Selenium Webdriver
Quality Assurance with Manual Testing
Introduction to Selenium | Selenium Tutorial for Beginners | Selenium Trainin...
Designing keyword and Data Driven Automation framework with Selenium
How to Write & Run a Test Case in Selenium | Selenium Tutorial | Selenium Tra...
Selenium training eduxfactor

What's hot (19)

PPT
Hybrid framework
PDF
Automation framework using selenium webdriver with java
DOCX
Selenium training course_content_3_days
ODP
Jbossworld Presentation
PPT
Selenium Automation Framework
PDF
Test Automation Using Python | Edureka
PPTX
Best java automation training institute in Bangalore - Selenium Labs
PDF
Designing an effective hybrid apps automation framework
PPTX
Selenium
DOC
Hybrid framework for test automation
PPTX
Selenium Test Automation
PDF
What Is Selenium | Selenium Tutorial For Beginner | Selenium Training | Selen...
PPTX
Data driven Automation Framework with Selenium
PPTX
Selenium tutorials
PPTX
Hybrid automation framework
PPTX
Java for beginners
PPTX
Real world selenium resume which gets more job interviews
PDF
Case study: Open Source Automation Framework using Selenium WebDriver
PPTX
Setup and run automated test framework for android application
Hybrid framework
Automation framework using selenium webdriver with java
Selenium training course_content_3_days
Jbossworld Presentation
Selenium Automation Framework
Test Automation Using Python | Edureka
Best java automation training institute in Bangalore - Selenium Labs
Designing an effective hybrid apps automation framework
Selenium
Hybrid framework for test automation
Selenium Test Automation
What Is Selenium | Selenium Tutorial For Beginner | Selenium Training | Selen...
Data driven Automation Framework with Selenium
Selenium tutorials
Hybrid automation framework
Java for beginners
Real world selenium resume which gets more job interviews
Case study: Open Source Automation Framework using Selenium WebDriver
Setup and run automated test framework for android application
Ad

Similar to Automate Web Apps With Selenium (20)

PDF
Testing Web Application Security
PPTX
Automated Web Testing With Selenium
PPTX
Presentation on Introduction to Selenium
PPTX
[DevDay 2017] Automation Testing - Speaker: Nghia Khuong - Project Manager at...
PPTX
Test automation using selenium
PDF
What is Selenium Testing.pdf
PPTX
Test Automation Using Selenium
PDF
Ijetcas14 413
PPT
QSpiders - Automation using Selenium
PPT
Selenium
PDF
Selenium Automation Testing - A Complete Guide.pdf
PDF
Selenium Automation Testing - A Complete Guide.pdf
PPTX
test-automation-selenium-160216124839.pptx
PDF
Lesson_06_Software_and_Automation_Testing_Frameworks.pdf
PPTX
Selenium
DOCX
Software Testing Tools Training
PPT
Selenium Presentation at Engineering Colleges
PDF
Leveraging Open Source Automation: A Selenium WebDriver Example
PPTX
What is Selenium Introduction to Selenium Testing.pptx
PDF
Selenium Automation Testing - A Complete Guide
Testing Web Application Security
Automated Web Testing With Selenium
Presentation on Introduction to Selenium
[DevDay 2017] Automation Testing - Speaker: Nghia Khuong - Project Manager at...
Test automation using selenium
What is Selenium Testing.pdf
Test Automation Using Selenium
Ijetcas14 413
QSpiders - Automation using Selenium
Selenium
Selenium Automation Testing - A Complete Guide.pdf
Selenium Automation Testing - A Complete Guide.pdf
test-automation-selenium-160216124839.pptx
Lesson_06_Software_and_Automation_Testing_Frameworks.pdf
Selenium
Software Testing Tools Training
Selenium Presentation at Engineering Colleges
Leveraging Open Source Automation: A Selenium WebDriver Example
What is Selenium Introduction to Selenium Testing.pptx
Selenium Automation Testing - A Complete Guide
Ad

More from Edureka! (20)

PDF
What to learn during the 21 days Lockdown | Edureka
PDF
Top 10 Dying Programming Languages in 2020 | Edureka
PDF
Top 5 Trending Business Intelligence Tools | Edureka
PDF
Tableau Tutorial for Data Science | Edureka
PDF
Python Programming Tutorial | Edureka
PDF
Top 5 PMP Certifications | Edureka
PDF
Top Maven Interview Questions in 2020 | Edureka
PDF
Linux Mint Tutorial | Edureka
PDF
How to Deploy Java Web App in AWS| Edureka
PDF
Importance of Digital Marketing | Edureka
PDF
RPA in 2020 | Edureka
PDF
Email Notifications in Jenkins | Edureka
PDF
EA Algorithm in Machine Learning | Edureka
PDF
Cognitive AI Tutorial | Edureka
PDF
AWS Cloud Practitioner Tutorial | Edureka
PDF
Blue Prism Top Interview Questions | Edureka
PDF
Big Data on AWS Tutorial | Edureka
PDF
A star algorithm | A* Algorithm in Artificial Intelligence | Edureka
PDF
Kubernetes Installation on Ubuntu | Edureka
PDF
Introduction to DevOps | Edureka
What to learn during the 21 days Lockdown | Edureka
Top 10 Dying Programming Languages in 2020 | Edureka
Top 5 Trending Business Intelligence Tools | Edureka
Tableau Tutorial for Data Science | Edureka
Python Programming Tutorial | Edureka
Top 5 PMP Certifications | Edureka
Top Maven Interview Questions in 2020 | Edureka
Linux Mint Tutorial | Edureka
How to Deploy Java Web App in AWS| Edureka
Importance of Digital Marketing | Edureka
RPA in 2020 | Edureka
Email Notifications in Jenkins | Edureka
EA Algorithm in Machine Learning | Edureka
Cognitive AI Tutorial | Edureka
AWS Cloud Practitioner Tutorial | Edureka
Blue Prism Top Interview Questions | Edureka
Big Data on AWS Tutorial | Edureka
A star algorithm | A* Algorithm in Artificial Intelligence | Edureka
Kubernetes Installation on Ubuntu | Edureka
Introduction to DevOps | Edureka

Recently uploaded (20)

PDF
Advanced Soft Computing BINUS July 2025.pdf
PDF
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
PDF
Diabetes mellitus diagnosis method based random forest with bat algorithm
PDF
madgavkar20181017ppt McKinsey Presentation.pdf
PDF
Reach Out and Touch Someone: Haptics and Empathic Computing
PDF
solutions_manual_-_materials___processing_in_manufacturing__demargo_.pdf
PDF
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
PDF
Per capita expenditure prediction using model stacking based on satellite ima...
PDF
Sensors and Actuators in IoT Systems using pdf
PDF
Bridging biosciences and deep learning for revolutionary discoveries: a compr...
PDF
Electronic commerce courselecture one. Pdf
PDF
Spectral efficient network and resource selection model in 5G networks
PDF
Empathic Computing: Creating Shared Understanding
PPT
Teaching material agriculture food technology
PDF
cuic standard and advanced reporting.pdf
PDF
The Rise and Fall of 3GPP – Time for a Sabbatical?
PPTX
Cloud computing and distributed systems.
PDF
Shreyas Phanse Resume: Experienced Backend Engineer | Java • Spring Boot • Ka...
PDF
Chapter 3 Spatial Domain Image Processing.pdf
PPTX
breach-and-attack-simulation-cybersecurity-india-chennai-defenderrabbit-2025....
Advanced Soft Computing BINUS July 2025.pdf
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
Diabetes mellitus diagnosis method based random forest with bat algorithm
madgavkar20181017ppt McKinsey Presentation.pdf
Reach Out and Touch Someone: Haptics and Empathic Computing
solutions_manual_-_materials___processing_in_manufacturing__demargo_.pdf
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
Per capita expenditure prediction using model stacking based on satellite ima...
Sensors and Actuators in IoT Systems using pdf
Bridging biosciences and deep learning for revolutionary discoveries: a compr...
Electronic commerce courselecture one. Pdf
Spectral efficient network and resource selection model in 5G networks
Empathic Computing: Creating Shared Understanding
Teaching material agriculture food technology
cuic standard and advanced reporting.pdf
The Rise and Fall of 3GPP – Time for a Sabbatical?
Cloud computing and distributed systems.
Shreyas Phanse Resume: Experienced Backend Engineer | Java • Spring Boot • Ka...
Chapter 3 Spatial Domain Image Processing.pdf
breach-and-attack-simulation-cybersecurity-india-chennai-defenderrabbit-2025....

Automate Web Apps With Selenium

  • 1. View DevOps course details at www.edureka.co/selenium Selenium: Automated Web App Testing
  • 2. Slide 2 www.edureka.co/apache-spark-scala-trainingSlide 2 Objectives At the end of this module, you will be able to Understand Manual Testing and its disadvantages  Know about Automation Testing  Learn Selenium and its advantages  Learn Automation Metrics  Understand Selenium Grid and Web driver Demo on Selenium Web Driver www.edureka.co/selenium
  • 3. Slide 3 www.edureka.co/apache-spark-scala-trainingSlide 3 Manual Testing Manual Testing is a process manually test the software to find the defect of the application. It requires a tester to play the role of an end user and test all features of the application to ensure correct behavior. Tester need to write the test plans and complete the test with different test cases. www.edureka.co/selenium
  • 4. Slide 4 www.edureka.co/apache-spark-scala-trainingSlide 4 Manual Testing Manually Loading 1000+ transactions Validation of downloaded transactions Create report for pass and fail transactions Validation of form with multiple set of data – dataset Take screenshot for each of the validation Formatting of each and every process for SME review www.edureka.co/selenium
  • 5. Slide 5 www.edureka.co/apache-spark-scala-trainingSlide 5 Disadvantages Manual Testing Manual Testing of all work flows, all fields , all scenarios is time and cost consuming, and required more resources Scope of manual test is very limited Executing same test case again and again is tedious task Manual testing will be used when the test case only needs to runs once or twice Simultaneously testing on different machine with different OS platform combination is not possible using manual testing www.edureka.co/selenium
  • 6. Slide 6 www.edureka.co/apache-spark-scala-trainingSlide 6 Test automation Test automation is the use of special software to control the execution of tests and the comparison of actual outcomes with predicted outcomes.  Optimization of Speed, Efficiency, Quality and the Decrease of Costs  Advance a Tester´s Motivation and Efficiency  Increase of Test Coverage Why automate Testing? www.edureka.co/selenium
  • 7. Slide 7 www.edureka.co/apache-spark-scala-trainingSlide 7 Benefits of automated testing  70% faster than the manual testing  Wider test coverage of application features  Reliable in results  Ensure Consistency  Saves Time and Cost  Improves accuracy  Human Intervention is not required while execution  Increases Efficiency  Better speed in executing tests  Re-usable test scripts  Test Frequently and thoroughly  More cycle of execution can be achieved through automation  Early time to market www.edureka.co/selenium
  • 8. Slide 8 www.edureka.co/apache-spark-scala-trainingSlide 8 When to use Test automation  Regression Testing  Smoke Testing  Static & Repetitive Tests  Task involves complex calculation  Data Driven Testing  Test Cases which are time consuming www.edureka.co/selenium
  • 9. Slide 9 www.edureka.co/apache-spark-scala-trainingSlide 9  Application changing near to Future  Test cases which are executed on ad-hoc basis. When NOT to use Test automation www.edureka.co/selenium
  • 10. Slide 10 www.edureka.co/apache-spark-scala-trainingSlide 10  HP Quick Test Professional  Selenium  IBM Rational Functional Tester  Sikuli  Silk Test  Win Runner  Load Runner  Visual Studio Test Professional  WATIR Automation Testing Tools www.edureka.co/selenium
  • 11. Slide 11 www.edureka.co/apache-spark-scala-trainingSlide 11 Selenium is used to automate web applications across different platforms using different programming languages This is one of the best tool for web applications Performance and execution speed of selenium automation tool is much better than any automation tool which is available in market because of its native support for browsers and also web Drivers operates on the OS lever Selenium www.edureka.co/selenium
  • 12. Slide 12 www.edureka.co/apache-spark-scala-trainingSlide 12  Supports almost every OS  Open source  Cost-effective automation testing  Supports multiple programming language  Independent of web Application programming language  Supports multiple browsers  More options to find an object  Parallel execution  Provides support for open source frameworks like TestNG, Junit Features of Selenium www.edureka.co/selenium
  • 13. Slide 13 www.edureka.co/selenium Test Execution Calculation Automation Metrics Test Script Preparation Reliability Time to Market Cross Browser testing Cost Reduction 4000 Test Cases 4 Resources Per resource = 1000 Per resource = 1000/40 =25 Days 4000 Test Cases 4 Resources Per resource = 1000 Per resource = 1000/20 = 50 Days Total = 4000 Day 1 = 24*60 minutes Per script execution = 5 minutes (60 * 9) / 5 minutes = 108 Test Cases / machine (60 * 24 ) / 5 minutes = 288 Test Cases / machine 4 Machine = 288 * 4 = 1152 Test Cases 1152 * 4Days = 4608 Test Cases
  • 14. Slide 14 www.edureka.co/apache-spark-scala-trainingSlide 14 Flavors of Selenium www.edureka.co/selenium Selenium Suite Selenium IDE Selenium RC WebDriver Selenium Grid Selenium 2 Merged
  • 15. Slide 15 www.edureka.co/apache-spark-scala-trainingSlide 15 Selenium WebDriver  Selenium WebDriver is used to automate Web based applications on multiple platforms across different browsers with different programming languages  Selenium WebDriver is faster that RC because of its simpler architecture Selenium 1.0 + WebDriver = Selenium 2.0 www.edureka.co/selenium
  • 16. Slide 16 www.edureka.co/apache-spark-scala-trainingSlide 16 Selenium WebDriver  WebDriver is simpler and more concise programming interface than Selenium-RC AP  It is a compact Object Oriented API when compared to Selenium 1.0  It interacts with browser directly while selenium RC need help of RC server to interact with browser which makes it slow  Selenium WebDriver overcomes the limitations of selenium 1.0, like file upload or download, pop-ups and dialogs Barrier  It overcomes the limitation of selenium RC single Host Origin Policy www.edureka.co/selenium
  • 17. Slide 17 www.edureka.co/selenium Selenium Web Driver Selenium Web Driver Cross Browser Testing Parallel Testing Supports Different Language Scripting Supports Different Operating System Easy Framework Development Firefox, Chrome, IE, Safari Multiple browser in same time JAVA, C#, PHP, Ruby, Perl, Python Windows, Mac, Linux, Android, iOS Keyword Driver, Data driven, etc.
  • 18. Slide 18 www.edureka.co/apache-spark-scala-trainingSlide 18 Demo On Selenium Web Driver www.edureka.co/selenium
  • 19. Slide 19 www.edureka.co/selenium Selenium Grid Selenium-Grid allows us to execute Test Script on different machines at the same time (parallel execution) from one system called Hub Each machine is called node That is, Selenium-Grid runs multiple tests at the same time against different machines running different browsers and operating systems
  • 20. Slide 20 www.edureka.co/selenium  Parallel Execution  Platform Independent  Language Independent  Browser Independent  Fast Execution Node 1: IE on Windows Node 2: Android Node 3: Safari on MAC Node 4: Firefox in Ubuntu Selenium Grid (Contd.)
  • 21. Slide 21 www.edureka.co/apache-spark-scala-trainingSlide 21 Demo On Selenium Grid www.edureka.co/selenium
  • 22. Slide 22 www.edureka.co/apache-spark-scala-training LIVE Online Class Class Recording in LMS 24/7 Post Class Support Module Wise Quiz Project Work Verifiable Certificate Course Features www.edureka.co/selenium
  • 24. Slide 24 www.edureka.co/selenium  Module 1 » Introduction to Selenium & its components  Module 2 » Selenium RC and Locater Techniques  Module 3 » Selenium WebDriver  Module 4 » Validation and Designing of Framework  Module 5 » WerDriver Advanced Usage and Selenium IDE  Module 6 » Programming and Report Generation  Module 7 » Selenium-Grid, Sikuli, TestNG, Automating with AutoIt  Module 8 » Project Course Topics