SlideShare a Scribd company logo
1 of 19
Uncommon but Practical use
cases of Selenium
1
How many of you are new to test automation?
How many of you use or have used selenium for testing automation?
Most common use cases
3
Regression
Testing
Cross Browser
Testing
Data-driven
Testing
Selenium is most commonly used for regression testing.
Selenium cross browser testing is at a different scale now with
browserstack and sauce labs providing it as an on demand service
Data driven testing is key to improve your test coverage
Now, these are some common use cases.
Agile and Devops have made these a norm.
Any other common use cases of Selenium you can think of?
Can you also think of some uncommon use cases of Selenium?
But, do you know?
Selenium can also be used
for
5
Visual
Regression
Testing
Load
Testing
Synthetic
Monitoring
Performance
Testing
Responsive
Testing
Visual Regression Testing: You can take screenshots with Selenium but screenshots in itself will not give you
enough information. Once you start comparing the images to know the differences between your test
executions it will provide lot of insights about changes to your application and test behavior. Applitools has
taken visual regression testing to next level.
What is synthetic monitoring? There are critical flows in every application which are most often used by end
users. These flows have to be functional and performant to make sure end user experience is smooth.
Synthetic monitoring ensures best end user experience by monitoring critical flows in your application
frequently and notify of any issues before your end users are impacted. New Relic, Appdynamics and
Dynatrace have started using Selenium for Synthetic Monitoring
Performance Testing: While you regression test your application you focus on the functionality but
performance of application is equally important. You will have to check your application is loading fast or
not.
Load testing is basically running your performance tests with 100s or 1000s of concurrent users. Blazemeter
uses Selenium for load testing.
Responsive testing: With so many devices in use, it is very important to make sure your web application
renders properly on different resolution and various devices. You have to test your web application to make
sure it is responsive.
Are they practical?
○ Selenium Advantage
○ But running tests in real browsers is costly
○ Advantages of load testing with Selenium
○ Advantages of Synthetic monitoring with Selenium
7
Selenium Advantage - In my mind biggest advantage of Selenium is that
it helps us in gauging real user experience because the tests are run in
real browsers and behave the way they are perceived by end users
Running load tests in real browsers is very costly but without this you
will not get to know the how your application is perceived by end users.
It is important to balance these out. Solution is to run 1000s of
concurrent users with a tool like JMeter along with 100s of concurrent
users in real browsers with Selenium.
Advantage of load testing and synthetic monitoring with Selenium is it
gives us very good insights of how the application is perceived by end
users.
Other uncommon use cases
9
Security
Testing
Accessibility
Testing
Robotic Process
Automation
We all understand how important security is for enterprises with news around AADHAAR
data leak, Facebook and Cambridge analytica saga
What is Accessibility Testing? - Accessibility Testing is a subset of Usability Testing,
and it is performed to ensure that the application being tested is usable by people
with disabilities like hearing, color blindness, old age and other disadvantaged
groups.
Proof of concepts are available where same selenium scripts can be reused to perform
security testing and accessibility testing with open source tools. ZAP proxy as an example
for security testing and AXE core for Accessibility testing.
Selenium works very well with all web technologies so given a very good use case I am sure
Selenium can also be extended to automate some of the business processes like a bot.
What made this possible now?
Advent of
11
Cloud Service
Virtualization
Imagine load testing with thousands of concurrent users on your own
servers and data center. Even with cloud, imagine running so many
parallel sessions in virtual machines. Cloud and service virtualization
gave us the massive scale at unbelievably low costs. Cloud providers like
Amazon AWS, Google cloud along with technologies like docker and
kubernetes have made this possible.
Motivation behind CloudQA
13
Affordability
Scalability
Complexity
Flexibility
Timeliness
Resources Pain Points
How did we extend Selenium?
14
Challenges we faced
○ Finding reliable element selectors for dynamic single page applications
○ Reliability of running large number of tests at scale
○ Maintenance of automated tests?
○ Page object model for single page applications?
15
Single page applications are the norm now. Latest JavaScript technologies like
AngularJS, ReactJS, EmberJS, VueJS etc are used to build SPAs. Each of these
come up with its own unique challenges like dynamic page loads, elements with
dynamic ids, asynchronous calls etc.
How many of you have faced similar challenges?
We have answers for some of these but we would like to discuss with you offline on
your thoughts specifically around
● Test case maintenance. Can it be automated?
● Page object model or approach to object repository for single page applications
Future of Testing
17
Voice Driven
Interfaces
Augmented
Reality
Machine
Learning
Artificial
Intelligence
IoT
These are some of the technological trends. These technological
advancements in the industry will force the QA community to
improve their skills. It is a definite challenge not only for the
testers but also for the entire team to address them. But we can
witness that the testing industry and specifically selenium
community knock down these challenges with their innovations
and research.
Thank you!
Q&A
Email: akulkarni@cloudqa.io
Twitter: arun.lrk
19

