SlideShare a Scribd company logo
Sélénium Test Automation
Selenium – Testing Tool
Agenda
 What is selenium & why?
 Selenium Components
 Advantages of Selenium
 Automating Tests using Selenium
 Benefits to the Organization
 Limitations
 Conclusion
Test Automation
Automation
 The process of converting manual test cases to test scripts by
using automation tools is called as automation
 The test scripts can be executed on the targeted application
whenever required.
Advantages
 Saves time by executing the script without any manual effort
 We can reduce the cost to the company
 Test scripts are repeatable
 Bugs can be identified and accuracy maintained
 Test report will be generated by the tool and we can ensure
quality
What is Selenium?
 Selenium is a robust set of tools that supports rapid development
of test automation for web-based applications
 Open source
 Used for functional regression testing
 Uses JavaScript
 Embeds test automation engine in your browser
 Hooks for many other languages - Java, Ruby, Python
 Selenium operations are highly flexible & Extendable
Selenium Components
Selenium Components
Selenium IDE
 Integrated Development Environment is for record and run the
script.
 It is an add on for Firefox
 It is accountable for user’s actions
 The recorded script can be viewed in all the supported
languages
 The Recorded scripts can be run against other browsers with the
help of RC or Web Driver
Selenium Components
Selenium RC
 RC: Remote Control
 It is server and it launches all the brewers but one browser at a
time
 It acts as API and Library
 It is Responsible for the Entire automation
 It is also known as selenium1
Selenium Components
Selenium Web Driver
 The advanced version of selenium RC is known as selenium
web Driver.
 The combination of the RC and Web Driver is called as
Selenium2.0
Selenium Grid
 Grid is for parallel Execution
 We can launch all supported browsers parallel and script can be
executed on the targeted browsers parallel
Selenium Frameworks
Definition
Frameworks is a combination of classes, Methods, API’s, Libraries
these all combined together to work on one application
effectively
 Modular Frameworks
 Data Driven Frameworks
 Keyword Driver Frameworks
 Junit
 TestNG
 Hybrid Frameworks
Selenium Frameworks
Modular Frameworks
 It is basic framework and also linear framework
 The automation engineer’s will divide the application into
modules and sub modules
 They will develop the scripts for all the modules
 The scripts are stable they will integrate all the scripts in a
hierarchical order to execute
Selenium Frameworks
Data Driven Framework
 Introduced external files like excel, txt, XML, Database etc.. To
take input data as well as to give output result
 It contains the driver script it is responsible for execution
 Driver script doesn’t contain any of test cases or test data all
the test data and test cases will be available in external file
 The driver script will take the data from external file and
executes hence we call it as data driven framework
Selenium Frameworks
Keyword Driven Frameworks
 Keyword means step and it is a step by step execution
 It is very similar to manual testing, so test scripts are similar in
the Keyword Driven Framework
Types of Keyword Driven Frameworks
Junit
 It is java unit testing framework, the main purpose of junit is to
develop the script in java programming language and to
execute the scripts once execution is done it auto generates
the report result
Selenium Frameworks
TestNG
 It is testing framework and developed on top of junit they over
come all the limitations of Junit in TestNG and introduced some
new functionality
 TestNG is add on for eclipse
Hybrid Frameworks
 The combination of any two or more frameworks is nothing but
Hybrid Framework
Prerequisites
Software
 Selenium IDE, Mozilla Firefox for script recording
 Selenium Server, Java for running scripts, sikuli
Configuration
 Set path variables
 Use –multi Window option while starting server
Resource
 Users… should have basic scripting knowledge
 Hardware… No specific requirement the basic configuration for a
server – P4, 512 MB RAM is good enough.
Features
 Open source, free software
 Allows scripting in several languages like Java, C#, PHP and
Python.
 Assertion statements provide an efficient way of comparing
expected and actual results.
 Inbuilt reporting mechanism.
 Easy Installation
 Scripting Techniques :
 Easy recording and playback of scripts
 Compatibility :
 Multiple operating systems (Windows, Linux, Mac)
 Allows cross browser testing
 Integration with third party tools.
Benefits to the Organization
Automation Benefits
 Usual benefits for automation e.g. Time saving
 Time required for sanity reduced ( 12 man hours to 3 man hours,
build frequency of 4-5 builds a month )
 For one of the projects, Sanity suite automated : 243 test cases
 Good Returns on Zero Investment
Increasing Productivity
 Cost saving as it is open-source
 QA engineers get familiar with scripting languages like Ruby,
Perl etc apart from manual testing
Caveat
 Full automation and maintenance has not been evaluated and
that can be a risk
Selenium Best Practices
Automation Benefits
 Usual benefits for automation e.g. Time saving
 Time required for sanity reduced ( 12 man hours to 3 man hours,
build frequency of 4-5 builds a month )
 For one of the projects, Sanity suite automated : 243 test cases
 Good Returns on Zero Investment
