SlideShare une entreprise Scribd logo
1  sur  25
Télécharger pour lire hors ligne
View Selenium course details at www.edureka.co/testing-with-selenium-webdriver
Test Automation with Selenium Web driver
Slide 2 www.edureka.co/apache-spark-scala-trainingSlide 2
Objectives
At the end of this module, you will be able to
 Disadvantages of Manual Testing
 Know about Automation Testing
 Learn Selenium and its advantages
 Learn Automation Metrics
 Understand Selenium Web driver
Demo on Selenium Web Driver
www.edureka.co/testing-with-selenium-webdriver
Slide 3 www.edureka.co/apache-spark-scala-trainingSlide 3
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/testing-with-selenium-webdriver
Slide 4 www.edureka.co/apache-spark-scala-trainingSlide 4
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/testing-with-selenium-webdriver
Slide 5 www.edureka.co/apache-spark-scala-trainingSlide 5
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/testing-with-selenium-webdriver
Slide 6 www.edureka.co/apache-spark-scala-trainingSlide 6
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/testing-with-selenium-webdriver
Slide 7 www.edureka.co/apache-spark-scala-trainingSlide 7
 Application changing near to Future
 Test cases which are executed on ad-hoc basis.
When NOT to use Test automation
www.edureka.co/testing-with-selenium-webdriver
Slide 8 www.edureka.co/apache-spark-scala-trainingSlide 8
 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/testing-with-selenium-webdriver
Slide 9 www.edureka.co/apache-spark-scala-trainingSlide 9
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/testing-with-selenium-webdriver
Slide 10 www.edureka.co/apache-spark-scala-trainingSlide 10
 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/testing-with-selenium-webdriver
Slide 11 www.edureka.co/testing-with-selenium-webdriver
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 12 www.edureka.co/apache-spark-scala-trainingSlide 12
Flavors of Selenium
Selenium
Suite
Selenium
IDE
Selenium
RC
WebDriver
Selenium
Grid
Selenium
2
Merged
www.edureka.co/testing-with-selenium-webdriver
Slide 13 www.edureka.co/apache-spark-scala-trainingSlide 13
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/testing-with-selenium-webdriver
Slide 14 www.edureka.co/apache-spark-scala-trainingSlide 14
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/testing-with-selenium-webdriver
Slide 15 www.edureka.co/testing-with-selenium-webdriver
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 16 www.edureka.co/apache-spark-scala-trainingSlide 16
Advantages Disadvantages
Doesn't required selenium server to be start before
executing test scripts
It does not support and non web-based applications
Directly communicates with the browser
You need to know at least one of the supported
language very well in order to automate your
application successfully.
A purely object oriented interface
No inbuilt reporting capability so you need plugins like
JUnit and TestNG for test reports.
Support dynamic finders
Lot of challenges with IE browser.
Support implementation of listeners
NO Technical support you need to rely on the
selenium community forums to get your issue
resolved.
Selenium Web Driver
www.edureka.co/testing-with-selenium-webdriver
Slide 17 www.edureka.co/testing-with-selenium-webdriver
Selenium WebDriver Vs Selenium RC
1. Simpler Architecture
2. Faster
3. Direct Interaction with user
4. Simpler and better API
5. Support for HTMLUnit browser
1. Complex Architecture
2. Slower than WebDriver
3. Acts as a communication mode to
interact with User
4. No support for HTMLUnit browser
SeleniumWebDriver
SeleniumRC
www.edureka.co/testing-with-selenium-webdriver
Slide 18 www.edureka.co/testing-with-selenium-webdriver
Architecture: WebDriver
Selenium Commands
(Java, .NET, Python)
Browser
Web Server
Slide 19 www.edureka.co/testing-with-selenium-webdriver
How Selenium WebDriver works
Test Scripts
WebDriver
Browsers
Slide 20 www.edureka.co/testing-with-selenium-webdriver
Each browser has its own driver on which application runs
These browser drivers has built in support for Automation
Types of Drivers
» HtmlUnit Driver
» IE Driver
» Firefox Driver
» Chrome Driver
» Safari Driver
Types of Selenium WebDriver
Slide 21 www.edureka.co/apache-spark-scala-trainingSlide 21
Demo On Selenium Web Driver
www.edureka.co/testing-with-selenium-webdriver
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/testing-with-selenium-webdriver
Slide 23 www.edureka.co/apache-spark-scala-training
Questions
www.edureka.co/testing-with-selenium-webdriver
Slide 24 www.edureka.co/apache-spark-scala-trainingSlide 24 www.edureka.co/testing-with-selenium-webdriver
 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