More Related Content

What's hot

Meetup kickoff slides - Perfecto Mobile, September 2014
Meetup kickoff slides - Perfecto Mobile, September 2014Meetup kickoff slides - Perfecto Mobile, September 2014
Meetup kickoff slides - Perfecto Mobile, September 2014Perfecto Mobile
 
Awesome Test Automation Made Simple w/ Dave Haeffner
Awesome Test Automation Made Simple w/ Dave HaeffnerAwesome Test Automation Made Simple w/ Dave Haeffner
Awesome Test Automation Made Simple w/ Dave HaeffnerSauce Labs
 
"Software Quality in the Service of Innovation in the Insurance Industry"
"Software Quality in the Service of Innovation in the Insurance Industry""Software Quality in the Service of Innovation in the Insurance Industry"
"Software Quality in the Service of Innovation in the Insurance Industry"Applitools
 
Integrate Visual AI Into Your Appium Scripts in Minutes
Integrate Visual AI Into Your Appium Scripts in MinutesIntegrate Visual AI Into Your Appium Scripts in Minutes
Integrate Visual AI Into Your Appium Scripts in MinutesApplitools
 
Amalgamation of BDD, parallel execution and mobile automation
Amalgamation of BDD, parallel execution and mobile automationAmalgamation of BDD, parallel execution and mobile automation
Amalgamation of BDD, parallel execution and mobile automationAgile Testing Alliance
 
Automated Visual Testing at Scale : Real-life Example from Dow Jones
Automated Visual Testing at Scale : Real-life Example from Dow JonesAutomated Visual Testing at Scale : Real-life Example from Dow Jones
Automated Visual Testing at Scale : Real-life Example from Dow JonesApplitools
 
How Digital Changed the Game... and how to cross platform test for it
How Digital Changed the Game... and how to cross platform test for itHow Digital Changed the Game... and how to cross platform test for it
How Digital Changed the Game... and how to cross platform test for itLizzy Guido (she/her)
 
Test automation using selenium - Marketing platform
Test automation using selenium - Marketing platformTest automation using selenium - Marketing platform
Test automation using selenium - Marketing platformExpedux Technologies
 
Top 5 Features To Look for in a Codeless Automation Solution -- Presentation ...
Top 5 Features To Look for in a Codeless Automation Solution -- Presentation ...Top 5 Features To Look for in a Codeless Automation Solution -- Presentation ...
Top 5 Features To Look for in a Codeless Automation Solution -- Presentation ...Applitools
 
Key note Manish and Deepa
Key note Manish and DeepaKey note Manish and Deepa
Key note Manish and DeepavodQA
 
Learnings from Hybrid App Testing Jijesh Mohan
Learnings from Hybrid App Testing Jijesh MohanLearnings from Hybrid App Testing Jijesh Mohan
Learnings from Hybrid App Testing Jijesh MohanvodQA
 
[TAQfull Meetup] Angie Jones + Expert Panel: Best Practices in Quality Manage...
[TAQfull Meetup] Angie Jones + Expert Panel: Best Practices in Quality Manage...[TAQfull Meetup] Angie Jones + Expert Panel: Best Practices in Quality Manage...
[TAQfull Meetup] Angie Jones + Expert Panel: Best Practices in Quality Manage...Applitools
 