Increasing Productivity
 Cost saving as it is open-source
 QA engineers get familiar with scripting languages like Ruby,
Perl etc apart from manual testing
Caveat
 Full automation and maintenance has not been evaluated and
that can be a risk
Limitations
 It does not support and Desktop applications
 Its and open source tool so in case of any technical issues you
need to rely on the selenium community forums to get your issue
resolved.
 You need to know at least one of the supported language very
well in order to automate your application successfully.
 No inbuilt reporting capability so you need plugins like JUnit and
TestNG for test reports
 Lack of exhaustive formal guidance material
Note: Selenium Support Desktop applications using Sikuli.
Selenium test automation
Ad

More Related Content

What's hot (20)

Selenium Presentation at Engineering Colleges
Selenium Presentation at Engineering CollegesSelenium Presentation at Engineering Colleges
Selenium Presentation at Engineering Colleges
Vijay Rangaiah
 
Selenium ppt
Selenium pptSelenium ppt
Selenium ppt
Aneesh Rangarajan
 
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
 
Introduction to Selenium Web Driver
Introduction to Selenium Web DriverIntroduction to Selenium Web Driver
Introduction to Selenium Web Driver
Return on Intelligence
 
Selenium Automation Framework
Selenium Automation  FrameworkSelenium Automation  Framework
Selenium Automation Framework
Mindfire Solutions
 
Selenium Concepts
Selenium ConceptsSelenium Concepts
Selenium Concepts
Swati Bansal
 
Automated Web Testing Using Selenium
Automated Web Testing Using SeleniumAutomated Web Testing Using Selenium
Automated Web Testing Using Selenium
Weifeng Zhang
 
Selenium ppt
Selenium pptSelenium ppt
Selenium ppt
Anirudh Raja
 
Web application testing with Selenium
Web application testing with SeleniumWeb application testing with Selenium
Web application testing with Selenium
Kerry Buckley
 
Automation - web testing with selenium
Automation - web testing with seleniumAutomation - web testing with selenium
Automation - web testing with selenium
Tzirla Rozental
 
Automation Testing using Selenium Webdriver
Automation Testing using Selenium WebdriverAutomation Testing using Selenium Webdriver
Automation Testing using Selenium Webdriver
Pankaj Biswas
 
Test automation using selenium
Test automation using seleniumTest automation using selenium
Test automation using selenium
Cynoteck Technology Solutions Private Limited
 
An overview of selenium webdriver
An overview of selenium webdriverAn overview of selenium webdriver
An overview of selenium webdriver
Anuraj S.L
 
Selenium
SeleniumSelenium
Selenium
Batch2016
 
Selenium WebDriver training
Selenium WebDriver trainingSelenium WebDriver training
Selenium WebDriver training
Vijay Krishnan Ramaswamy
 
QSpiders - Automation using Selenium
QSpiders - Automation using SeleniumQSpiders - Automation using Selenium
QSpiders - Automation using Selenium
Qspiders - Software Testing Training Institute
 
Test Automation Framework Designs
Test Automation Framework DesignsTest Automation Framework Designs
Test Automation Framework Designs
Sauce Labs
 
SELENIUM PPT.pdf
SELENIUM PPT.pdfSELENIUM PPT.pdf
SELENIUM PPT.pdf
RebelSnowball
 
Test Automation
Test AutomationTest Automation
Test Automation
rockoder
 
Selenium with Cucumber
Selenium  with Cucumber Selenium  with Cucumber
Selenium with Cucumber
Knoldus Inc.
 
Selenium Presentation at Engineering Colleges
Selenium Presentation at Engineering CollegesSelenium Presentation at Engineering Colleges
Selenium Presentation at Engineering Colleges
Vijay Rangaiah
 
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
 
Automated Web Testing Using Selenium
Automated Web Testing Using SeleniumAutomated Web Testing Using Selenium
Automated Web Testing Using Selenium
Weifeng Zhang
 
Web application testing with Selenium
Web application testing with SeleniumWeb application testing with Selenium
Web application testing with Selenium
Kerry Buckley
 
Automation - web testing with selenium
Automation - web testing with seleniumAutomation - web testing with selenium
Automation - web testing with selenium
Tzirla Rozental
 
Automation Testing using Selenium Webdriver
Automation Testing using Selenium WebdriverAutomation Testing using Selenium Webdriver
Automation Testing using Selenium Webdriver
Pankaj Biswas
 
An overview of selenium webdriver
An overview of selenium webdriverAn overview of selenium webdriver
An overview of selenium webdriver
Anuraj S.L
 