Contenu connexe

Tendances

How to Write & Run a Test Case in Selenium | Selenium Tutorial | Selenium Tra...
How to Write & Run a Test Case in Selenium | Selenium Tutorial | Selenium Tra...How to Write & Run a Test Case in Selenium | Selenium Tutorial | Selenium Tra...
How to Write & Run a Test Case in Selenium | Selenium Tutorial | Selenium Tra...Edureka!
 
Selenium training eduxfactor
Selenium training   eduxfactorSelenium training   eduxfactor
Selenium training eduxfactorKapilSai3
 
Designing keyword and Data Driven Automation framework with Selenium
Designing keyword and Data Driven Automation framework with SeleniumDesigning keyword and Data Driven Automation framework with Selenium
Designing keyword and Data Driven Automation framework with SeleniumEdureka!
 
What Is Selenium | Selenium Tutorial For Beginner | Selenium Training | Selen...
What Is Selenium | Selenium Tutorial For Beginner | Selenium Training | Selen...What Is Selenium | Selenium Tutorial For Beginner | Selenium Training | Selen...
What Is Selenium | Selenium Tutorial For Beginner | Selenium Training | Selen...Edureka!
 
Selenium training course_content_3_days
Selenium training course_content_3_daysSelenium training course_content_3_days
Selenium training course_content_3_dayssayhi2sudarshan
 
Designing an effective hybrid apps automation framework
Designing an effective hybrid apps automation frameworkDesigning an effective hybrid apps automation framework
Designing an effective hybrid apps automation frameworkAndrea Tino
 
Best java automation training institute in Bangalore - Selenium Labs
Best java automation training institute in Bangalore - Selenium Labs Best java automation training institute in Bangalore - Selenium Labs
Best java automation training institute in Bangalore - Selenium Labs Selenium Labs
 
Automation framework using selenium webdriver with java
Automation framework using selenium webdriver with javaAutomation framework using selenium webdriver with java
Automation framework using selenium webdriver with javaNarayanan Palani
 
Java for beginners
Java for beginnersJava for beginners
Java for beginnersDucat
 
Test Automation Using Selenium
Test Automation Using SeleniumTest Automation Using Selenium
Test Automation Using SeleniumNikhil Kapoor
 
Automation Testing using Selenium
Automation Testing using SeleniumAutomation Testing using Selenium
Automation Testing using SeleniumNaresh Chintalcheru
 
Ted Husted Presentation Testing The Testers Ae2009
Ted Husted Presentation Testing The Testers Ae2009Ted Husted Presentation Testing The Testers Ae2009
Ted Husted Presentation Testing The Testers Ae2009Ajax Experience 2009
 
Java web start Quick Reference
Java web start Quick Reference Java web start Quick Reference
Java web start Quick Reference Praveen Kumar
 
Selenium WebDriver Tutorial | Selenium WebDriver Tutorial For Beginner | Sele...
Selenium WebDriver Tutorial | Selenium WebDriver Tutorial For Beginner | Sele...Selenium WebDriver Tutorial | Selenium WebDriver Tutorial For Beginner | Sele...
Selenium WebDriver Tutorial | Selenium WebDriver Tutorial For Beginner | Sele...Simplilearn
 
Web application testing with Selenium
Web application testing with SeleniumWeb application testing with Selenium
Web application testing with SeleniumKerry Buckley
 
Selenium webcrawler
Selenium webcrawlerSelenium webcrawler
Selenium webcrawlerRabia Khalid
 
Design Patterns : Solution to Software Design Problems
Design Patterns : Solution to Software Design ProblemsDesign Patterns : Solution to Software Design Problems
Design Patterns : Solution to Software Design ProblemsEdureka!
 

Tendances (20)