Testing NodeJS, REST APIs and MongoDB with UFT
Testing NodeJS, REST APIs and MongoDB with UFTTesting NodeJS, REST APIs and MongoDB with UFT
Testing NodeJS, REST APIs and MongoDB with UFTOri Bendet
 
Cross Platform Mobile Test Automation using Selenium WebDriver by Perfecto Mo...
Cross Platform Mobile Test Automation using Selenium WebDriver by Perfecto Mo...Cross Platform Mobile Test Automation using Selenium WebDriver by Perfecto Mo...
Cross Platform Mobile Test Automation using Selenium WebDriver by Perfecto Mo...Perfecto Mobile
 
Mobile Test Automation
Mobile Test AutomationMobile Test Automation
Mobile Test AutomationAndreas Jakl
 
Selenium introduction-chennaipy
Selenium introduction-chennaipySelenium introduction-chennaipy
Selenium introduction-chennaipykagrana_software
 
Why Apps Succeed: 4 Keys to Winning the Digital Quality Game
Why Apps Succeed: 4 Keys to Winning the Digital Quality GameWhy Apps Succeed: 4 Keys to Winning the Digital Quality Game
Why Apps Succeed: 4 Keys to Winning the Digital Quality GameAustin Marie Gay
 
Real Devices or Emulators: Wen to use What for Automated Testing
Real Devices or Emulators: Wen to use What for Automated TestingReal Devices or Emulators: Wen to use What for Automated Testing
Real Devices or Emulators: Wen to use What for Automated TestingSauce Labs
 

What's hot (19)

Meetup kickoff slides - Perfecto Mobile, September 2014
Meetup kickoff slides - Perfecto Mobile, September 2014Meetup kickoff slides - Perfecto Mobile, September 2014
Meetup kickoff slides - Perfecto Mobile, September 2014
 
Awesome Test Automation Made Simple w/ Dave Haeffner
Awesome Test Automation Made Simple w/ Dave HaeffnerAwesome Test Automation Made Simple w/ Dave Haeffner
Awesome Test Automation Made Simple w/ Dave Haeffner
 
"Software Quality in the Service of Innovation in the Insurance Industry"
"Software Quality in the Service of Innovation in the Insurance Industry""Software Quality in the Service of Innovation in the Insurance Industry"
"Software Quality in the Service of Innovation in the Insurance Industry"
 
Integrate Visual AI Into Your Appium Scripts in Minutes
Integrate Visual AI Into Your Appium Scripts in MinutesIntegrate Visual AI Into Your Appium Scripts in Minutes
Integrate Visual AI Into Your Appium Scripts in Minutes
 
Amalgamation of BDD, parallel execution and mobile automation
Amalgamation of BDD, parallel execution and mobile automationAmalgamation of BDD, parallel execution and mobile automation
Amalgamation of BDD, parallel execution and mobile automation
 
Automated Visual Testing at Scale : Real-life Example from Dow Jones
Automated Visual Testing at Scale : Real-life Example from Dow JonesAutomated Visual Testing at Scale : Real-life Example from Dow Jones
Automated Visual Testing at Scale : Real-life Example from Dow Jones
 
How Digital Changed the Game... and how to cross platform test for it
How Digital Changed the Game... and how to cross platform test for itHow Digital Changed the Game... and how to cross platform test for it
How Digital Changed the Game... and how to cross platform test for it
 
Test automation using selenium - Marketing platform
Test automation using selenium - Marketing platformTest automation using selenium - Marketing platform
Test automation using selenium - Marketing platform
 
Top 5 Features To Look for in a Codeless Automation Solution -- Presentation ...
Top 5 Features To Look for in a Codeless Automation Solution -- Presentation ...Top 5 Features To Look for in a Codeless Automation Solution -- Presentation ...
Top 5 Features To Look for in a Codeless Automation Solution -- Presentation ...
 
Selenium
SeleniumSelenium
Selenium
 