Test Automation Framework Designs
Test Automation Framework DesignsTest Automation Framework Designs
Test Automation Framework Designs
Sauce Labs
 
Test Automation
Test AutomationTest Automation
Test Automation
rockoder
 
Selenium with Cucumber
Selenium  with Cucumber Selenium  with Cucumber
Selenium with Cucumber
Knoldus Inc.
 

Viewers also liked (7)

Selenium- A Software Testing Tool
Selenium- A Software Testing ToolSelenium- A Software Testing Tool
Selenium- A Software Testing Tool
Zeba Tahseen
 
Introductie at framework
Introductie at frameworkIntroductie at framework
Introductie at framework
Erwin Heitzman
 
Test Framework for Acne Selenium+Sahi
Test Framework for Acne Selenium+SahiTest Framework for Acne Selenium+Sahi
Test Framework for Acne Selenium+Sahi
Shashikant Jagtap
 
Sahi presentation on BOJUG
Sahi presentation on BOJUGSahi presentation on BOJUG
Sahi presentation on BOJUG
narayanraman
 
Sahi my expirience
Sahi my expirienceSahi my expirience
Sahi my expirience
Akss004
 
Selenium
SeleniumSelenium
Selenium
Ruturaj Doshi
 
Automated analysis 112070804013
Automated analysis 112070804013Automated analysis 112070804013
Automated analysis 112070804013
Patel Parth
 
Selenium- A Software Testing Tool
Selenium- A Software Testing ToolSelenium- A Software Testing Tool
Selenium- A Software Testing Tool
Zeba Tahseen
 
Introductie at framework
Introductie at frameworkIntroductie at framework
Introductie at framework
Erwin Heitzman
 
Test Framework for Acne Selenium+Sahi
Test Framework for Acne Selenium+SahiTest Framework for Acne Selenium+Sahi
Test Framework for Acne Selenium+Sahi
Shashikant Jagtap
 
Sahi presentation on BOJUG
Sahi presentation on BOJUGSahi presentation on BOJUG
Sahi presentation on BOJUG
narayanraman
 
Sahi my expirience
Sahi my expirienceSahi my expirience
Sahi my expirience
Akss004
 
Automated analysis 112070804013
Automated analysis 112070804013Automated analysis 112070804013
Automated analysis 112070804013
Patel Parth
 
Ad

Similar to Selenium test automation (20)

[DevDay 2017] Automation Testing - Speaker: Nghia Khuong - Project Manager at...
[DevDay 2017] Automation Testing - Speaker: Nghia Khuong - Project Manager at...[DevDay 2017] Automation Testing - Speaker: Nghia Khuong - Project Manager at...
[DevDay 2017] Automation Testing - Speaker: Nghia Khuong - Project Manager at...
DevDay Da Nang
 
Best Unit Testing Frameworks to Automate your Desktop Web Testing using Selen...
Best Unit Testing Frameworks to Automate your Desktop Web Testing using Selen...Best Unit Testing Frameworks to Automate your Desktop Web Testing using Selen...
Best Unit Testing Frameworks to Automate your Desktop Web Testing using Selen...
pCloudy
 
test-automation-selenium-160216124839.pptx
test-automation-selenium-160216124839.pptxtest-automation-selenium-160216124839.pptx
test-automation-selenium-160216124839.pptx
SyedZaeem9
 
Lesson_06_Software_and_Automation_Testing_Frameworks.pdf
Lesson_06_Software_and_Automation_Testing_Frameworks.pdfLesson_06_Software_and_Automation_Testing_Frameworks.pdf
Lesson_06_Software_and_Automation_Testing_Frameworks.pdf
Minh Quân Đoàn
 
What is Selenium Introduction to Selenium Testing.pptx
What is Selenium Introduction to Selenium Testing.pptxWhat is Selenium Introduction to Selenium Testing.pptx
What is Selenium Introduction to Selenium Testing.pptx
Syntax Technologies
 
A Simple Guide to Selenium Software Testing
A Simple Guide to Selenium Software TestingA Simple Guide to Selenium Software Testing
A Simple Guide to Selenium Software Testing
Calidad Infotech
 
Python selenium
Python seleniumPython selenium
Python selenium
Ducat
 
Test Automation Using Selenium
Test Automation Using SeleniumTest Automation Using Selenium
Test Automation Using Selenium
Nikhil Kapoor
 
What is Selenium Automation Testing.pdf
What is Selenium Automation Testing.pdfWhat is Selenium Automation Testing.pdf
What is Selenium Automation Testing.pdf
AnanthReddy38
 
Learn Selenium - Online Guide
Learn Selenium - Online GuideLearn Selenium - Online Guide
Learn Selenium - Online Guide
bigspire
 
Karate _Framework.ppt
Karate _Framework.pptKarate _Framework.ppt
Karate _Framework.ppt
SamKhan531862
 