How to Write & Run a Test Case in Selenium | Selenium Tutorial | Selenium Tra...
How to Write & Run a Test Case in Selenium | Selenium Tutorial | Selenium Tra...How to Write & Run a Test Case in Selenium | Selenium Tutorial | Selenium Tra...
How to Write & Run a Test Case in Selenium | Selenium Tutorial | Selenium Tra...
 
Selenium training eduxfactor
Selenium training   eduxfactorSelenium training   eduxfactor
Selenium training eduxfactor
 
Designing keyword and Data Driven Automation framework with Selenium
Designing keyword and Data Driven Automation framework with SeleniumDesigning keyword and Data Driven Automation framework with Selenium
Designing keyword and Data Driven Automation framework with Selenium
 
What Is Selenium | Selenium Tutorial For Beginner | Selenium Training | Selen...
What Is Selenium | Selenium Tutorial For Beginner | Selenium Training | Selen...What Is Selenium | Selenium Tutorial For Beginner | Selenium Training | Selen...
What Is Selenium | Selenium Tutorial For Beginner | Selenium Training | Selen...
 
Selenium training course_content_3_days
Selenium training course_content_3_daysSelenium training course_content_3_days
Selenium training course_content_3_days
 
Selenium
SeleniumSelenium
Selenium
 
Designing an effective hybrid apps automation framework
Designing an effective hybrid apps automation frameworkDesigning an effective hybrid apps automation framework
Designing an effective hybrid apps automation framework
 
Best java automation training institute in Bangalore - Selenium Labs
Best java automation training institute in Bangalore - Selenium Labs Best java automation training institute in Bangalore - Selenium Labs
Best java automation training institute in Bangalore - Selenium Labs
 
Automation framework using selenium webdriver with java
Automation framework using selenium webdriver with javaAutomation framework using selenium webdriver with java
Automation framework using selenium webdriver with java
 
Java for beginners
Java for beginnersJava for beginners
Java for beginners
 
Selenium Automation Framework
Selenium Automation  FrameworkSelenium Automation  Framework
Selenium Automation Framework
 
Test Automation Using Selenium
Test Automation Using SeleniumTest Automation Using Selenium
Test Automation Using Selenium
 
Automation Testing using Selenium
Automation Testing using SeleniumAutomation Testing using Selenium
Automation Testing using Selenium
 
Selenium
SeleniumSelenium
Selenium
 
Ted Husted Presentation Testing The Testers Ae2009
Ted Husted Presentation Testing The Testers Ae2009Ted Husted Presentation Testing The Testers Ae2009
Ted Husted Presentation Testing The Testers Ae2009
 
Java web start Quick Reference
Java web start Quick Reference Java web start Quick Reference
Java web start Quick Reference
 
Selenium WebDriver Tutorial | Selenium WebDriver Tutorial For Beginner | Sele...
Selenium WebDriver Tutorial | Selenium WebDriver Tutorial For Beginner | Sele...Selenium WebDriver Tutorial | Selenium WebDriver Tutorial For Beginner | Sele...
Selenium WebDriver Tutorial | Selenium WebDriver Tutorial For Beginner | Sele...
 
Web application testing with Selenium
Web application testing with SeleniumWeb application testing with Selenium
Web application testing with Selenium
 
Selenium webcrawler
Selenium webcrawlerSelenium webcrawler
Selenium webcrawler
 
Design Patterns : Solution to Software Design Problems
Design Patterns : Solution to Software Design ProblemsDesign Patterns : Solution to Software Design Problems
Design Patterns : Solution to Software Design Problems
 

En vedette

Deployment automation framework with selenium
Deployment automation framework with seleniumDeployment automation framework with selenium
Deployment automation framework with seleniumWenhua Wang
 
Learn why use selenium with 3 million dollar bugs!
Learn why use selenium with 3 million dollar bugs!Learn why use selenium with 3 million dollar bugs!
Learn why use selenium with 3 million dollar bugs!Edureka!
 
Continuous Integration With Jenkins
Continuous Integration With JenkinsContinuous Integration With Jenkins
Continuous Integration With JenkinsEdureka!
 
Data driven Automation Framework with Selenium
Data driven Automation Framework with Selenium Data driven Automation Framework with Selenium
Data driven Automation Framework with Selenium Edureka!
 