Key note Manish and Deepa
Key note Manish and DeepaKey note Manish and Deepa
Key note Manish and Deepa
 
Learnings from Hybrid App Testing Jijesh Mohan
Learnings from Hybrid App Testing Jijesh MohanLearnings from Hybrid App Testing Jijesh Mohan
Learnings from Hybrid App Testing Jijesh Mohan
 
[TAQfull Meetup] Angie Jones + Expert Panel: Best Practices in Quality Manage...
[TAQfull Meetup] Angie Jones + Expert Panel: Best Practices in Quality Manage...[TAQfull Meetup] Angie Jones + Expert Panel: Best Practices in Quality Manage...
[TAQfull Meetup] Angie Jones + Expert Panel: Best Practices in Quality Manage...
 
Testing NodeJS, REST APIs and MongoDB with UFT
Testing NodeJS, REST APIs and MongoDB with UFTTesting NodeJS, REST APIs and MongoDB with UFT
Testing NodeJS, REST APIs and MongoDB with UFT
 
Cross Platform Mobile Test Automation using Selenium WebDriver by Perfecto Mo...
Cross Platform Mobile Test Automation using Selenium WebDriver by Perfecto Mo...Cross Platform Mobile Test Automation using Selenium WebDriver by Perfecto Mo...
Cross Platform Mobile Test Automation using Selenium WebDriver by Perfecto Mo...
 
Mobile Test Automation
Mobile Test AutomationMobile Test Automation
Mobile Test Automation
 
Selenium introduction-chennaipy
Selenium introduction-chennaipySelenium introduction-chennaipy
Selenium introduction-chennaipy
 
Why Apps Succeed: 4 Keys to Winning the Digital Quality Game
Why Apps Succeed: 4 Keys to Winning the Digital Quality GameWhy Apps Succeed: 4 Keys to Winning the Digital Quality Game
Why Apps Succeed: 4 Keys to Winning the Digital Quality Game
 
Real Devices or Emulators: Wen to use What for Automated Testing
Real Devices or Emulators: Wen to use What for Automated TestingReal Devices or Emulators: Wen to use What for Automated Testing
Real Devices or Emulators: Wen to use What for Automated Testing
 

Similar to Selenium ~ Uncommon but practical use cases

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.pdfkalichargn70th171
 
Shift left-csun-sagar-barbhaya
Shift left-csun-sagar-barbhayaShift left-csun-sagar-barbhaya
Shift left-csun-sagar-barbhayaSAGAR BARBHAYA
 
Testing Hourglass at Jira Frontend - by Alexey Shpakov, Sr. Developer @ Atlas...
Testing Hourglass at Jira Frontend - by Alexey Shpakov, Sr. Developer @ Atlas...Testing Hourglass at Jira Frontend - by Alexey Shpakov, Sr. Developer @ Atlas...
Testing Hourglass at Jira Frontend - by Alexey Shpakov, Sr. Developer @ Atlas...Applitools
 
Selenium - The Way Of Success
Selenium - The Way Of SuccessSelenium - The Way Of Success
Selenium - The Way Of SuccessZbyszek Mockun
 
What is Selenium Testing.pdf
What is Selenium Testing.pdfWhat is Selenium Testing.pdf
What is Selenium Testing.pdfAnanthReddy38
 
Selenium Best Practices For Web Testing
Selenium Best Practices For Web TestingSelenium Best Practices For Web Testing
Selenium Best Practices For Web TestingpCloudy
 
Software Testing Tools Training
Software Testing Tools TrainingSoftware Testing Tools Training
Software Testing Tools TrainingQEdge Tech
 
What are the top 10 performance testing tools
What are the top 10 performance testing toolsWhat are the top 10 performance testing tools
What are the top 10 performance testing toolsTestingXperts
 
Introduction to Automation Testing and Selenium overiew
Introduction to Automation Testing and Selenium overiewIntroduction to Automation Testing and Selenium overiew
Introduction to Automation Testing and Selenium overiewDisha Srivastava
 
Top 21 Selenium FAQs.pdf
Top 21 Selenium FAQs.pdfTop 21 Selenium FAQs.pdf
Top 21 Selenium FAQs.pdfAnanthReddy38
 
