SlideShare una empresa de Scribd logo
1 de 36
2/1/2016
1
GET MAX FROM YOUR AUTOMATED TESTS
Nitin Mukhija
- Director Of Engineering In Test
PayU India Pvt. Ltd.
2/1/2016
2
FYI
2/1/2016
3
Hopefully this will not happen, so lets
get started…
Why Automate?
• Manual is slow
• Faster feedback on Continuous Integration
– 24*7 testing
• Repetitive manual regression tests are
boring and make testers lose focus
• Manual testers focus on testing new
features
• Allows for faster upgrades and refactoring
• Consistency and Documentation
• Higher test coverage – multiple data
combinations
2/1/2016
4
Let’s see an example of
poorly written automation…
2/1/2016
5
Automation Design
• Example of a bad code Hardcoded
Browser
Hardcoded
Environment
Hardcoded
Timeout
2/1/2016
6
Automation Design
• Example of a bad code
Hardcoded
Object
Identifiers
Hardcoded
Test Data
Hardcoded
Selenium
Constructs
Repeated
Business
Logic
2/1/2016
7
Automation Design
• Non-Actionable Report
– High Failure Investigation Cost
Manually run
again to repro.
Can’t log bugs
from report
No
Screenshot /
Page HTML
Insufficient
Logging
2/1/2016
8
Unplanned Automation
2/1/2016
9
Let’s see the things you can do to get MAX from
your automation…
2/1/2016
10
Tip #1:- Choose Right Design
• Example – Layered Architecture
• Hotel Book Web App
2/1/2016
11
Layered Architecture
• Automation Libs
• Framework Core
• Page Objects
• Business Logic Helpers
• Test Cases
2/1/2016
12
Page Object
Action On
Page
Mandatory to
Return next
Page after click
UI Elements
of Page
Page Name
2/1/2016 13
Layered Architecture
Sample layered design:-
• Automation Libs
• Framework Core
• Page Objects
• Business Logic Helpers
• Test Cases
2/1/2016
14
Business Logic Helpers
Combine
Page
Actions
to
build
business
Logic
Login
Search
Book
2/1/2016
15
Layered Architecture
• Automation Libs
• Framework Core
• Page Objects
• Business Logic Helpers
• Test Cases
2/1/2016
16
Neat Test Case
Extensively use
Business Logic
Helpers
Easy to read &
interpret manual
test case
TC
Description
2/1/2016
17
Layered Architecture
• Automation Libs
• Framework Core
• Page Objects
• Business Logic Helpers
• Test Cases
2/1/2016
18
Automation Libs
• Selenium, QTP, etc.
• All external third party jars
2/1/2016
19
Framework Core
• Wrapper around various
external libraries
Class Description
Log Log reporting
Helper Various utility methods
DataBase Methods to interact with database
Popup Methods to handle popups, alerts on the page
TestData
Reader
Methods to read from test data sheet
Browser Methods to do operations on your Browser/Page
Element Methods to do operations on Elements of the Page
Tip #1:- Right Design- Benefits
• Reduce Maintenance cost
• Business logic at one place
• Reusable code
• Localized changes – Data and Object Repo
• Easy to understand test cases
• Easy to change underlying automation lib
2/1/2016
20
Tip #2:- Configurable
• Don’t hardcode – Load at runtime
– Environment URL’s
– Browser Name
– Platform
– ObjectWaitTime
– Database credentials
– Any other param which drives the execution
2/1/2016
21
Tip #3:- Data Driven
• Run same test case with different data combinations
Read login
credentials
from Excel
Test Data Excel
Row Number
2/1/2016
22
Tip #4:- Parallel Execution
• Write non-interfering atomic test
cases
• Standard Win7 can run 12 parallel
browsers – execution time
reduced to 1/12th
Faster Execution =
Faster Feedback
2/1/2016
23
2/1/2016 24
Tip #5:- Rich Reports
Hyperlinks of
Page Screenshot
& HTML
Uniform logging
of TC steps in
Green/Red/Black
logs
Failure Page
URL
Log bugs by just
reading logs,
even manual
tester can do!
TC
Description
2/1/2016
25
Allure Reporting Failure
Grouping
2/1/2016
26
Custom Listeners
• Logging of unhandled exceptions
• Cleanup tasks
• Soft Asserts
2/1/2016
27
Tip #6:- Customized email results
• Host Test Results on a web server - Reports
history
• Email Results - Customized Subject
Pass
Percentage
Area Owner
2/1/2016
28
Consolidated Results
2/1/2016
29
2/1/2016
30
Tip #7:- Measure Automation Accuracy
# of test cases failed due to Dev code issue
Vs
# of test cases failed due to automation code issue
Tip #8:- Measure Code Coverage
Sample PHP
Code
Coverage
Report
2/1/2016
31
Tip #9:- Automated Deployments
• Using Docker - Build production like, testing
environment on the fly
• Jenkins job to:-
– Deploy application code automatically
– Run Automation
• A Step towards Continuous Delivery
2/1/2016
32
TestLink - TCM
Test Cases
Test Plans
Test Builds
Reports
Execution Engine
Fetch Git Code & Compile
TestLink Integration Module
Get Test Cases To Run
Launch & Drive Execution
Retrieve
Results/Exceptions
Push Test Results & Email
(ReportNG)
Layered Automation
Suite
Test Cases (TestNG)
Business Logic
Page Objects
Framework Core
Selenium Webdriver
Tip #10:- Continuous Integration
2/1/2016
33
2/1/2016
34
That’s strange, not even a single
Oxygen mask dropped!!
Questions & Answers
2/1/2016
35
Thank You!!!
https://in.linkedin.com/in/nitinmukhija
@nitin_mukhija
2/1/2016
36