What is selenium
What is seleniumWhat is selenium
What is selenium
sachin patil
 
Selenium Primer
Selenium PrimerSelenium Primer
Selenium Primer
gueste1e4db
 
Automation Testing by Ashwin Shiv
Automation Testing by Ashwin Shiv Automation Testing by Ashwin Shiv
Automation Testing by Ashwin Shiv
Ashwin Shiv
 
Reasons behind selenium automation testing popularity
Reasons behind selenium automation testing popularityReasons behind selenium automation testing popularity
Reasons behind selenium automation testing popularity
Ray Business Technologies
 
Selenium Testing The Complete Step-by-Step Tutorial.pdf
Selenium Testing The Complete Step-by-Step Tutorial.pdfSelenium Testing The Complete Step-by-Step Tutorial.pdf
Selenium Testing The Complete Step-by-Step Tutorial.pdf
Steve Wortham
 
Leveraging Open Source Automation: A Selenium WebDriver Example
Leveraging Open Source Automation: A Selenium WebDriver ExampleLeveraging Open Source Automation: A Selenium WebDriver Example
Leveraging Open Source Automation: A Selenium WebDriver Example
TechWell
 
Pros and Cons of Selenium In Automation Testing_ A Comprehensive Assessment.pdf
Pros and Cons of Selenium In Automation Testing_ A Comprehensive Assessment.pdfPros and Cons of Selenium In Automation Testing_ A Comprehensive Assessment.pdf
Pros and Cons of Selenium In Automation Testing_ A Comprehensive Assessment.pdf
kalichargn70th171
 
What Is Selenium? | Selenium Basics For Beginners | Introduction To Selenium ...
What Is Selenium? | Selenium Basics For Beginners | Introduction To Selenium ...What Is Selenium? | Selenium Basics For Beginners | Introduction To Selenium ...
What Is Selenium? | Selenium Basics For Beginners | Introduction To Selenium ...
Simplilearn
 
4&5.pptx SOFTWARE TESTING UNIT-4 AND UNIT-5
4&5.pptx SOFTWARE TESTING UNIT-4 AND UNIT-54&5.pptx SOFTWARE TESTING UNIT-4 AND UNIT-5
4&5.pptx SOFTWARE TESTING UNIT-4 AND UNIT-5
hemasubbu08
 
[DevDay 2017] Automation Testing - Speaker: Nghia Khuong - Project Manager at...
[DevDay 2017] Automation Testing - Speaker: Nghia Khuong - Project Manager at...[DevDay 2017] Automation Testing - Speaker: Nghia Khuong - Project Manager at...
[DevDay 2017] Automation Testing - Speaker: Nghia Khuong - Project Manager at...
DevDay Da Nang
 
Best Unit Testing Frameworks to Automate your Desktop Web Testing using Selen...
Best Unit Testing Frameworks to Automate your Desktop Web Testing using Selen...Best Unit Testing Frameworks to Automate your Desktop Web Testing using Selen...
Best Unit Testing Frameworks to Automate your Desktop Web Testing using Selen...
pCloudy
 
test-automation-selenium-160216124839.pptx
test-automation-selenium-160216124839.pptxtest-automation-selenium-160216124839.pptx
test-automation-selenium-160216124839.pptx
SyedZaeem9
 
Lesson_06_Software_and_Automation_Testing_Frameworks.pdf
Lesson_06_Software_and_Automation_Testing_Frameworks.pdfLesson_06_Software_and_Automation_Testing_Frameworks.pdf
Lesson_06_Software_and_Automation_Testing_Frameworks.pdf
Minh Quân Đoàn
 
What is Selenium Introduction to Selenium Testing.pptx
What is Selenium Introduction to Selenium Testing.pptxWhat is Selenium Introduction to Selenium Testing.pptx
What is Selenium Introduction to Selenium Testing.pptx
Syntax Technologies
 
A Simple Guide to Selenium Software Testing
A Simple Guide to Selenium Software TestingA Simple Guide to Selenium Software Testing
A Simple Guide to Selenium Software Testing
Calidad Infotech
 
Python selenium
Python seleniumPython selenium
Python selenium
Ducat
 
Test Automation Using Selenium
Test Automation Using SeleniumTest Automation Using Selenium
Test Automation Using Selenium
Nikhil Kapoor
 
What is Selenium Automation Testing.pdf
What is Selenium Automation Testing.pdfWhat is Selenium Automation Testing.pdf
What is Selenium Automation Testing.pdf
AnanthReddy38
 
Learn Selenium - Online Guide
Learn Selenium - Online GuideLearn Selenium - Online Guide
Learn Selenium - Online Guide
bigspire
 
Karate _Framework.ppt
Karate _Framework.pptKarate _Framework.ppt
Karate _Framework.ppt
SamKhan531862
 
