SlideShare a Scribd company logo
1 of 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

More Related Content

What's hot

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
 

What's hot (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 to Get Max From Automation

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 to Get Max From Automation (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...
 

More from 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
 

More from 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
 

Recently uploaded

Vector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptxVector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptxRemote DBA Services
 
WSO2 Micro Integrator for Enterprise Integration in a Decentralized, Microser...
WSO2 Micro Integrator for Enterprise Integration in a Decentralized, Microser...WSO2 Micro Integrator for Enterprise Integration in a Decentralized, Microser...
WSO2 Micro Integrator for Enterprise Integration in a Decentralized, Microser...WSO2
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyKhushali Kathiriya
 
Introduction to use of FHIR Documents in ABDM
Introduction to use of FHIR Documents in ABDMIntroduction to use of FHIR Documents in ABDM
Introduction to use of FHIR Documents in ABDMKumar Satyam
 
[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdfSandro Moreira
 
Stronger Together: Developing an Organizational Strategy for Accessible Desig...
Stronger Together: Developing an Organizational Strategy for Accessible Desig...Stronger Together: Developing an Organizational Strategy for Accessible Desig...
Stronger Together: Developing an Organizational Strategy for Accessible Desig...caitlingebhard1
 
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfRising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfOrbitshub
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...DianaGray10
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FMESafe Software
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDropbox
 
Platformless Horizons for Digital Adaptability
Platformless Horizons for Digital AdaptabilityPlatformless Horizons for Digital Adaptability
Platformless Horizons for Digital AdaptabilityWSO2
 
Quantum Leap in Next-Generation Computing
Quantum Leap in Next-Generation ComputingQuantum Leap in Next-Generation Computing
Quantum Leap in Next-Generation ComputingWSO2
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
CNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In PakistanCNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In Pakistandanishmna97
 
AI in Action: Real World Use Cases by Anitaraj
AI in Action: Real World Use Cases by AnitarajAI in Action: Real World Use Cases by Anitaraj
AI in Action: Real World Use Cases by AnitarajAnitaRaj43
 
AI+A11Y 11MAY2024 HYDERBAD GAAD 2024 - HelloA11Y (11 May 2024)
AI+A11Y 11MAY2024 HYDERBAD GAAD 2024 - HelloA11Y (11 May 2024)AI+A11Y 11MAY2024 HYDERBAD GAAD 2024 - HelloA11Y (11 May 2024)
AI+A11Y 11MAY2024 HYDERBAD GAAD 2024 - HelloA11Y (11 May 2024)Samir Dash
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoffsammart93
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc
 
JohnPollard-hybrid-app-RailsConf2024.pptx
JohnPollard-hybrid-app-RailsConf2024.pptxJohnPollard-hybrid-app-RailsConf2024.pptx
JohnPollard-hybrid-app-RailsConf2024.pptxJohnPollard37
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingEdi Saputra
 

Recently uploaded (20)

Vector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptxVector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptx
 
WSO2 Micro Integrator for Enterprise Integration in a Decentralized, Microser...
WSO2 Micro Integrator for Enterprise Integration in a Decentralized, Microser...WSO2 Micro Integrator for Enterprise Integration in a Decentralized, Microser...
WSO2 Micro Integrator for Enterprise Integration in a Decentralized, Microser...
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
Introduction to use of FHIR Documents in ABDM
Introduction to use of FHIR Documents in ABDMIntroduction to use of FHIR Documents in ABDM
Introduction to use of FHIR Documents in ABDM
 
[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf
 
Stronger Together: Developing an Organizational Strategy for Accessible Desig...
Stronger Together: Developing an Organizational Strategy for Accessible Desig...Stronger Together: Developing an Organizational Strategy for Accessible Desig...
Stronger Together: Developing an Organizational Strategy for Accessible Desig...
 
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfRising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
 
Platformless Horizons for Digital Adaptability
Platformless Horizons for Digital AdaptabilityPlatformless Horizons for Digital Adaptability
Platformless Horizons for Digital Adaptability
 
Quantum Leap in Next-Generation Computing
Quantum Leap in Next-Generation ComputingQuantum Leap in Next-Generation Computing
Quantum Leap in Next-Generation Computing
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
CNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In PakistanCNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In Pakistan
 
AI in Action: Real World Use Cases by Anitaraj
AI in Action: Real World Use Cases by AnitarajAI in Action: Real World Use Cases by Anitaraj
AI in Action: Real World Use Cases by Anitaraj
 
AI+A11Y 11MAY2024 HYDERBAD GAAD 2024 - HelloA11Y (11 May 2024)
AI+A11Y 11MAY2024 HYDERBAD GAAD 2024 - HelloA11Y (11 May 2024)AI+A11Y 11MAY2024 HYDERBAD GAAD 2024 - HelloA11Y (11 May 2024)
AI+A11Y 11MAY2024 HYDERBAD GAAD 2024 - HelloA11Y (11 May 2024)
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
JohnPollard-hybrid-app-RailsConf2024.pptx
JohnPollard-hybrid-app-RailsConf2024.pptxJohnPollard-hybrid-app-RailsConf2024.pptx
JohnPollard-hybrid-app-RailsConf2024.pptx
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 

Get Max From Automation

Editor's Notes

  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.