Más contenido relacionado

La actualidad más candente

Upgrade to IPA Made Easy
Upgrade to IPA Made EasyUpgrade to IPA Made Easy
Upgrade to IPA Made EasyNogalis Inc
 
(ATS6-DEV05) Building Interactive Web Applications with the Reporting Collection
(ATS6-DEV05) Building Interactive Web Applications with the Reporting Collection(ATS6-DEV05) Building Interactive Web Applications with the Reporting Collection
(ATS6-DEV05) Building Interactive Web Applications with the Reporting CollectionBIOVIA
 
Datapolis Guest Expert Presentation: Limitations of SharePoint Designer by Bj...
Datapolis Guest Expert Presentation: Limitations of SharePoint Designer by Bj...Datapolis Guest Expert Presentation: Limitations of SharePoint Designer by Bj...
Datapolis Guest Expert Presentation: Limitations of SharePoint Designer by Bj...Datapolis
 
Tips and tricks of the 2021.4 release
Tips and tricks of the 2021.4 releaseTips and tricks of the 2021.4 release
Tips and tricks of the 2021.4 releaseCristina Vidu
 
Moving from Snapshot to Snapshot
Moving from Snapshot to SnapshotMoving from Snapshot to Snapshot
Moving from Snapshot to Snapshotsysnickm
 

La actualidad más candente (7)

Upgrade to IPA Made Easy
Upgrade to IPA Made EasyUpgrade to IPA Made Easy
Upgrade to IPA Made Easy
 
Dynatrace Benchmarks For Travel
Dynatrace Benchmarks For TravelDynatrace Benchmarks For Travel
Dynatrace Benchmarks For Travel
 
(ATS6-DEV05) Building Interactive Web Applications with the Reporting Collection
(ATS6-DEV05) Building Interactive Web Applications with the Reporting Collection(ATS6-DEV05) Building Interactive Web Applications with the Reporting Collection
(ATS6-DEV05) Building Interactive Web Applications with the Reporting Collection
 
2007 SAPTech Ed
2007 SAPTech Ed2007 SAPTech Ed
2007 SAPTech Ed
 
Datapolis Guest Expert Presentation: Limitations of SharePoint Designer by Bj...
Datapolis Guest Expert Presentation: Limitations of SharePoint Designer by Bj...Datapolis Guest Expert Presentation: Limitations of SharePoint Designer by Bj...
Datapolis Guest Expert Presentation: Limitations of SharePoint Designer by Bj...
 