Automation Testing by Ashwin Shiv
Automation Testing by Ashwin Shiv Automation Testing by Ashwin Shiv
Automation Testing by Ashwin Shiv
Ashwin Shiv
 
Reasons behind selenium automation testing popularity
Reasons behind selenium automation testing popularityReasons behind selenium automation testing popularity
Reasons behind selenium automation testing popularity
Ray Business Technologies
 
Selenium Testing The Complete Step-by-Step Tutorial.pdf
Selenium Testing The Complete Step-by-Step Tutorial.pdfSelenium Testing The Complete Step-by-Step Tutorial.pdf
Selenium Testing The Complete Step-by-Step Tutorial.pdf
Steve Wortham
 
Leveraging Open Source Automation: A Selenium WebDriver Example
Leveraging Open Source Automation: A Selenium WebDriver ExampleLeveraging Open Source Automation: A Selenium WebDriver Example
Leveraging Open Source Automation: A Selenium WebDriver Example
TechWell
 
Pros and Cons of Selenium In Automation Testing_ A Comprehensive Assessment.pdf
Pros and Cons of Selenium In Automation Testing_ A Comprehensive Assessment.pdfPros and Cons of Selenium In Automation Testing_ A Comprehensive Assessment.pdf
Pros and Cons of Selenium In Automation Testing_ A Comprehensive Assessment.pdf
kalichargn70th171
 
What Is Selenium? | Selenium Basics For Beginners | Introduction To Selenium ...
What Is Selenium? | Selenium Basics For Beginners | Introduction To Selenium ...What Is Selenium? | Selenium Basics For Beginners | Introduction To Selenium ...
What Is Selenium? | Selenium Basics For Beginners | Introduction To Selenium ...
Simplilearn
 
4&5.pptx SOFTWARE TESTING UNIT-4 AND UNIT-5
4&5.pptx SOFTWARE TESTING UNIT-4 AND UNIT-54&5.pptx SOFTWARE TESTING UNIT-4 AND UNIT-5
4&5.pptx SOFTWARE TESTING UNIT-4 AND UNIT-5
hemasubbu08
 
Ad

Recently uploaded (20)

How to Install & Activate ListGrabber - eGrabber
How to Install & Activate ListGrabber - eGrabberHow to Install & Activate ListGrabber - eGrabber
How to Install & Activate ListGrabber - eGrabber
eGrabber
 
GyrusAI - Broadcasting & Streaming Applications Driven by AI and ML
GyrusAI - Broadcasting & Streaming Applications Driven by AI and MLGyrusAI - Broadcasting & Streaming Applications Driven by AI and ML
GyrusAI - Broadcasting & Streaming Applications Driven by AI and ML
Gyrus AI
 
Q1 2025 Dropbox Earnings and Investor Presentation
Q1 2025 Dropbox Earnings and Investor PresentationQ1 2025 Dropbox Earnings and Investor Presentation
Q1 2025 Dropbox Earnings and Investor Presentation
Dropbox
 
Enterprise Integration Is Dead! Long Live AI-Driven Integration with Apache C...
Enterprise Integration Is Dead! Long Live AI-Driven Integration with Apache C...Enterprise Integration Is Dead! Long Live AI-Driven Integration with Apache C...
Enterprise Integration Is Dead! Long Live AI-Driven Integration with Apache C...
Markus Eisele
 
Financial Services Technology Summit 2025
Financial Services Technology Summit 2025Financial Services Technology Summit 2025
Financial Services Technology Summit 2025
Ray Bugg
 
machines-for-woodworking-shops-en-compressed.pdf
machines-for-woodworking-shops-en-compressed.pdfmachines-for-woodworking-shops-en-compressed.pdf
machines-for-woodworking-shops-en-compressed.pdf
AmirStern2
 
Zilliz Cloud Monthly Technical Review: May 2025
Zilliz Cloud Monthly Technical Review: May 2025Zilliz Cloud Monthly Technical Review: May 2025
Zilliz Cloud Monthly Technical Review: May 2025
Zilliz
 
AsyncAPI v3 : Streamlining Event-Driven API Design
AsyncAPI v3 : Streamlining Event-Driven API DesignAsyncAPI v3 : Streamlining Event-Driven API Design
AsyncAPI v3 : Streamlining Event-Driven API Design
leonid54
 
Com fer un pla de gestió de dades amb l'eiNa DMP (en anglès)
Com fer un pla de gestió de dades amb l'eiNa DMP (en anglès)Com fer un pla de gestió de dades amb l'eiNa DMP (en anglès)
Com fer un pla de gestió de dades amb l'eiNa DMP (en anglès)
CSUC - Consorci de Serveis Universitaris de Catalunya
 