F5 Scale n and BIG-IP v11 3 for Scalar Partner Event June 4 2013 Toronto
F5 Scale n and BIG-IP v11 3 for Scalar Partner Event June 4 2013 TorontoF5 Scale n and BIG-IP v11 3 for Scalar Partner Event June 4 2013 Toronto
F5 Scale n and BIG-IP v11 3 for Scalar Partner Event June 4 2013 Torontopatmisasi
 
How To Grade Your Selenium Tests by Dave Haeffner - Sauce Labs Webinar
How To Grade Your Selenium Tests by Dave Haeffner - Sauce Labs WebinarHow To Grade Your Selenium Tests by Dave Haeffner - Sauce Labs Webinar
How To Grade Your Selenium Tests by Dave Haeffner - Sauce Labs WebinarSauce Labs
 
Selenium Automation Framework (SAF).
Selenium Automation Framework (SAF).Selenium Automation Framework (SAF).
Selenium Automation Framework (SAF).Mindtree Ltd.
 
Selenium Testing Project report
Selenium Testing Project reportSelenium Testing Project report
Selenium Testing Project reportKapil Rajpurohit
 
BDD with JBehave and Selenium
BDD with JBehave and SeleniumBDD with JBehave and Selenium
BDD with JBehave and SeleniumNikolay Vasilev
 
LPW: Beginners Perl
LPW: Beginners PerlLPW: Beginners Perl
LPW: Beginners PerlDave Cross
 
Automated Web Testing using JavaScript
Automated Web Testing using JavaScriptAutomated Web Testing using JavaScript
Automated Web Testing using JavaScriptSimon Guest
 

En vedette (13)

Perl Presentation
Perl PresentationPerl Presentation
Perl Presentation
 
Deployment automation framework with selenium
Deployment automation framework with seleniumDeployment automation framework with selenium
Deployment automation framework with selenium
 
Learn why use selenium with 3 million dollar bugs!
Learn why use selenium with 3 million dollar bugs!Learn why use selenium with 3 million dollar bugs!
Learn why use selenium with 3 million dollar bugs!
 
Continuous Integration With Jenkins
Continuous Integration With JenkinsContinuous Integration With Jenkins
Continuous Integration With Jenkins
 
Data driven Automation Framework with Selenium
Data driven Automation Framework with Selenium Data driven Automation Framework with Selenium
Data driven Automation Framework with Selenium
 
F5 Scale n and BIG-IP v11 3 for Scalar Partner Event June 4 2013 Toronto
F5 Scale n and BIG-IP v11 3 for Scalar Partner Event June 4 2013 TorontoF5 Scale n and BIG-IP v11 3 for Scalar Partner Event June 4 2013 Toronto
F5 Scale n and BIG-IP v11 3 for Scalar Partner Event June 4 2013 Toronto
 
How To Grade Your Selenium Tests by Dave Haeffner - Sauce Labs Webinar
How To Grade Your Selenium Tests by Dave Haeffner - Sauce Labs WebinarHow To Grade Your Selenium Tests by Dave Haeffner - Sauce Labs Webinar
How To Grade Your Selenium Tests by Dave Haeffner - Sauce Labs Webinar
 
Selenium Automation Framework (SAF).
Selenium Automation Framework (SAF).Selenium Automation Framework (SAF).
Selenium Automation Framework (SAF).
 
Selenium Testing Project report
Selenium Testing Project reportSelenium Testing Project report
Selenium Testing Project report
 
BDD with JBehave and Selenium
BDD with JBehave and SeleniumBDD with JBehave and Selenium
BDD with JBehave and Selenium
 
LPW: Beginners Perl
LPW: Beginners PerlLPW: Beginners Perl
LPW: Beginners Perl
 
Selenium ppt
Selenium pptSelenium ppt
Selenium ppt
 
Automated Web Testing using JavaScript
Automated Web Testing using JavaScriptAutomated Web Testing using JavaScript
Automated Web Testing using JavaScript
 

Similaire à Selenium 1july

automation with python and selenium
automation with python and seleniumautomation with python and selenium
automation with python and seleniumManish Kumar
 