Tips and tricks of the 2021.4 release
Tips and tricks of the 2021.4 releaseTips and tricks of the 2021.4 release
Tips and tricks of the 2021.4 release
 
Moving from Snapshot to Snapshot
Moving from Snapshot to SnapshotMoving from Snapshot to Snapshot
Moving from Snapshot to Snapshot
 

Similar a Get Maximum Value from Your Automation Tests

Training Webinar: Detect Performance Bottlenecks of Applications
Training Webinar: Detect Performance Bottlenecks of ApplicationsTraining Webinar: Detect Performance Bottlenecks of Applications
Training Webinar: Detect Performance Bottlenecks of ApplicationsOutSystems
 
Hybrid Automation Framework Developement
Hybrid Automation Framework DevelopementHybrid Automation Framework Developement
Hybrid Automation Framework DevelopementGlasdon Falcao
 
7 steps to migrate from SAP PI to PO/PRO
7 steps to migrate from SAP PI to PO/PRO7 steps to migrate from SAP PI to PO/PRO
7 steps to migrate from SAP PI to PO/PRODaniel Graversen
 
Application Performance Tuning Techniques
Application Performance Tuning TechniquesApplication Performance Tuning Techniques
Application Performance Tuning TechniquesRam Nagesh
 
201601007 Limelight - Hui Qin Teoh
201601007 Limelight - Hui Qin Teoh201601007 Limelight - Hui Qin Teoh
201601007 Limelight - Hui Qin TeohHui Qin Teoh, PMP®
 
SharePoint Troubleshooting
SharePoint TroubleshootingSharePoint Troubleshooting
SharePoint TroubleshootingToby McGrail
 
Custom code management & tools
Custom code management & toolsCustom code management & tools
Custom code management & toolsTimo_John
 
Opticon18: Developer Night
Opticon18: Developer NightOpticon18: Developer Night
Opticon18: Developer NightOptimizely
 
Sitecore user group mumbai sitecore commerce extension
Sitecore user group mumbai  sitecore commerce extensionSitecore user group mumbai  sitecore commerce extension
Sitecore user group mumbai sitecore commerce extensionJitendra Soni
 
DevOps: Sprinkle Dev, Sprinkle Ops, Let's make Cake, not Mud Pies
DevOps: Sprinkle Dev, Sprinkle Ops, Let's make Cake, not Mud PiesDevOps: Sprinkle Dev, Sprinkle Ops, Let's make Cake, not Mud Pies
DevOps: Sprinkle Dev, Sprinkle Ops, Let's make Cake, not Mud PiesCentric Consulting
 
What is Robotics Process Automation ?
What is Robotics Process Automation ?What is Robotics Process Automation ?
What is Robotics Process Automation ?Aditya Sharma
 
SCRIMPS-STD: Test Automation Design Principles - and asking the right questions!
SCRIMPS-STD: Test Automation Design Principles - and asking the right questions!SCRIMPS-STD: Test Automation Design Principles - and asking the right questions!
SCRIMPS-STD: Test Automation Design Principles - and asking the right questions!Richard Robinson
 
[Pinto] Is my SharePoint Development team properly enlighted?
[Pinto] Is my SharePoint Development team properly enlighted?[Pinto] Is my SharePoint Development team properly enlighted?
[Pinto] Is my SharePoint Development team properly enlighted?European Collaboration Summit
 
How to Do a Performance Audit of Your .NET Website
How to Do a Performance Audit of Your .NET WebsiteHow to Do a Performance Audit of Your .NET Website
How to Do a Performance Audit of Your .NET WebsiteDNN
 
Ship code like a keptn
Ship code like a keptnShip code like a keptn
Ship code like a keptnRob Jahn
 
Browser-Based Load Testing with Grafana K6
Browser-Based Load Testing with Grafana K6Browser-Based Load Testing with Grafana K6
Browser-Based Load Testing with Grafana K6Knoldus Inc.
 