fennec fox optimization algorithm for optimal solution
fennec fox optimization algorithm for optimal solutionfennec fox optimization algorithm for optimal solution
fennec fox optimization algorithm for optimal solution
shallal2
 
Design pattern talk by Kaya Weers - 2025 (v2)
Design pattern talk by Kaya Weers - 2025 (v2)Design pattern talk by Kaya Weers - 2025 (v2)
Design pattern talk by Kaya Weers - 2025 (v2)
Kaya Weers
 
AI x Accessibility UXPA by Stew Smith and Olivier Vroom
AI x Accessibility UXPA by Stew Smith and Olivier VroomAI x Accessibility UXPA by Stew Smith and Olivier Vroom
AI x Accessibility UXPA by Stew Smith and Olivier Vroom
UXPA Boston
 
Integrating FME with Python: Tips, Demos, and Best Practices for Powerful Aut...
Integrating FME with Python: Tips, Demos, and Best Practices for Powerful Aut...Integrating FME with Python: Tips, Demos, and Best Practices for Powerful Aut...
Integrating FME with Python: Tips, Demos, and Best Practices for Powerful Aut...
Safe Software
 
Hybridize Functions: A Tool for Automatically Refactoring Imperative Deep Lea...
Hybridize Functions: A Tool for Automatically Refactoring Imperative Deep Lea...Hybridize Functions: A Tool for Automatically Refactoring Imperative Deep Lea...
Hybridize Functions: A Tool for Automatically Refactoring Imperative Deep Lea...
Raffi Khatchadourian
 
Viam product demo_ Deploying and scaling AI with hardware.pdf
Viam product demo_ Deploying and scaling AI with hardware.pdfViam product demo_ Deploying and scaling AI with hardware.pdf
Viam product demo_ Deploying and scaling AI with hardware.pdf
camilalamoratta
 
GDG Cloud Southlake #42: Suresh Mathew: Autonomous Resource Optimization: How...
GDG Cloud Southlake #42: Suresh Mathew: Autonomous Resource Optimization: How...GDG Cloud Southlake #42: Suresh Mathew: Autonomous Resource Optimization: How...
GDG Cloud Southlake #42: Suresh Mathew: Autonomous Resource Optimization: How...
James Anderson
 
Mastering Testing in the Modern F&B Landscape
Mastering Testing in the Modern F&B LandscapeMastering Testing in the Modern F&B Landscape
Mastering Testing in the Modern F&B Landscape
marketing943205
 
Shoehorning dependency injection into a FP language, what does it take?
Shoehorning dependency injection into a FP language, what does it take?Shoehorning dependency injection into a FP language, what does it take?
Shoehorning dependency injection into a FP language, what does it take?
Eric Torreborre
 
RTP Over QUIC: An Interesting Opportunity Or Wasted Time?
RTP Over QUIC: An Interesting Opportunity Or Wasted Time?RTP Over QUIC: An Interesting Opportunity Or Wasted Time?
RTP Over QUIC: An Interesting Opportunity Or Wasted Time?
Lorenzo Miniero
 
Kit-Works Team Study_팀스터디_김한솔_nuqs_20250509.pdf
Kit-Works Team Study_팀스터디_김한솔_nuqs_20250509.pdfKit-Works Team Study_팀스터디_김한솔_nuqs_20250509.pdf
Kit-Works Team Study_팀스터디_김한솔_nuqs_20250509.pdf
Wonjun Hwang
 
How to Install & Activate ListGrabber - eGrabber
How to Install & Activate ListGrabber - eGrabberHow to Install & Activate ListGrabber - eGrabber
How to Install & Activate ListGrabber - eGrabber
eGrabber
 
GyrusAI - Broadcasting & Streaming Applications Driven by AI and ML
GyrusAI - Broadcasting & Streaming Applications Driven by AI and MLGyrusAI - Broadcasting & Streaming Applications Driven by AI and ML
GyrusAI - Broadcasting & Streaming Applications Driven by AI and ML
Gyrus AI
 
Q1 2025 Dropbox Earnings and Investor Presentation
Q1 2025 Dropbox Earnings and Investor PresentationQ1 2025 Dropbox Earnings and Investor Presentation
Q1 2025 Dropbox Earnings and Investor Presentation
Dropbox
 
Enterprise Integration Is Dead! Long Live AI-Driven Integration with Apache C...
Enterprise Integration Is Dead! Long Live AI-Driven Integration with Apache C...Enterprise Integration Is Dead! Long Live AI-Driven Integration with Apache C...
Enterprise Integration Is Dead! Long Live AI-Driven Integration with Apache C...
Markus Eisele
 
Financial Services Technology Summit 2025
Financial Services Technology Summit 2025Financial Services Technology Summit 2025
Financial Services Technology Summit 2025
Ray Bugg
 
