SlideShare a Scribd company logo
1 of 33
Download to read offline
Selenium - Web Browser Automation
Selenium - Test automation for web applications
ANIS GHELISSI
GLS Consulting
glsconsulting@hotmail.com
November 5, 2018
Selenium - Web Browser Automation
Overview
1 Introduction to Selenium
Web applications test generalities
Selenium
2 Selenium IDE
Tests and test suites
Selenese scripts
3 Selenium WebDrive
Presentation
View Results
4 Selenium Grid
Presentation
Grid Architecture
Grid Configuration
GUI Locators
Xpath
5 Advanced usages
Selenium - Web Browser Automation
Introduction to Selenium
Web applications test generalities
Web application and testing terminology
Functionality
Usability
Interface
Compatibility
Performance
Security
Typology of tests
Selenium - Web Browser Automation
Introduction to Selenium
Selenium
Presentation
Functionalities
Architecture
Selenium - Web Browser Automation
Introduction to Selenium
Web application and testing terminology
What is web application?
What is testing for web application?
Selenium - Web Browser Automation
Introduction to Selenium
What is web application?
server side resources (PHP code, Jsp, Servlet, Java ....)
client side resources (html, javascript, css, images..)
Selenium - Web Browser Automation
Introduction to Selenium
What is testing for web application?
As for single applications testing, the objective is to look for
potential bugs in the web application.
Unit test
During development, for developers.
Instant feedback.
Easy to maintain.
End to end test
Presented to the client.
Easy to read.
Selenium - Web Browser Automation
Introduction to Selenium
Functionality
Links
Forms
Html/Css validation
Data
Selenium - Web Browser Automation
Introduction to Selenium
Functionality
check all the links(internal/external/mail)
check all the forms(validation, messages
(error,confirmation,...),mandatory and optional fields)
Html/Css validation (https://validator.w3.org/)
Data Consistency/ Data Integrity
Selenium - Web Browser Automation
Introduction to Selenium
Usability
Learning curve
Ease of navigation
Content consistency
Selenium - Web Browser Automation
Introduction to Selenium
Usability
how to measure the interaction between the person and the web
application.
ease of navigation (complex web interface vs simple web
interface/how many clicks do I need to get the job done/ the
user expect the web application to be easy to use).
content consistency(main menu should be visible on all pages,
avoid annoying colors and fonts, image placement should be
nifty, whenever you encounter an anchored text you would
expect it to work properly etc.... ).
Selenium - Web Browser Automation
Introduction to Selenium
Interface
Web Server
Database
Selenium - Web Browser Automation
Introduction to Selenium
Interface
The web application should be able to interact properly with the
server side including the database, the network and the database
Selenium - Web Browser Automation
Introduction to Selenium
Compatibility
Selenium - Web Browser Automation
Introduction to Selenium
Performance
Load test
many users are loading the same page, simultaneous user
requests,heavy load ...
Selenium - Web Browser Automation
Introduction to Selenium
Performance
Stress test
Push the web application to it’s limits to observe how it
behaves, how it recovers.
Generally input fields are pushed the most.
Performed on different operating systems and different
hardware to detect flaws like potential memory leaks.
Could be used to measure scalability.
Selenium - Web Browser Automation
Introduction to Selenium
Security
Access
if you have different level of user access, you should check that
only the authorized users could view only the content at their
level.
Other related security tests
vulnerability, password cracking, viruses and malware
detection..
Selenium - Web Browser Automation
Introduction to Selenium
Selenium presentation
Cross browsers
Many languages
Selenium - Web Browser Automation
Introduction to Selenium
Selenium functionalities
Record/playback tests
Write specific tests - Selenium API
Launch remote tests
Selenium - Web Browser Automation
Introduction to Selenium
Selenium architecture
IDE
WebDrive
Grid
Selenium - Web Browser Automation
Selenium IDE
Tests and test suites
Record and playback
Integrated development environment that exists in the form of an
extension to the browser(firefox, chrome).
FireFox/Chrome plugin
Save as a test
Group tests as test suites
Selenium - Web Browser Automation
Selenium IDE
Selenese scripts
Selenese scripts
Command
Target
Value
Selenium - Web Browser Automation
Selenium WebDrive
Presentation
WebDrive
Integrate Selenium to your code
Multiplutform
Specific driver for navigator
Selenium - Web Browser Automation
Selenium WebDrive
View Results
How to evaluate results
Java Context, Junit / TestNG
IDE (IDA Intellij used in this session)
Selenium - Web Browser Automation
Selenium Grid
Presentation
Selenium Grid Presentation
Scale
Manage multiple environments
Minimize the maintenance time
Selenium - Web Browser Automation
Selenium Grid
Grid Architecture
Selenium Grid Architecture
Hub
Nodes
Jar file
Java commands
Selenium - Web Browser Automation
Selenium Grid
Grid Configuration
Grid Configuration
http://localhost:4444/grid/console
Selenium - Web Browser Automation
Selenium Grid
GUI Locators
GUI locator
Hyperlink
Id
name
Css
Selenium - Web Browser Automation
Selenium Grid
Xpath
Xpath
Node selection in xml documents
Used in html to locate elements in DOM
Selenium - Web Browser Automation
Selenium Grid
Xpath
Xpath Selection
By Tag
By Attribute
By Tag content
Selenium - Web Browser Automation
Selenium Grid
Xpath
Xpath Selection
By Tag
By Attribute
By Tag content
Selenium - Web Browser Automation
Advanced usages
Selenium - Web Browser Automation
Advanced usages
The End

More Related Content

What's hot

What type of testing is selenium commonly used for?
What type of testing is selenium commonly used for?What type of testing is selenium commonly used for?
What type of testing is selenium commonly used for?Serena Gray
 
تست وب اپ ها با سلنیوم - علیرضا عظیم زاده میلانی
تست وب اپ ها با سلنیوم - علیرضا عظیم زاده میلانیتست وب اپ ها با سلنیوم - علیرضا عظیم زاده میلانی
تست وب اپ ها با سلنیوم - علیرضا عظیم زاده میلانیirpycon
 
Intermediate ASP.NET MVC
Intermediate ASP.NET MVCIntermediate ASP.NET MVC
Intermediate ASP.NET MVCJoe Wilson
 
Introduction to Selenium Webdriver - SpringPeople
Introduction to Selenium Webdriver - SpringPeopleIntroduction to Selenium Webdriver - SpringPeople
Introduction to Selenium Webdriver - SpringPeopleSpringPeople
 
Selenium WebDriver
Selenium WebDriverSelenium WebDriver
Selenium WebDriverANKUR-BA
 
Selenium RC
Selenium  RCSelenium  RC
Selenium RCANKUR-BA
 
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!
 
Soa testing soap ui (2)
Soa testing   soap ui (2)Soa testing   soap ui (2)
Soa testing soap ui (2)Knoldus Inc.
 
New Features of ASP.NET 4.0
New Features of ASP.NET 4.0New Features of ASP.NET 4.0
New Features of ASP.NET 4.0Buu Nguyen
 
Introduction to Threat Modeling
Introduction to Threat ModelingIntroduction to Threat Modeling
Introduction to Threat Modelingslicklash
 
NodeJS - Creating a Restful API
NodeJS - Creating a Restful APINodeJS - Creating a Restful API
NodeJS - Creating a Restful APIRogério Rodrigues
 
Selenium Installation
Selenium  InstallationSelenium  Installation
Selenium InstallationANKUR-BA
 
Web services automation workshop sreedhar dakshinamurthy
Web services automation workshop   sreedhar dakshinamurthyWeb services automation workshop   sreedhar dakshinamurthy
Web services automation workshop sreedhar dakshinamurthyThoughtworks
 

What's hot (20)

What type of testing is selenium commonly used for?
What type of testing is selenium commonly used for?What type of testing is selenium commonly used for?
What type of testing is selenium commonly used for?
 
تست وب اپ ها با سلنیوم - علیرضا عظیم زاده میلانی
تست وب اپ ها با سلنیوم - علیرضا عظیم زاده میلانیتست وب اپ ها با سلنیوم - علیرضا عظیم زاده میلانی
تست وب اپ ها با سلنیوم - علیرضا عظیم زاده میلانی
 
Intermediate ASP.NET MVC
Intermediate ASP.NET MVCIntermediate ASP.NET MVC
Intermediate ASP.NET MVC
 
Introduction to Selenium Webdriver - SpringPeople
Introduction to Selenium Webdriver - SpringPeopleIntroduction to Selenium Webdriver - SpringPeople
Introduction to Selenium Webdriver - SpringPeople
 
Selenium WebDriver
Selenium WebDriverSelenium WebDriver
Selenium WebDriver
 
Selenium presentation
Selenium presentationSelenium presentation
Selenium presentation
 
Web Testing
Web TestingWeb Testing
Web Testing
 
Selenium Automation
Selenium AutomationSelenium Automation
Selenium Automation
 
Selenium RC
Selenium  RCSelenium  RC
Selenium RC
 
Joomla Features
Joomla FeaturesJoomla Features
Joomla Features
 
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
 
What's new in Joomla 1.6?
What's new in Joomla 1.6?What's new in Joomla 1.6?
What's new in Joomla 1.6?
 
Soa testing soap ui (2)
Soa testing   soap ui (2)Soa testing   soap ui (2)
Soa testing soap ui (2)
 
Soap ui
Soap uiSoap ui
Soap ui
 
Selenium
SeleniumSelenium
Selenium
 
New Features of ASP.NET 4.0
New Features of ASP.NET 4.0New Features of ASP.NET 4.0
New Features of ASP.NET 4.0
 
Introduction to Threat Modeling
Introduction to Threat ModelingIntroduction to Threat Modeling
Introduction to Threat Modeling
 
NodeJS - Creating a Restful API
NodeJS - Creating a Restful APINodeJS - Creating a Restful API
NodeJS - Creating a Restful API
 
Selenium Installation
Selenium  InstallationSelenium  Installation
Selenium Installation
 
Web services automation workshop sreedhar dakshinamurthy
Web services automation workshop   sreedhar dakshinamurthyWeb services automation workshop   sreedhar dakshinamurthy
Web services automation workshop sreedhar dakshinamurthy
 

Similar to Selenium -Test automation for web applications

#2 integration + ui tests
#2 integration + ui tests#2 integration + ui tests
#2 integration + ui testseleksdev
 
Web UI Tests: Introduce UI tests using Selenium
Web UI Tests: Introduce UI tests using Selenium Web UI Tests: Introduce UI tests using Selenium
Web UI Tests: Introduce UI tests using Selenium Peyman Fakharian
 
Test Automation Using Selenium
Test Automation Using SeleniumTest Automation Using Selenium
Test Automation Using SeleniumNikhil Kapoor
 
selenium-webdriver-interview-questions.pdf
selenium-webdriver-interview-questions.pdfselenium-webdriver-interview-questions.pdf
selenium-webdriver-interview-questions.pdfAnuragMourya8
 
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
 
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
 
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
 
Selenium Interview Questions And Answers | Selenium Interview Questions | Sel...
Selenium Interview Questions And Answers | Selenium Interview Questions | Sel...Selenium Interview Questions And Answers | Selenium Interview Questions | Sel...
Selenium Interview Questions And Answers | Selenium Interview Questions | Sel...Simplilearn
 
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
 
What is Selenium Testing.pdf
What is Selenium Testing.pdfWhat is Selenium Testing.pdf
What is Selenium Testing.pdfAnanthReddy38
 
Reasons behind selenium automation testing popularity
Reasons behind selenium automation testing popularityReasons behind selenium automation testing popularity
Reasons behind selenium automation testing popularityRay Business Technologies
 
Selenium Automation.3zen.pptx
Selenium Automation.3zen.pptxSelenium Automation.3zen.pptx
Selenium Automation.3zen.pptxswathi3zen
 
selenium_automation.course in hyderabad in
selenium_automation.course in hyderabad inselenium_automation.course in hyderabad in
selenium_automation.course in hyderabad inaparna3zen
 
Selenium Auto Machine Training in Hyderabad
Selenium Auto Machine Training in HyderabadSelenium Auto Machine Training in Hyderabad
Selenium Auto Machine Training in Hyderabadsowmyavibhin
 
Selenium Automation.3zen.pptx
Selenium Automation.3zen.pptxSelenium Automation.3zen.pptx
Selenium Automation.3zen.pptxswathi3zen
 

Similar to Selenium -Test automation for web applications (20)

#2 integration + ui tests
#2 integration + ui tests#2 integration + ui tests
#2 integration + ui tests
 
QSpiders - Automation using Selenium
QSpiders - Automation using SeleniumQSpiders - Automation using Selenium
QSpiders - Automation using Selenium
 
Web UI Tests: Introduce UI tests using Selenium
Web UI Tests: Introduce UI tests using Selenium Web UI Tests: Introduce UI tests using Selenium
Web UI Tests: Introduce UI tests using Selenium
 
Test Automation Using Selenium
Test Automation Using SeleniumTest Automation Using Selenium
Test Automation Using Selenium
 
selenium-webdriver-interview-questions.pdf
selenium-webdriver-interview-questions.pdfselenium-webdriver-interview-questions.pdf
selenium-webdriver-interview-questions.pdf
 
Selenium
SeleniumSelenium
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
 
Selenium Primer
Selenium PrimerSelenium Primer
Selenium Primer
 
Selenium
SeleniumSelenium
Selenium
 
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...
 
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...
 
Selenium
SeleniumSelenium
Selenium
 
Selenium Interview Questions And Answers | Selenium Interview Questions | Sel...
Selenium Interview Questions And Answers | Selenium Interview Questions | Sel...Selenium Interview Questions And Answers | Selenium Interview Questions | Sel...
Selenium Interview Questions And Answers | Selenium Interview Questions | Sel...
 
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
 
What is Selenium Testing.pdf
What is Selenium Testing.pdfWhat is Selenium Testing.pdf
What is Selenium Testing.pdf
 
Reasons behind selenium automation testing popularity
Reasons behind selenium automation testing popularityReasons behind selenium automation testing popularity
Reasons behind selenium automation testing popularity
 
Selenium Automation.3zen.pptx
Selenium Automation.3zen.pptxSelenium Automation.3zen.pptx
Selenium Automation.3zen.pptx
 
selenium_automation.course in hyderabad in
selenium_automation.course in hyderabad inselenium_automation.course in hyderabad in
selenium_automation.course in hyderabad in
 
Selenium Auto Machine Training in Hyderabad
Selenium Auto Machine Training in HyderabadSelenium Auto Machine Training in Hyderabad
Selenium Auto Machine Training in Hyderabad
 
Selenium Automation.3zen.pptx
Selenium Automation.3zen.pptxSelenium Automation.3zen.pptx
Selenium Automation.3zen.pptx
 

Recently uploaded

Coefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptxCoefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptxAsutosh Ranjan
 
Current Transformer Drawing and GTP for MSETCL
Current Transformer Drawing and GTP for MSETCLCurrent Transformer Drawing and GTP for MSETCL
Current Transformer Drawing and GTP for MSETCLDeelipZope
 
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINEMANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINESIVASHANKAR N
 
HARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IVHARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IVRajaP95
 
What are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptxWhat are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptxwendy cai
 
Call Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile serviceCall Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile servicerehmti665
 
Introduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptxIntroduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptxupamatechverse
 
Internship report on mechanical engineering
Internship report on mechanical engineeringInternship report on mechanical engineering
Internship report on mechanical engineeringmalavadedarshan25
 
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130Suhani Kapoor
 
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICSHARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICSRajkumarAkumalla
 
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur High Profile
 
Porous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writingPorous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writingrakeshbaidya232001
 
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...Soham Mondal
 
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Serviceranjana rawat
 
Architect Hassan Khalil Portfolio for 2024
Architect Hassan Khalil Portfolio for 2024Architect Hassan Khalil Portfolio for 2024
Architect Hassan Khalil Portfolio for 2024hassan khalil
 
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptxDecoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptxJoão Esperancinha
 
GDSC ASEB Gen AI study jams presentation
GDSC ASEB Gen AI study jams presentationGDSC ASEB Gen AI study jams presentation
GDSC ASEB Gen AI study jams presentationGDSCAESB
 

Recently uploaded (20)

9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
 
Coefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptxCoefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptx
 
Current Transformer Drawing and GTP for MSETCL
Current Transformer Drawing and GTP for MSETCLCurrent Transformer Drawing and GTP for MSETCL
Current Transformer Drawing and GTP for MSETCL
 
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINEMANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
 
Exploring_Network_Security_with_JA3_by_Rakesh Seal.pptx
Exploring_Network_Security_with_JA3_by_Rakesh Seal.pptxExploring_Network_Security_with_JA3_by_Rakesh Seal.pptx
Exploring_Network_Security_with_JA3_by_Rakesh Seal.pptx
 
HARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IVHARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IV
 
What are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptxWhat are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptx
 
Call Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile serviceCall Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile service
 
Introduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptxIntroduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptx
 
Internship report on mechanical engineering
Internship report on mechanical engineeringInternship report on mechanical engineering
Internship report on mechanical engineering
 
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
 
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICSHARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
 
Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCRCall Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
 
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
 
Porous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writingPorous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writing
 
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
 
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
 
Architect Hassan Khalil Portfolio for 2024
Architect Hassan Khalil Portfolio for 2024Architect Hassan Khalil Portfolio for 2024
Architect Hassan Khalil Portfolio for 2024
 
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptxDecoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
 
GDSC ASEB Gen AI study jams presentation
GDSC ASEB Gen AI study jams presentationGDSC ASEB Gen AI study jams presentation
GDSC ASEB Gen AI study jams presentation
 

Selenium -Test automation for web applications

  • 1. Selenium - Web Browser Automation Selenium - Test automation for web applications ANIS GHELISSI GLS Consulting glsconsulting@hotmail.com November 5, 2018
  • 2. Selenium - Web Browser Automation Overview 1 Introduction to Selenium Web applications test generalities Selenium 2 Selenium IDE Tests and test suites Selenese scripts 3 Selenium WebDrive Presentation View Results 4 Selenium Grid Presentation Grid Architecture Grid Configuration GUI Locators Xpath 5 Advanced usages
  • 3. Selenium - Web Browser Automation Introduction to Selenium Web applications test generalities Web application and testing terminology Functionality Usability Interface Compatibility Performance Security Typology of tests
  • 4. Selenium - Web Browser Automation Introduction to Selenium Selenium Presentation Functionalities Architecture
  • 5. Selenium - Web Browser Automation Introduction to Selenium Web application and testing terminology What is web application? What is testing for web application?
  • 6. Selenium - Web Browser Automation Introduction to Selenium What is web application? server side resources (PHP code, Jsp, Servlet, Java ....) client side resources (html, javascript, css, images..)
  • 7. Selenium - Web Browser Automation Introduction to Selenium What is testing for web application? As for single applications testing, the objective is to look for potential bugs in the web application. Unit test During development, for developers. Instant feedback. Easy to maintain. End to end test Presented to the client. Easy to read.
  • 8. Selenium - Web Browser Automation Introduction to Selenium Functionality Links Forms Html/Css validation Data
  • 9. Selenium - Web Browser Automation Introduction to Selenium Functionality check all the links(internal/external/mail) check all the forms(validation, messages (error,confirmation,...),mandatory and optional fields) Html/Css validation (https://validator.w3.org/) Data Consistency/ Data Integrity
  • 10. Selenium - Web Browser Automation Introduction to Selenium Usability Learning curve Ease of navigation Content consistency
  • 11. Selenium - Web Browser Automation Introduction to Selenium Usability how to measure the interaction between the person and the web application. ease of navigation (complex web interface vs simple web interface/how many clicks do I need to get the job done/ the user expect the web application to be easy to use). content consistency(main menu should be visible on all pages, avoid annoying colors and fonts, image placement should be nifty, whenever you encounter an anchored text you would expect it to work properly etc.... ).
  • 12. Selenium - Web Browser Automation Introduction to Selenium Interface Web Server Database
  • 13. Selenium - Web Browser Automation Introduction to Selenium Interface The web application should be able to interact properly with the server side including the database, the network and the database
  • 14. Selenium - Web Browser Automation Introduction to Selenium Compatibility
  • 15. Selenium - Web Browser Automation Introduction to Selenium Performance Load test many users are loading the same page, simultaneous user requests,heavy load ...
  • 16. Selenium - Web Browser Automation Introduction to Selenium Performance Stress test Push the web application to it’s limits to observe how it behaves, how it recovers. Generally input fields are pushed the most. Performed on different operating systems and different hardware to detect flaws like potential memory leaks. Could be used to measure scalability.
  • 17. Selenium - Web Browser Automation Introduction to Selenium Security Access if you have different level of user access, you should check that only the authorized users could view only the content at their level. Other related security tests vulnerability, password cracking, viruses and malware detection..
  • 18. Selenium - Web Browser Automation Introduction to Selenium Selenium presentation Cross browsers Many languages
  • 19. Selenium - Web Browser Automation Introduction to Selenium Selenium functionalities Record/playback tests Write specific tests - Selenium API Launch remote tests
  • 20. Selenium - Web Browser Automation Introduction to Selenium Selenium architecture IDE WebDrive Grid
  • 21. Selenium - Web Browser Automation Selenium IDE Tests and test suites Record and playback Integrated development environment that exists in the form of an extension to the browser(firefox, chrome). FireFox/Chrome plugin Save as a test Group tests as test suites
  • 22. Selenium - Web Browser Automation Selenium IDE Selenese scripts Selenese scripts Command Target Value
  • 23. Selenium - Web Browser Automation Selenium WebDrive Presentation WebDrive Integrate Selenium to your code Multiplutform Specific driver for navigator
  • 24. Selenium - Web Browser Automation Selenium WebDrive View Results How to evaluate results Java Context, Junit / TestNG IDE (IDA Intellij used in this session)
  • 25. Selenium - Web Browser Automation Selenium Grid Presentation Selenium Grid Presentation Scale Manage multiple environments Minimize the maintenance time
  • 26. Selenium - Web Browser Automation Selenium Grid Grid Architecture Selenium Grid Architecture Hub Nodes Jar file Java commands
  • 27. Selenium - Web Browser Automation Selenium Grid Grid Configuration Grid Configuration http://localhost:4444/grid/console
  • 28. Selenium - Web Browser Automation Selenium Grid GUI Locators GUI locator Hyperlink Id name Css
  • 29. Selenium - Web Browser Automation Selenium Grid Xpath Xpath Node selection in xml documents Used in html to locate elements in DOM
  • 30. Selenium - Web Browser Automation Selenium Grid Xpath Xpath Selection By Tag By Attribute By Tag content
  • 31. Selenium - Web Browser Automation Selenium Grid Xpath Xpath Selection By Tag By Attribute By Tag content
  • 32. Selenium - Web Browser Automation Advanced usages
  • 33. Selenium - Web Browser Automation Advanced usages The End