QA Team Goes to Agile and Continuous integration
QA Team Goes to Agile and Continuous integrationQA Team Goes to Agile and Continuous integration
QA Team Goes to Agile and Continuous integrationSujit Ghosh
 
OutSystems Tips and Tricks
OutSystems Tips and TricksOutSystems Tips and Tricks
OutSystems Tips and TricksOutSystems
 
Debugging,Troubleshooting & Monitoring Distributed Web & Cloud Applications a...
Debugging,Troubleshooting & Monitoring Distributed Web & Cloud Applications a...Debugging,Troubleshooting & Monitoring Distributed Web & Cloud Applications a...
Debugging,Troubleshooting & Monitoring Distributed Web & Cloud Applications a...Theo Jungeblut
 

Similar a Get Maximum Value from Your Automation Tests (20)

Training Webinar: Detect Performance Bottlenecks of Applications
Training Webinar: Detect Performance Bottlenecks of ApplicationsTraining Webinar: Detect Performance Bottlenecks of Applications
Training Webinar: Detect Performance Bottlenecks of Applications
 
Hybrid Automation Framework Developement
Hybrid Automation Framework DevelopementHybrid Automation Framework Developement
Hybrid Automation Framework Developement
 
7 steps to migrate from SAP PI to PO/PRO
7 steps to migrate from SAP PI to PO/PRO7 steps to migrate from SAP PI to PO/PRO
7 steps to migrate from SAP PI to PO/PRO
 
Application Performance Tuning Techniques
Application Performance Tuning TechniquesApplication Performance Tuning Techniques
Application Performance Tuning Techniques
 
201601007 Limelight - Hui Qin Teoh
201601007 Limelight - Hui Qin Teoh201601007 Limelight - Hui Qin Teoh
201601007 Limelight - Hui Qin Teoh
 
SharePoint Troubleshooting
SharePoint TroubleshootingSharePoint Troubleshooting
SharePoint Troubleshooting
 
Test plan
Test planTest plan
Test plan
 
Custom code management & tools
Custom code management & toolsCustom code management & tools
Custom code management & tools
 
Opticon18: Developer Night
Opticon18: Developer NightOpticon18: Developer Night
Opticon18: Developer Night
 
Sitecore user group mumbai sitecore commerce extension
Sitecore user group mumbai  sitecore commerce extensionSitecore user group mumbai  sitecore commerce extension
Sitecore user group mumbai sitecore commerce extension
 
DevOps: Sprinkle Dev, Sprinkle Ops, Let's make Cake, not Mud Pies
DevOps: Sprinkle Dev, Sprinkle Ops, Let's make Cake, not Mud PiesDevOps: Sprinkle Dev, Sprinkle Ops, Let's make Cake, not Mud Pies
DevOps: Sprinkle Dev, Sprinkle Ops, Let's make Cake, not Mud Pies
 
What is Robotics Process Automation ?
What is Robotics Process Automation ?What is Robotics Process Automation ?
What is Robotics Process Automation ?
 
SCRIMPS-STD: Test Automation Design Principles - and asking the right questions!
SCRIMPS-STD: Test Automation Design Principles - and asking the right questions!SCRIMPS-STD: Test Automation Design Principles - and asking the right questions!
SCRIMPS-STD: Test Automation Design Principles - and asking the right questions!
 
[Pinto] Is my SharePoint Development team properly enlighted?
[Pinto] Is my SharePoint Development team properly enlighted?[Pinto] Is my SharePoint Development team properly enlighted?
[Pinto] Is my SharePoint Development team properly enlighted?
 
How to Do a Performance Audit of Your .NET Website
How to Do a Performance Audit of Your .NET WebsiteHow to Do a Performance Audit of Your .NET Website
How to Do a Performance Audit of Your .NET Website
 
Ship code like a keptn
Ship code like a keptnShip code like a keptn
Ship code like a keptn
 
Browser-Based Load Testing with Grafana K6
Browser-Based Load Testing with Grafana K6Browser-Based Load Testing with Grafana K6
Browser-Based Load Testing with Grafana K6
 
QA Team Goes to Agile and Continuous integration
QA Team Goes to Agile and Continuous integrationQA Team Goes to Agile and Continuous integration
QA Team Goes to Agile and Continuous integration
 