What is Selenium Introduction to Selenium Testing.pptx
What is Selenium Introduction to Selenium Testing.pptxWhat is Selenium Introduction to Selenium Testing.pptx
What is Selenium Introduction to Selenium Testing.pptxSyntax Technologies
 
How to Handle Multiple Windows in Selenium Webdriver | Edureka
How to Handle Multiple Windows in Selenium Webdriver | EdurekaHow to Handle Multiple Windows in Selenium Webdriver | Edureka
How to Handle Multiple Windows in Selenium Webdriver | EdurekaEdureka!
 
Selenium Tutorial For Beginners | Selenium Automation Testing Tutorial | Sele...
Selenium Tutorial For Beginners | Selenium Automation Testing Tutorial | Sele...Selenium Tutorial For Beginners | Selenium Automation Testing Tutorial | Sele...
Selenium Tutorial For Beginners | Selenium Automation Testing Tutorial | Sele...Simplilearn
 
Pdx Se Intro To Se
Pdx Se Intro To SePdx Se Intro To Se
Pdx Se Intro To SeAn Doan
 
Learn Selenium - Online Guide
Learn Selenium - Online GuideLearn Selenium - Online Guide
Learn Selenium - Online Guidebigspire
 
Python selenium
Python seleniumPython selenium
Python seleniumDucat
 
Automated UI testing.Selenium.DrupalCamp Kyiv 2011
Automated UI testing.Selenium.DrupalCamp Kyiv 2011Automated UI testing.Selenium.DrupalCamp Kyiv 2011
Automated UI testing.Selenium.DrupalCamp Kyiv 2011camp_drupal_ua
 
Selenium Interview Questions and Answers For Freshers And Experienced | Edureka
Selenium Interview Questions and Answers For Freshers And Experienced | EdurekaSelenium Interview Questions and Answers For Freshers And Experienced | Edureka
Selenium Interview Questions and Answers For Freshers And Experienced | EdurekaEdureka!
 
Selenium Automation Testing Interview Questions And Answers
Selenium Automation Testing Interview Questions And AnswersSelenium Automation Testing Interview Questions And Answers
Selenium Automation Testing Interview Questions And AnswersAjit Jadhav
 
Ted Husted Presentation Testing Ajax Applications Ae2009
Ted Husted Presentation Testing Ajax Applications Ae2009Ted Husted Presentation Testing Ajax Applications Ae2009
Ted Husted Presentation Testing Ajax Applications Ae2009Ajax Experience 2009
 
Testing Ajax Applications
Testing Ajax ApplicationsTesting Ajax Applications
Testing Ajax ApplicationsTed Husted
 
Sakai10 Selenium Workshop
Sakai10 Selenium WorkshopSakai10 Selenium Workshop
Sakai10 Selenium Workshopcoreyjack
 
A Definitive Guide to Mastering Selenium WebDriver Automation Effectively.pptx
A Definitive Guide to Mastering Selenium WebDriver Automation Effectively.pptxA Definitive Guide to Mastering Selenium WebDriver Automation Effectively.pptx
A Definitive Guide to Mastering Selenium WebDriver Automation Effectively.pptxMatthew Allen
 
Selenium Maven With Eclipse | Edureka
Selenium Maven With Eclipse | EdurekaSelenium Maven With Eclipse | Edureka
Selenium Maven With Eclipse | EdurekaEdureka!
 
Real world selenium resume which gets more job interviews
Real world selenium resume which gets more job interviewsReal world selenium resume which gets more job interviews
Real world selenium resume which gets more job interviewsABSoft Trainings
 
Selenium Certification
Selenium CertificationSelenium Certification
Selenium CertificationVskills
 
test-automation-selenium-160216124839.pptx
test-automation-selenium-160216124839.pptxtest-automation-selenium-160216124839.pptx
test-automation-selenium-160216124839.pptxSyedZaeem9
 

Similaire à Selenium 1july (20)

automation with python and selenium
automation with python and seleniumautomation with python and selenium
automation with python and selenium
 
What is Selenium Introduction to Selenium Testing.pptx
What is Selenium Introduction to Selenium Testing.pptxWhat is Selenium Introduction to Selenium Testing.pptx
What is Selenium Introduction to Selenium Testing.pptx
 