Appium Interview Questions and Answers | Edureka
Appium Interview Questions and Answers | EdurekaAppium Interview Questions and Answers | Edureka
Appium Interview Questions and Answers | EdurekaEdureka!
 
Unit Testing Essay
Unit Testing EssayUnit Testing Essay
Unit Testing EssayDani Cox
 
What is Selenium Automation Testing.pdf
What is Selenium Automation Testing.pdfWhat is Selenium Automation Testing.pdf
What is Selenium Automation Testing.pdfAnanthReddy38
 
Web application automated testing types and tools
Web application automated testing types and toolsWeb application automated testing types and tools
Web application automated testing types and toolsTestingXperts
 
Best Practices for Selenium Test Automation
Best Practices for Selenium Test AutomationBest Practices for Selenium Test Automation
Best Practices for Selenium Test AutomationTestingXperts
 
The Essentials of Mobile App Testing and Monitoring
The Essentials of Mobile App Testing and MonitoringThe Essentials of Mobile App Testing and Monitoring
The Essentials of Mobile App Testing and MonitoringMobilePundits
 

Similar to Selenium ~ Uncommon but practical use cases (20)

Real-World Applications of Selenium in Software Development.pptx
Real-World Applications of Selenium in Software Development.pptxReal-World Applications of Selenium in Software Development.pptx
Real-World Applications of Selenium in Software Development.pptx
 
7.pdf
7.pdf7.pdf
7.pdf
 
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
 
Shift left-csun-sagar-barbhaya
Shift left-csun-sagar-barbhayaShift left-csun-sagar-barbhaya
Shift left-csun-sagar-barbhaya
 
Testing Hourglass at Jira Frontend - by Alexey Shpakov, Sr. Developer @ Atlas...
Testing Hourglass at Jira Frontend - by Alexey Shpakov, Sr. Developer @ Atlas...Testing Hourglass at Jira Frontend - by Alexey Shpakov, Sr. Developer @ Atlas...
Testing Hourglass at Jira Frontend - by Alexey Shpakov, Sr. Developer @ Atlas...
 
Selenium - The Way Of Success
Selenium - The Way Of SuccessSelenium - The Way Of Success
Selenium - The Way Of Success
 
Selenium and Cucumber Automation Services
Selenium and Cucumber Automation ServicesSelenium and Cucumber Automation Services
Selenium and Cucumber Automation Services
 
What is Selenium Testing.pdf
What is Selenium Testing.pdfWhat is Selenium Testing.pdf
What is Selenium Testing.pdf
 
Selenium Best Practices For Web Testing
Selenium Best Practices For Web TestingSelenium Best Practices For Web Testing
Selenium Best Practices For Web Testing
 
Software Testing Tools Training
Software Testing Tools TrainingSoftware Testing Tools Training
Software Testing Tools Training
 
What are the top 10 performance testing tools
What are the top 10 performance testing toolsWhat are the top 10 performance testing tools
What are the top 10 performance testing tools
 
Introduction to Automation Testing and Selenium overiew
Introduction to Automation Testing and Selenium overiewIntroduction to Automation Testing and Selenium overiew
Introduction to Automation Testing and Selenium overiew
 
Top 21 Selenium FAQs.pdf
Top 21 Selenium FAQs.pdfTop 21 Selenium FAQs.pdf
Top 21 Selenium FAQs.pdf
 
Ijetcas14 413
Ijetcas14 413Ijetcas14 413
Ijetcas14 413
 
Appium Interview Questions and Answers | Edureka
Appium Interview Questions and Answers | EdurekaAppium Interview Questions and Answers | Edureka
Appium Interview Questions and Answers | Edureka
 
Unit Testing Essay
Unit Testing EssayUnit Testing Essay
Unit Testing Essay
 
What is Selenium Automation Testing.pdf
What is Selenium Automation Testing.pdfWhat is Selenium Automation Testing.pdf
What is Selenium Automation Testing.pdf
 