OutSystems Tips and Tricks
OutSystems Tips and TricksOutSystems Tips and Tricks
OutSystems Tips and Tricks
 
Debugging,Troubleshooting & Monitoring Distributed Web & Cloud Applications a...
Debugging,Troubleshooting & Monitoring Distributed Web & Cloud Applications a...Debugging,Troubleshooting & Monitoring Distributed Web & Cloud Applications a...
Debugging,Troubleshooting & Monitoring Distributed Web & Cloud Applications a...
 

Más de BabuDevanandam

Choosing right-automation-tool
Choosing right-automation-toolChoosing right-automation-tool
Choosing right-automation-toolBabuDevanandam
 
Customized Test Automation Solution
Customized Test Automation SolutionCustomized Test Automation Solution
Customized Test Automation SolutionBabuDevanandam
 
Automationsamurai presentation
Automationsamurai presentationAutomationsamurai presentation
Automationsamurai presentationBabuDevanandam
 
Point of sale_framework
Point of sale_frameworkPoint of sale_framework
Point of sale_frameworkBabuDevanandam
 
Shrinivas kulkarni barclays feynmanism for testers – introducing the curious ...
Shrinivas kulkarni barclays feynmanism for testers – introducing the curious ...Shrinivas kulkarni barclays feynmanism for testers – introducing the curious ...
Shrinivas kulkarni barclays feynmanism for testers – introducing the curious ...BabuDevanandam
 
Selenium Test Automation
Selenium Test AutomationSelenium Test Automation
Selenium Test AutomationBabuDevanandam
 
Test Automation for Mobile Apps..
Test Automation for Mobile Apps..Test Automation for Mobile Apps..
Test Automation for Mobile Apps..BabuDevanandam
 
Testing in the Extremes
Testing in the ExtremesTesting in the Extremes
Testing in the ExtremesBabuDevanandam
 
Cross browser Testing on Mobile Devices
Cross browser Testing on Mobile DevicesCross browser Testing on Mobile Devices
Cross browser Testing on Mobile DevicesBabuDevanandam
 

Más de BabuDevanandam (15)

General Functions
General FunctionsGeneral Functions
General Functions
 
Device Replaycodes
Device ReplaycodesDevice Replaycodes
Device Replaycodes
 
E pds
E pdsE pds
E pds
 
Choosing right-automation-tool
Choosing right-automation-toolChoosing right-automation-tool
Choosing right-automation-tool
 
Customized Test Automation Solution
Customized Test Automation SolutionCustomized Test Automation Solution
Customized Test Automation Solution
 
mohit anand
 mohit anand mohit anand
mohit anand
 
Automationsamurai presentation
Automationsamurai presentationAutomationsamurai presentation
Automationsamurai presentation
 
Point of sale_framework
Point of sale_frameworkPoint of sale_framework
Point of sale_framework
 
Shrinivas kulkarni barclays feynmanism for testers – introducing the curious ...
Shrinivas kulkarni barclays feynmanism for testers – introducing the curious ...Shrinivas kulkarni barclays feynmanism for testers – introducing the curious ...
Shrinivas kulkarni barclays feynmanism for testers – introducing the curious ...
 
Selenium Test Automation
Selenium Test AutomationSelenium Test Automation
Selenium Test Automation
 
DST Vega test Tool
DST Vega test ToolDST Vega test Tool
DST Vega test Tool
 
Test Automation
Test AutomationTest Automation
Test Automation
 
Test Automation for Mobile Apps..
Test Automation for Mobile Apps..Test Automation for Mobile Apps..
Test Automation for Mobile Apps..
 
Testing in the Extremes
Testing in the ExtremesTesting in the Extremes
Testing in the Extremes
 
Cross browser Testing on Mobile Devices
Cross browser Testing on Mobile DevicesCross browser Testing on Mobile Devices
Cross browser Testing on Mobile Devices
 

Último

Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptxUse of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptxLoriGlavin3
 
A Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software DevelopersA Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software DevelopersNicole Novielli
 