Test automation using selenium
Test automation using seleniumTest automation using selenium
Test automation using selenium
 
How to Handle Multiple Windows in Selenium Webdriver | Edureka
How to Handle Multiple Windows in Selenium Webdriver | EdurekaHow to Handle Multiple Windows in Selenium Webdriver | Edureka
How to Handle Multiple Windows in Selenium Webdriver | Edureka
 
Selenium Tutorial For Beginners | Selenium Automation Testing Tutorial | Sele...
Selenium Tutorial For Beginners | Selenium Automation Testing Tutorial | Sele...Selenium Tutorial For Beginners | Selenium Automation Testing Tutorial | Sele...
Selenium Tutorial For Beginners | Selenium Automation Testing Tutorial | Sele...
 
Pdx Se Intro To Se
Pdx Se Intro To SePdx Se Intro To Se
Pdx Se Intro To Se
 
Learn Selenium - Online Guide
Learn Selenium - Online GuideLearn Selenium - Online Guide
Learn Selenium - Online Guide
 
Python selenium
Python seleniumPython selenium
Python selenium
 
Automated UI testing.Selenium.DrupalCamp Kyiv 2011
Automated UI testing.Selenium.DrupalCamp Kyiv 2011Automated UI testing.Selenium.DrupalCamp Kyiv 2011
Automated UI testing.Selenium.DrupalCamp Kyiv 2011
 
Selenium Interview Questions and Answers For Freshers And Experienced | Edureka
Selenium Interview Questions and Answers For Freshers And Experienced | EdurekaSelenium Interview Questions and Answers For Freshers And Experienced | Edureka
Selenium Interview Questions and Answers For Freshers And Experienced | Edureka
 
Selenium Automation Testing Interview Questions And Answers
Selenium Automation Testing Interview Questions And AnswersSelenium Automation Testing Interview Questions And Answers
Selenium Automation Testing Interview Questions And Answers
 
Selenium
SeleniumSelenium
Selenium
 
Ted Husted Presentation Testing Ajax Applications Ae2009
Ted Husted Presentation Testing Ajax Applications Ae2009Ted Husted Presentation Testing Ajax Applications Ae2009
Ted Husted Presentation Testing Ajax Applications Ae2009
 
Testing Ajax Applications
Testing Ajax ApplicationsTesting Ajax Applications
Testing Ajax Applications
 
Sakai10 Selenium Workshop
Sakai10 Selenium WorkshopSakai10 Selenium Workshop
Sakai10 Selenium Workshop
 
A Definitive Guide to Mastering Selenium WebDriver Automation Effectively.pptx
A Definitive Guide to Mastering Selenium WebDriver Automation Effectively.pptxA Definitive Guide to Mastering Selenium WebDriver Automation Effectively.pptx
A Definitive Guide to Mastering Selenium WebDriver Automation Effectively.pptx
 
Selenium Maven With Eclipse | Edureka
Selenium Maven With Eclipse | EdurekaSelenium Maven With Eclipse | Edureka
Selenium Maven With Eclipse | Edureka
 
Real world selenium resume which gets more job interviews
Real world selenium resume which gets more job interviewsReal world selenium resume which gets more job interviews
Real world selenium resume which gets more job interviews
 
Selenium Certification
Selenium CertificationSelenium Certification
Selenium Certification
 
test-automation-selenium-160216124839.pptx
test-automation-selenium-160216124839.pptxtest-automation-selenium-160216124839.pptx
test-automation-selenium-160216124839.pptx
 

Plus de Edureka!

What to learn during the 21 days Lockdown | Edureka
What to learn during the 21 days Lockdown | EdurekaWhat to learn during the 21 days Lockdown | Edureka
What to learn during the 21 days Lockdown | EdurekaEdureka!
 
Top 10 Dying Programming Languages in 2020 | Edureka
Top 10 Dying Programming Languages in 2020 | EdurekaTop 10 Dying Programming Languages in 2020 | Edureka
Top 10 Dying Programming Languages in 2020 | EdurekaEdureka!
 