machines-for-woodworking-shops-en-compressed.pdf
machines-for-woodworking-shops-en-compressed.pdfmachines-for-woodworking-shops-en-compressed.pdf
machines-for-woodworking-shops-en-compressed.pdf
AmirStern2
 
Zilliz Cloud Monthly Technical Review: May 2025
Zilliz Cloud Monthly Technical Review: May 2025Zilliz Cloud Monthly Technical Review: May 2025
Zilliz Cloud Monthly Technical Review: May 2025
Zilliz
 
AsyncAPI v3 : Streamlining Event-Driven API Design
AsyncAPI v3 : Streamlining Event-Driven API DesignAsyncAPI v3 : Streamlining Event-Driven API Design
AsyncAPI v3 : Streamlining Event-Driven API Design
leonid54
 
fennec fox optimization algorithm for optimal solution
fennec fox optimization algorithm for optimal solutionfennec fox optimization algorithm for optimal solution
fennec fox optimization algorithm for optimal solution
shallal2
 
Design pattern talk by Kaya Weers - 2025 (v2)
Design pattern talk by Kaya Weers - 2025 (v2)Design pattern talk by Kaya Weers - 2025 (v2)
Design pattern talk by Kaya Weers - 2025 (v2)
Kaya Weers
 
AI x Accessibility UXPA by Stew Smith and Olivier Vroom
AI x Accessibility UXPA by Stew Smith and Olivier VroomAI x Accessibility UXPA by Stew Smith and Olivier Vroom
AI x Accessibility UXPA by Stew Smith and Olivier Vroom
UXPA Boston
 
Integrating FME with Python: Tips, Demos, and Best Practices for Powerful Aut...
Integrating FME with Python: Tips, Demos, and Best Practices for Powerful Aut...Integrating FME with Python: Tips, Demos, and Best Practices for Powerful Aut...
Integrating FME with Python: Tips, Demos, and Best Practices for Powerful Aut...
Safe Software
 
Hybridize Functions: A Tool for Automatically Refactoring Imperative Deep Lea...
Hybridize Functions: A Tool for Automatically Refactoring Imperative Deep Lea...Hybridize Functions: A Tool for Automatically Refactoring Imperative Deep Lea...
Hybridize Functions: A Tool for Automatically Refactoring Imperative Deep Lea...
Raffi Khatchadourian
 
Viam product demo_ Deploying and scaling AI with hardware.pdf
Viam product demo_ Deploying and scaling AI with hardware.pdfViam product demo_ Deploying and scaling AI with hardware.pdf
Viam product demo_ Deploying and scaling AI with hardware.pdf
camilalamoratta
 
GDG Cloud Southlake #42: Suresh Mathew: Autonomous Resource Optimization: How...
GDG Cloud Southlake #42: Suresh Mathew: Autonomous Resource Optimization: How...GDG Cloud Southlake #42: Suresh Mathew: Autonomous Resource Optimization: How...
GDG Cloud Southlake #42: Suresh Mathew: Autonomous Resource Optimization: How...
James Anderson
 
Mastering Testing in the Modern F&B Landscape
Mastering Testing in the Modern F&B LandscapeMastering Testing in the Modern F&B Landscape
Mastering Testing in the Modern F&B Landscape
marketing943205
 
Shoehorning dependency injection into a FP language, what does it take?
Shoehorning dependency injection into a FP language, what does it take?Shoehorning dependency injection into a FP language, what does it take?
Shoehorning dependency injection into a FP language, what does it take?
Eric Torreborre
 
RTP Over QUIC: An Interesting Opportunity Or Wasted Time?
RTP Over QUIC: An Interesting Opportunity Or Wasted Time?RTP Over QUIC: An Interesting Opportunity Or Wasted Time?
RTP Over QUIC: An Interesting Opportunity Or Wasted Time?
Lorenzo Miniero
 
Kit-Works Team Study_팀스터디_김한솔_nuqs_20250509.pdf
Kit-Works Team Study_팀스터디_김한솔_nuqs_20250509.pdfKit-Works Team Study_팀스터디_김한솔_nuqs_20250509.pdf
Kit-Works Team Study_팀스터디_김한솔_nuqs_20250509.pdf
Wonjun Hwang
 