Emixa Mendix Meetup 11 April 2024 about Mendix Native development
Emixa Mendix Meetup 11 April 2024 about Mendix Native developmentEmixa Mendix Meetup 11 April 2024 about Mendix Native development
Emixa Mendix Meetup 11 April 2024 about Mendix Native developmentPim van der Noll
 
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptxPasskey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptxLoriGlavin3
 
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...Alkin Tezuysal
 
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsPixlogix Infotech
 
Top 10 Hubspot Development Companies in 2024
Top 10 Hubspot Development Companies in 2024Top 10 Hubspot Development Companies in 2024
Top 10 Hubspot Development Companies in 2024TopCSSGallery
 
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024Lonnie McRorey
 
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024BookNet Canada
 
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024BookNet Canada
 
Moving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfMoving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfLoriGlavin3
 
Microsoft 365 Copilot: How to boost your productivity with AI – Part one: Ado...
Microsoft 365 Copilot: How to boost your productivity with AI – Part one: Ado...Microsoft 365 Copilot: How to boost your productivity with AI – Part one: Ado...
Microsoft 365 Copilot: How to boost your productivity with AI – Part one: Ado...Nikki Chapple
 
How to write a Business Continuity Plan
How to write a Business Continuity PlanHow to write a Business Continuity Plan
How to write a Business Continuity PlanDatabarracks
 
Glenn Lazarus- Why Your Observability Strategy Needs Security Observability
Glenn Lazarus- Why Your Observability Strategy Needs Security ObservabilityGlenn Lazarus- Why Your Observability Strategy Needs Security Observability
Glenn Lazarus- Why Your Observability Strategy Needs Security Observabilityitnewsafrica
 
2024 April Patch Tuesday
2024 April Patch Tuesday2024 April Patch Tuesday
2024 April Patch TuesdayIvanti
 
Digital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptxDigital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptxLoriGlavin3
 
Design pattern talk by Kaya Weers - 2024 (v2)
Design pattern talk by Kaya Weers - 2024 (v2)Design pattern talk by Kaya Weers - 2024 (v2)
Design pattern talk by Kaya Weers - 2024 (v2)Kaya Weers
 
Generative Artificial Intelligence: How generative AI works.pdf
Generative Artificial Intelligence: How generative AI works.pdfGenerative Artificial Intelligence: How generative AI works.pdf
Generative Artificial Intelligence: How generative AI works.pdfIngrid Airi González
 
Scale your database traffic with Read & Write split using MySQL Router
Scale your database traffic with Read & Write split using MySQL RouterScale your database traffic with Read & Write split using MySQL Router
Scale your database traffic with Read & Write split using MySQL RouterMydbops
 
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyes
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyesHow to Effectively Monitor SD-WAN and SASE Environments with ThousandEyes
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyesThousandEyes
 

Último (20)

Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptxUse of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
 
A Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software DevelopersA Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software Developers
 
Emixa Mendix Meetup 11 April 2024 about Mendix Native development
Emixa Mendix Meetup 11 April 2024 about Mendix Native developmentEmixa Mendix Meetup 11 April 2024 about Mendix Native development
Emixa Mendix Meetup 11 April 2024 about Mendix Native development
 
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptxPasskey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
 
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...
 
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and Cons
 
Top 10 Hubspot Development Companies in 2024
Top 10 Hubspot Development Companies in 2024Top 10 Hubspot Development Companies in 2024
Top 10 Hubspot Development Companies in 2024
 
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024
 
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
 
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
 
Moving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfMoving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdf
 
Microsoft 365 Copilot: How to boost your productivity with AI – Part one: Ado...
Microsoft 365 Copilot: How to boost your productivity with AI – Part one: Ado...Microsoft 365 Copilot: How to boost your productivity with AI – Part one: Ado...
Microsoft 365 Copilot: How to boost your productivity with AI – Part one: Ado...
 
How to write a Business Continuity Plan
How to write a Business Continuity PlanHow to write a Business Continuity Plan
How to write a Business Continuity Plan
 