Top 5 Trending Business Intelligence Tools | Edureka
Top 5 Trending Business Intelligence Tools | EdurekaTop 5 Trending Business Intelligence Tools | Edureka
Top 5 Trending Business Intelligence Tools | EdurekaEdureka!
 
Tableau Tutorial for Data Science | Edureka
Tableau Tutorial for Data Science | EdurekaTableau Tutorial for Data Science | Edureka
Tableau Tutorial for Data Science | EdurekaEdureka!
 
Python Programming Tutorial | Edureka
Python Programming Tutorial | EdurekaPython Programming Tutorial | Edureka
Python Programming Tutorial | EdurekaEdureka!
 
Top 5 PMP Certifications | Edureka
Top 5 PMP Certifications | EdurekaTop 5 PMP Certifications | Edureka
Top 5 PMP Certifications | EdurekaEdureka!
 
Top Maven Interview Questions in 2020 | Edureka
Top Maven Interview Questions in 2020 | EdurekaTop Maven Interview Questions in 2020 | Edureka
Top Maven Interview Questions in 2020 | EdurekaEdureka!
 
Linux Mint Tutorial | Edureka
Linux Mint Tutorial | EdurekaLinux Mint Tutorial | Edureka
Linux Mint Tutorial | EdurekaEdureka!
 
How to Deploy Java Web App in AWS| Edureka
How to Deploy Java Web App in AWS| EdurekaHow to Deploy Java Web App in AWS| Edureka
How to Deploy Java Web App in AWS| EdurekaEdureka!
 
Importance of Digital Marketing | Edureka
Importance of Digital Marketing | EdurekaImportance of Digital Marketing | Edureka
Importance of Digital Marketing | EdurekaEdureka!
 
RPA in 2020 | Edureka
RPA in 2020 | EdurekaRPA in 2020 | Edureka
RPA in 2020 | EdurekaEdureka!
 
Email Notifications in Jenkins | Edureka
Email Notifications in Jenkins | EdurekaEmail Notifications in Jenkins | Edureka
Email Notifications in Jenkins | EdurekaEdureka!
 
EA Algorithm in Machine Learning | Edureka
EA Algorithm in Machine Learning | EdurekaEA Algorithm in Machine Learning | Edureka
EA Algorithm in Machine Learning | EdurekaEdureka!
 
Cognitive AI Tutorial | Edureka
Cognitive AI Tutorial | EdurekaCognitive AI Tutorial | Edureka
Cognitive AI Tutorial | EdurekaEdureka!
 
AWS Cloud Practitioner Tutorial | Edureka
AWS Cloud Practitioner Tutorial | EdurekaAWS Cloud Practitioner Tutorial | Edureka
AWS Cloud Practitioner Tutorial | EdurekaEdureka!
 
Blue Prism Top Interview Questions | Edureka
Blue Prism Top Interview Questions | EdurekaBlue Prism Top Interview Questions | Edureka
Blue Prism Top Interview Questions | EdurekaEdureka!
 
Big Data on AWS Tutorial | Edureka
Big Data on AWS Tutorial | Edureka Big Data on AWS Tutorial | Edureka
Big Data on AWS Tutorial | Edureka Edureka!
 
A star algorithm | A* Algorithm in Artificial Intelligence | Edureka
A star algorithm | A* Algorithm in Artificial Intelligence | EdurekaA star algorithm | A* Algorithm in Artificial Intelligence | Edureka
A star algorithm | A* Algorithm in Artificial Intelligence | EdurekaEdureka!
 
Kubernetes Installation on Ubuntu | Edureka
Kubernetes Installation on Ubuntu | EdurekaKubernetes Installation on Ubuntu | Edureka
Kubernetes Installation on Ubuntu | EdurekaEdureka!
 
Introduction to DevOps | Edureka
Introduction to DevOps | EdurekaIntroduction to DevOps | Edureka
Introduction to DevOps | EdurekaEdureka!
 

Plus de Edureka! (20)

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