Web application automated testing types and tools
Web application automated testing types and toolsWeb application automated testing types and tools
Web application automated testing types and tools
 
Best Practices for Selenium Test Automation
Best Practices for Selenium Test AutomationBest Practices for Selenium Test Automation
Best Practices for Selenium Test Automation
 
The Essentials of Mobile App Testing and Monitoring
The Essentials of Mobile App Testing and MonitoringThe Essentials of Mobile App Testing and Monitoring
The Essentials of Mobile App Testing and Monitoring
 

Recently uploaded

Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsMark Billinghurst
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitecturePixlogix Infotech
 
Artificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning eraArtificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning eraDeakin University
 
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Alan Dix
 
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)Wonjun Hwang
 
costume and set research powerpoint presentation
costume and set research powerpoint presentationcostume and set research powerpoint presentation
costume and set research powerpoint presentationphoebematthew05
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024Scott Keck-Warren
 
Science&tech:THE INFORMATION AGE STS.pdf
Science&tech:THE INFORMATION AGE STS.pdfScience&tech:THE INFORMATION AGE STS.pdf
Science&tech:THE INFORMATION AGE STS.pdfjimielynbastida
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticscarlostorres15106
 
Pigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions
 
APIForce Zurich 5 April Automation LPDG
APIForce Zurich 5 April  Automation LPDGAPIForce Zurich 5 April  Automation LPDG
APIForce Zurich 5 April Automation LPDGMarianaLemus7
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Enterprise Knowledge
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 3652toLead Limited
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machinePadma Pradeep
 
New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024BookNet Canada
 
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersEnhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersThousandEyes
 
Unlocking the Potential of the Cloud for IBM Power Systems
Unlocking the Potential of the Cloud for IBM Power SystemsUnlocking the Potential of the Cloud for IBM Power Systems
Unlocking the Potential of the Cloud for IBM Power SystemsPrecisely
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...Fwdays
 

Recently uploaded (20)

Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR Systems
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC Architecture
 
Artificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning eraArtificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning era
 
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
 
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
 
costume and set research powerpoint presentation
costume and set research powerpoint presentationcostume and set research powerpoint presentation
costume and set research powerpoint presentation
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024
 
Science&tech:THE INFORMATION AGE STS.pdf
Science&tech:THE INFORMATION AGE STS.pdfScience&tech:THE INFORMATION AGE STS.pdf
Science&tech:THE INFORMATION AGE STS.pdf
 
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptxE-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
 
Pigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping Elbows
 
APIForce Zurich 5 April Automation LPDG
APIForce Zurich 5 April  Automation LPDGAPIForce Zurich 5 April  Automation LPDG
APIForce Zurich 5 April Automation LPDG
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machine
 
New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
 
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersEnhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
 
Unlocking the Potential of the Cloud for IBM Power Systems
Unlocking the Potential of the Cloud for IBM Power SystemsUnlocking the Potential of the Cloud for IBM Power Systems
Unlocking the Potential of the Cloud for IBM Power Systems
 
Hot Sexy call girls in Panjabi Bagh 🔝 9953056974 🔝 Delhi escort Service
Hot Sexy call girls in Panjabi Bagh 🔝 9953056974 🔝 Delhi escort ServiceHot Sexy call girls in Panjabi Bagh 🔝 9953056974 🔝 Delhi escort Service
Hot Sexy call girls in Panjabi Bagh 🔝 9953056974 🔝 Delhi escort Service
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
 