Glenn Lazarus- Why Your Observability Strategy Needs Security Observability
Glenn Lazarus- Why Your Observability Strategy Needs Security ObservabilityGlenn Lazarus- Why Your Observability Strategy Needs Security Observability
Glenn Lazarus- Why Your Observability Strategy Needs Security Observability
 
2024 April Patch Tuesday
2024 April Patch Tuesday2024 April Patch Tuesday
2024 April Patch Tuesday
 
Digital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptxDigital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptx
 
Design pattern talk by Kaya Weers - 2024 (v2)
Design pattern talk by Kaya Weers - 2024 (v2)Design pattern talk by Kaya Weers - 2024 (v2)
Design pattern talk by Kaya Weers - 2024 (v2)
 
Generative Artificial Intelligence: How generative AI works.pdf
Generative Artificial Intelligence: How generative AI works.pdfGenerative Artificial Intelligence: How generative AI works.pdf
Generative Artificial Intelligence: How generative AI works.pdf
 
Scale your database traffic with Read & Write split using MySQL Router
Scale your database traffic with Read & Write split using MySQL RouterScale your database traffic with Read & Write split using MySQL Router
Scale your database traffic with Read & Write split using MySQL Router
 
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyes
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyesHow to Effectively Monitor SD-WAN and SASE Environments with ThousandEyes
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyes
 

Get Maximum Value from Your Automation Tests

Notas del editor

  1. Lets understand why we should automate at all …… Now we understand why we should automate. But we see a lot of automation projects failing. Instead of solving these problems, they actually become a burden on the team. Why this happens??
  2. If you this bad code, you wont be able to:- Run your automation on diff browser, On diff env On slower env
  3. This is a poorly written test case. What if dev makes a change in element of the page, you will have to fix all test cases. What if you want to run the same TC with different data. You can’t What if you want to remove selenium and use xyz What if there is change in business logic - Change in one logic, will break all tests
  4. Moreover a poorly written automation framework will give you a non-actionable report Imagine if you have 2000 cases running daily, out of which 500 fail daily. You will end up spending days investigating such kind of reports - High failure investigation cost due to poor reporting
  5. Over a period of time you will be in a complete mess. Your tests will be quite brittle, and you will have high Maintenance cost.
  6. You should design your automation framework in a layered fashion, starting with the test cases which use…and lastly the automation libs.
  7. For any new feature automation, this will usually be the starting point, where you will add classes for all the new pages introduced in the feature. Now if developer changes any page, there will be only one place where you need to fix. You don’t need to make any change in test cases.
  8. Your application will have multiple pages, once you have created page objects for all of them, start combining them into business logic. These are reusable functions, which others can also use when they want to use this feature. Also, these will make your test case body neat and clean. The logical unit, way PM or manual tester will describe
  9. Extensively use reusable Business Logic Helpers, so that test case body looks short and neat. Just by reading the names of the helper methods being called, the objective of manual test case should become clear. And if business logic of lets say doing a booking changes, I don’t need any change in my test case.
  10. Wrapper around various external libraries and utility methods, so that writing automation code is easy. Talk only about Browser & Element
  11. Eg. Here it is reading login credentials from excel You just add more rows in excel, and your TC will run for those. No need to write code for every data input.
  12. Very important aim of automation is faster feedback, so it should execute fast.
  13. You must reduce the failure investigation time, when you have large number of tests.
  14. This is a very nice reporting solution by Allure, you can integrate your automation reports with this. Let’s say you have 2000 TC, out of which 500 fail. This will group your failure reasons and show you the top defects.
  15. - Also you can do cleanup work like – closing browser, closing db connection, recording screenshot, html, firebug– test case writer does not needs to worry about it Also – you can use softassert, and then assertall in listener. Test case will not stop in between.
  16. Reduce failure investigation time
  17. Instrument dev code and run automation It will capture the lines of dev code that are executed, and by which test case
  18. It has 3 major parts, TestLink where we keep manual cases, Execution engine to read those cases, and layered automation suite where all test cases are automated. Jenkins is a Continuous Integration tool, which we use to build & schedule automation. We can create job for the same.