Selenium 1july

  • 1. View Selenium course details at www.edureka.co/testing-with-selenium-webdriver Test Automation with Selenium Web driver
  • 2. Slide 2 www.edureka.co/apache-spark-scala-trainingSlide 2 Objectives At the end of this module, you will be able to  Disadvantages of Manual Testing  Know about Automation Testing  Learn Selenium and its advantages  Learn Automation Metrics  Understand Selenium Web driver Demo on Selenium Web Driver www.edureka.co/testing-with-selenium-webdriver
  • 3. Slide 3 www.edureka.co/apache-spark-scala-trainingSlide 3 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/testing-with-selenium-webdriver
  • 4. Slide 4 www.edureka.co/apache-spark-scala-trainingSlide 4 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/testing-with-selenium-webdriver
  • 5. Slide 5 www.edureka.co/apache-spark-scala-trainingSlide 5 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/testing-with-selenium-webdriver
  • 6. Slide 6 www.edureka.co/apache-spark-scala-trainingSlide 6 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/testing-with-selenium-webdriver
  • 7. Slide 7 www.edureka.co/apache-spark-scala-trainingSlide 7  Application changing near to Future  Test cases which are executed on ad-hoc basis. When NOT to use Test automation www.edureka.co/testing-with-selenium-webdriver
  • 8. Slide 8 www.edureka.co/apache-spark-scala-trainingSlide 8  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/testing-with-selenium-webdriver
  • 9. Slide 9 www.edureka.co/apache-spark-scala-trainingSlide 9 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/testing-with-selenium-webdriver
  • 10. Slide 10 www.edureka.co/apache-spark-scala-trainingSlide 10  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/testing-with-selenium-webdriver
  • 11. Slide 11 www.edureka.co/testing-with-selenium-webdriver 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
  • 12. Slide 12 www.edureka.co/apache-spark-scala-trainingSlide 12 Flavors of Selenium Selenium Suite Selenium IDE Selenium RC WebDriver Selenium Grid Selenium 2 Merged www.edureka.co/testing-with-selenium-webdriver
  • 13. Slide 13 www.edureka.co/apache-spark-scala-trainingSlide 13 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/testing-with-selenium-webdriver
  • 14. Slide 14 www.edureka.co/apache-spark-scala-trainingSlide 14 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/testing-with-selenium-webdriver
  • 15. Slide 15 www.edureka.co/testing-with-selenium-webdriver 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.
  • 16. Slide 16 www.edureka.co/apache-spark-scala-trainingSlide 16 Advantages Disadvantages Doesn't required selenium server to be start before executing test scripts It does not support and non web-based applications Directly communicates with the browser You need to know at least one of the supported language very well in order to automate your application successfully. A purely object oriented interface No inbuilt reporting capability so you need plugins like JUnit and TestNG for test reports. Support dynamic finders Lot of challenges with IE browser. Support implementation of listeners NO Technical support you need to rely on the selenium community forums to get your issue resolved. Selenium Web Driver www.edureka.co/testing-with-selenium-webdriver
  • 17. Slide 17 www.edureka.co/testing-with-selenium-webdriver Selenium WebDriver Vs Selenium RC 1. Simpler Architecture 2. Faster 3. Direct Interaction with user 4. Simpler and better API 5. Support for HTMLUnit browser 1. Complex Architecture 2. Slower than WebDriver 3. Acts as a communication mode to interact with User 4. No support for HTMLUnit browser SeleniumWebDriver SeleniumRC www.edureka.co/testing-with-selenium-webdriver
  • 18. Slide 18 www.edureka.co/testing-with-selenium-webdriver Architecture: WebDriver Selenium Commands (Java, .NET, Python) Browser Web Server
  • 19. Slide 19 www.edureka.co/testing-with-selenium-webdriver How Selenium WebDriver works Test Scripts WebDriver Browsers
  • 20. Slide 20 www.edureka.co/testing-with-selenium-webdriver Each browser has its own driver on which application runs These browser drivers has built in support for Automation Types of Drivers » HtmlUnit Driver » IE Driver » Firefox Driver » Chrome Driver » Safari Driver Types of Selenium WebDriver
  • 21. Slide 21 www.edureka.co/apache-spark-scala-trainingSlide 21 Demo On Selenium Web Driver www.edureka.co/testing-with-selenium-webdriver
  • 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/testing-with-selenium-webdriver
  • 24. Slide 24 www.edureka.co/apache-spark-scala-trainingSlide 24 www.edureka.co/testing-with-selenium-webdriver  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