Selenium ~ Uncommon but practical use cases

  • 1. Uncommon but Practical use cases of Selenium 1
  • 2. How many of you are new to test automation? How many of you use or have used selenium for testing automation?
  • 3. Most common use cases 3 Regression Testing Cross Browser Testing Data-driven Testing
  • 4. Selenium is most commonly used for regression testing. Selenium cross browser testing is at a different scale now with browserstack and sauce labs providing it as an on demand service Data driven testing is key to improve your test coverage Now, these are some common use cases. Agile and Devops have made these a norm. Any other common use cases of Selenium you can think of? Can you also think of some uncommon use cases of Selenium?
  • 5. But, do you know? Selenium can also be used for 5 Visual Regression Testing Load Testing Synthetic Monitoring Performance Testing Responsive Testing
  • 6. Visual Regression Testing: You can take screenshots with Selenium but screenshots in itself will not give you enough information. Once you start comparing the images to know the differences between your test executions it will provide lot of insights about changes to your application and test behavior. Applitools has taken visual regression testing to next level. What is synthetic monitoring? There are critical flows in every application which are most often used by end users. These flows have to be functional and performant to make sure end user experience is smooth. Synthetic monitoring ensures best end user experience by monitoring critical flows in your application frequently and notify of any issues before your end users are impacted. New Relic, Appdynamics and Dynatrace have started using Selenium for Synthetic Monitoring Performance Testing: While you regression test your application you focus on the functionality but performance of application is equally important. You will have to check your application is loading fast or not. Load testing is basically running your performance tests with 100s or 1000s of concurrent users. Blazemeter uses Selenium for load testing. Responsive testing: With so many devices in use, it is very important to make sure your web application renders properly on different resolution and various devices. You have to test your web application to make sure it is responsive.
  • 7. Are they practical? ○ Selenium Advantage ○ But running tests in real browsers is costly ○ Advantages of load testing with Selenium ○ Advantages of Synthetic monitoring with Selenium 7
  • 8. Selenium Advantage - In my mind biggest advantage of Selenium is that it helps us in gauging real user experience because the tests are run in real browsers and behave the way they are perceived by end users Running load tests in real browsers is very costly but without this you will not get to know the how your application is perceived by end users. It is important to balance these out. Solution is to run 1000s of concurrent users with a tool like JMeter along with 100s of concurrent users in real browsers with Selenium. Advantage of load testing and synthetic monitoring with Selenium is it gives us very good insights of how the application is perceived by end users.
  • 9. Other uncommon use cases 9 Security Testing Accessibility Testing Robotic Process Automation
  • 10. We all understand how important security is for enterprises with news around AADHAAR data leak, Facebook and Cambridge analytica saga What is Accessibility Testing? - Accessibility Testing is a subset of Usability Testing, and it is performed to ensure that the application being tested is usable by people with disabilities like hearing, color blindness, old age and other disadvantaged groups. Proof of concepts are available where same selenium scripts can be reused to perform security testing and accessibility testing with open source tools. ZAP proxy as an example for security testing and AXE core for Accessibility testing. Selenium works very well with all web technologies so given a very good use case I am sure Selenium can also be extended to automate some of the business processes like a bot.
  • 11. What made this possible now? Advent of 11 Cloud Service Virtualization
  • 12. Imagine load testing with thousands of concurrent users on your own servers and data center. Even with cloud, imagine running so many parallel sessions in virtual machines. Cloud and service virtualization gave us the massive scale at unbelievably low costs. Cloud providers like Amazon AWS, Google cloud along with technologies like docker and kubernetes have made this possible.
  • 14. How did we extend Selenium? 14
  • 15. Challenges we faced ○ Finding reliable element selectors for dynamic single page applications ○ Reliability of running large number of tests at scale ○ Maintenance of automated tests? ○ Page object model for single page applications? 15
  • 16. Single page applications are the norm now. Latest JavaScript technologies like AngularJS, ReactJS, EmberJS, VueJS etc are used to build SPAs. Each of these come up with its own unique challenges like dynamic page loads, elements with dynamic ids, asynchronous calls etc. How many of you have faced similar challenges? We have answers for some of these but we would like to discuss with you offline on your thoughts specifically around ● Test case maintenance. Can it be automated? ● Page object model or approach to object repository for single page applications
  • 17. Future of Testing 17 Voice Driven Interfaces Augmented Reality Machine Learning Artificial Intelligence IoT
  • 18. These are some of the technological trends. These technological advancements in the industry will force the QA community to improve their skills. It is a definite challenge not only for the testers but also for the entire team to address them. But we can witness that the testing industry and specifically selenium community knock down these challenges with their innovations and research.