Selenium test automation

  • 3. Agenda  What is selenium & why?  Selenium Components  Advantages of Selenium  Automating Tests using Selenium  Benefits to the Organization  Limitations  Conclusion
  • 4. Test Automation Automation  The process of converting manual test cases to test scripts by using automation tools is called as automation  The test scripts can be executed on the targeted application whenever required. Advantages  Saves time by executing the script without any manual effort  We can reduce the cost to the company  Test scripts are repeatable  Bugs can be identified and accuracy maintained  Test report will be generated by the tool and we can ensure quality
  • 5. What is Selenium?  Selenium is a robust set of tools that supports rapid development of test automation for web-based applications  Open source  Used for functional regression testing  Uses JavaScript  Embeds test automation engine in your browser  Hooks for many other languages - Java, Ruby, Python  Selenium operations are highly flexible & Extendable
  • 7. Selenium Components Selenium IDE  Integrated Development Environment is for record and run the script.  It is an add on for Firefox  It is accountable for user’s actions  The recorded script can be viewed in all the supported languages  The Recorded scripts can be run against other browsers with the help of RC or Web Driver
  • 8. Selenium Components Selenium RC  RC: Remote Control  It is server and it launches all the brewers but one browser at a time  It acts as API and Library  It is Responsible for the Entire automation  It is also known as selenium1
  • 9. Selenium Components Selenium Web Driver  The advanced version of selenium RC is known as selenium web Driver.  The combination of the RC and Web Driver is called as Selenium2.0 Selenium Grid  Grid is for parallel Execution  We can launch all supported browsers parallel and script can be executed on the targeted browsers parallel
  • 10. Selenium Frameworks Definition Frameworks is a combination of classes, Methods, API’s, Libraries these all combined together to work on one application effectively  Modular Frameworks  Data Driven Frameworks  Keyword Driver Frameworks  Junit  TestNG  Hybrid Frameworks
  • 11. Selenium Frameworks Modular Frameworks  It is basic framework and also linear framework  The automation engineer’s will divide the application into modules and sub modules  They will develop the scripts for all the modules  The scripts are stable they will integrate all the scripts in a hierarchical order to execute
  • 12. Selenium Frameworks Data Driven Framework  Introduced external files like excel, txt, XML, Database etc.. To take input data as well as to give output result  It contains the driver script it is responsible for execution  Driver script doesn’t contain any of test cases or test data all the test data and test cases will be available in external file  The driver script will take the data from external file and executes hence we call it as data driven framework
  • 13. Selenium Frameworks Keyword Driven Frameworks  Keyword means step and it is a step by step execution  It is very similar to manual testing, so test scripts are similar in the Keyword Driven Framework Types of Keyword Driven Frameworks Junit  It is java unit testing framework, the main purpose of junit is to develop the script in java programming language and to execute the scripts once execution is done it auto generates the report result
  • 14. Selenium Frameworks TestNG  It is testing framework and developed on top of junit they over come all the limitations of Junit in TestNG and introduced some new functionality  TestNG is add on for eclipse Hybrid Frameworks  The combination of any two or more frameworks is nothing but Hybrid Framework
  • 15. Prerequisites Software  Selenium IDE, Mozilla Firefox for script recording  Selenium Server, Java for running scripts, sikuli Configuration  Set path variables  Use –multi Window option while starting server Resource  Users… should have basic scripting knowledge  Hardware… No specific requirement the basic configuration for a server – P4, 512 MB RAM is good enough.
  • 16. Features  Open source, free software  Allows scripting in several languages like Java, C#, PHP and Python.  Assertion statements provide an efficient way of comparing expected and actual results.  Inbuilt reporting mechanism.  Easy Installation  Scripting Techniques :  Easy recording and playback of scripts  Compatibility :  Multiple operating systems (Windows, Linux, Mac)  Allows cross browser testing  Integration with third party tools.
  • 17. Benefits to the Organization Automation Benefits  Usual benefits for automation e.g. Time saving  Time required for sanity reduced ( 12 man hours to 3 man hours, build frequency of 4-5 builds a month )  For one of the projects, Sanity suite automated : 243 test cases  Good Returns on Zero Investment Increasing Productivity  Cost saving as it is open-source  QA engineers get familiar with scripting languages like Ruby, Perl etc apart from manual testing Caveat  Full automation and maintenance has not been evaluated and that can be a risk
  • 18. Selenium Best Practices Automation Benefits  Usual benefits for automation e.g. Time saving  Time required for sanity reduced ( 12 man hours to 3 man hours, build frequency of 4-5 builds a month )  For one of the projects, Sanity suite automated : 243 test cases  Good Returns on Zero Investment Increasing Productivity  Cost saving as it is open-source  QA engineers get familiar with scripting languages like Ruby, Perl etc apart from manual testing Caveat  Full automation and maintenance has not been evaluated and that can be a risk
  • 19. Limitations  It does not support and Desktop applications  Its and open source tool so in case of any technical issues you need to rely on the selenium community forums to get your issue resolved.  You need to know at least one of the supported language very well in order to automate your application successfully.  No inbuilt reporting capability so you need plugins like JUnit and TestNG for test reports  Lack of exhaustive formal guidance material Note: Selenium Support Desktop applications using Sikuli.
  翻译: