SlideShare a Scribd company logo
1 of 9
Good
Power
Good Test Automation Frameworks
• Reliability
– Framework must reliably work in all supported capabilities otherwise it becomes un
productive
• Modularity
– For easy maintenance, easy extendibility and for easy understandability
• Error Handling and Recovery mechanisms
– Must have recovery mechanisms to handle exceptions or failures or hanging issues.
– This is mandatory in Endurance , performance , stress and persistence testing.
• Reusability
– Every module/library should be reusable in many ways.
• Reporting
– All Testcases marked with PASS/FAIL/ERROR and Failure reason if test fails.
• No Testcase order Dependency
– Every Testcase should be able to run independently without depending on other
Testcase and Each Testcase should not come to initial state at end to achieve this.
– Framework should have intelligence for auto identification of configuration in different
test cases and should configure only delta configuration between test cases.
– It saves test execution time greatly.
How good is ‘Good Enough’?
• Prolonged Support activity in long run
– Typical automation developer spends his 40-50% time on automation support activities
(debugging, deployment, Code Updates and code management) after 1 year of script development.
– This percentage might increase if you are not using good frameworks. Either automation developer
dedicates his/her support activities to some other person or himself/herself spends time.
– This simulates saturation for framework features development after certain stage, creates
boredom to automation developer and finally kills innovation after certain period.
– Mindset of JUST MAINTAIN starts. Solution to this is moving to Power Frameworks rather than stopping
at Good Framework
• Power Automation Frameworks not only reduces support activities time but also provides
some great features in addition to Good framework features.
– One Touch Automation deployment
– Zero Touch Automation code update
– Smart Debugging
– Hassle free automation code management for remote device/servers
– Multi Threading to reduce test execution time
– Hot pluggable interface to third party scripts
– Database for results statistics , framework usage statistics
Lets Move To Power
Terminology alignment
• Two Broad types of Automation testing
– UI /Web Client Based testing
• Typical setup involves one or more web/UI clients and web/UI servers
• Controlling clients though pixel references or GUI Object references
• Controlling Servers through HTML Posts/Rest API/ SOAP UI e.t.c
• Sometimes one need to maintain some automation code at server side to simulate
some situations at server side. This is referred as remote server automation code
– Embedded Systems testing
• Typical setup involves more than one device or equipment
• Need to control these devices by executing telnet/ssh/ADB/AT e.t.c commands via
serialport/usb/ethernet e.t.c interfaces
• Some times you need to maintain code at remote device to maintain context .
– Few Examples: Serial Port access on remote equipment, To open windows applications from linux box
. This is referred as remote device automation code.
• DUT – Device Under Test
Power Test Automation Frameworks
• One Touch Automation Deployment
– Create workspace with single installation script for first time
– Framework should automatically detect and install missing libraries or packages for every new
framework release without user intervention
• Zero Touch Automation Code updates.
– All Automation workspaces/test beds must automatically update code base to new recommended
Framework release.
Note: Not to Latest release. Latest Release may not be recommended
• Centralized logging
– Every Testcase shall have following Logs
• Test case execution flow Logs, low level step flow logs
• Application Debug Logs, Automation Debug Logs
• Server side execution logs (if your application is server based)
• Remote Device Logs (if setup involves some equipment)
– These logs must be collected in one log file or accessible from one log file through links.
– This is very import feature to reduce debugging efforts.( see next slide for more details)
Power Test Automation Frameworks-cont
• Smart Debugging
– Framework should be marked with step number for all logs mentioned in previous slide for each
step.
• User must not map different logs time stamps to understand flow.
• This is mandatory if framework can handle multiple steps in parallel
• Should be able to filter all logs for one particular step when users debugging failed step
– Different Users should be able to filter different logs based on their requirement to debug the
issue.
• Framework Basic User is interested only in execution flow Statements to find out which step failed.
• Framework advanced User might be interested in server or remote device logs to understand the issue.
• Framework Developer is interested in debug and low level logs also to debug issue
• One should not re run the test case for collecting logs. Sometimes it is very difficult to reproduce random
bugs.
– Auto calculation of execution time for each step and group of steps .
• This feature is very useful to find out which step is taking longer period and where to optimize the code.
Optimization might require in automation code or in DUT software.
– Test data/instance must be captured for every test run
• Test cases files, Testsuite file, Test configurations parameters files
• Automation framework code revision/version number
• This reduces framework developer debug time greatly
– To know actual test data at that time of test run to debug easily
– Incase of mismatched information between automation user vs developer about test data when debugging issue.
Power Test Automation Frameworks-cont
• Hassle free automation code management for remote device/servers
– All automation code should be maintained at one central location.
– Test Controller should push the right code at the time of execution to remote devices/servers
based on parameters.
– Hassles of automation code updates at multiple devices for every new release will vanish.
– Several times automation failures are due to code update mismatches when you have multi
equipment environment.
• Multi threading
– Multiple steps in one Testcase should be able to run in parallel if those steps are not dependent on
each other.
– Multiple Testcases in one test suite should be able to run in parallel if those test cases are not
dependent on each other.
– If they are sharing same resource,
• Need to protect with semaphores while accessing devices
• Need to share Control sessions ( Every remote device/server will have max limit for parallel telnet/SSH e.t.c
access)
– This feature greatly reduces test execution time.
– Some times this feature is mandatory to meet parallel testing requirement. Few Examples below
• Data transfer from multiple mobiles at same time
• Simultaneous stateful server access
– You must store all threads created in framework in global structure to identify threads hanged in
case of error
Power Test Automation Frameworks-cont
• Hot pluggable interface to third party scripts
– There could be third party scripts to control some devices.
– Sometimes some legacy scripts exists in working conditions which are not part of framework
– Some scripts written in different scripting language which are not planned to migrate.
– Tester or framework user developed some scripts offline for his/her usage.
– Those can be Hot pluggable into Framework. Modules/scripts Need to undergo minimal changes
to follow few basic rules defined by framework.
• Database for results statistics , framework usage statistics
– All Results need to be stored in database with test data & Results.
• Software version on DUT, Test suite details , Date the test run , User Details, test bed details, Automation
code version, Type of Tests e.t.c .
• Every possible detail need to be stored
• You need to choose right data base( SQL or no SQL) for your requirement.
– This data is very important to understand
• Trend analysis of different DUT Software releases
• Problems areas in DUT Software releases
• Usability of the Automation framework
• Where to enhance the framework
How good is “Power”
Next Generation Automation Frameworks –
Power++ comes with A.I.
…..Continues
Why the heck you require A.I in automation frameworks??
No Framework exists with A.I. as of today
See in my next article.

More Related Content

What's hot

Fault tolerant presentation
Fault tolerant presentationFault tolerant presentation
Fault tolerant presentationskadyan1
 
Monitoring your physical, virtual and cloud infrastructure with Applications ...
Monitoring your physical, virtual and cloud infrastructure with Applications ...Monitoring your physical, virtual and cloud infrastructure with Applications ...
Monitoring your physical, virtual and cloud infrastructure with Applications ...ManageEngine, Zoho Corporation
 
Performance Requirement Gathering
Performance Requirement GatheringPerformance Requirement Gathering
Performance Requirement GatheringAtul Pant
 
Fault tolerance techniques for real time operating system
Fault tolerance techniques for real time operating systemFault tolerance techniques for real time operating system
Fault tolerance techniques for real time operating systemanujos25
 
Dependable Systems -Fault Tolerance Patterns (4/16)
Dependable Systems -Fault Tolerance Patterns (4/16)Dependable Systems -Fault Tolerance Patterns (4/16)
Dependable Systems -Fault Tolerance Patterns (4/16)Peter Tröger
 
Performance testing and_reporting_with_j_meter by Le Van Nghi
Performance testing and_reporting_with_j_meter by  Le Van NghiPerformance testing and_reporting_with_j_meter by  Le Van Nghi
Performance testing and_reporting_with_j_meter by Le Van NghieXo Platform
 
SOC Verification using SystemVerilog
SOC Verification using SystemVerilog SOC Verification using SystemVerilog
SOC Verification using SystemVerilog Ramdas Mozhikunnath
 
Multi-Unit Severe Accident Simulation
Multi-Unit Severe Accident SimulationMulti-Unit Severe Accident Simulation
Multi-Unit Severe Accident SimulationGSE Systems, Inc.
 
JMeter Interview Questions | Performance Testing Interview Questions | Edureka
JMeter Interview Questions | Performance Testing Interview Questions | EdurekaJMeter Interview Questions | Performance Testing Interview Questions | Edureka
JMeter Interview Questions | Performance Testing Interview Questions | EdurekaEdureka!
 
Context Driven Automation Gtac 2008
Context Driven Automation Gtac 2008Context Driven Automation Gtac 2008
Context Driven Automation Gtac 2008Pete Schneider
 
Interpreting Performance Test Results
Interpreting Performance Test ResultsInterpreting Performance Test Results
Interpreting Performance Test ResultsEric Proegler
 
Run time Verification using formal methods
Run time Verification using formal methodsRun time Verification using formal methods
Run time Verification using formal methodsSulman Ahmed
 
Dependable Systems -Dependability Means (3/16)
Dependable Systems -Dependability Means (3/16)Dependable Systems -Dependability Means (3/16)
Dependable Systems -Dependability Means (3/16)Peter Tröger
 
Fault tolearant system
Fault tolearant systemFault tolearant system
Fault tolearant systemarvinthsaran
 
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
 
Performance Testing from Scratch + JMeter intro
Performance Testing from Scratch + JMeter introPerformance Testing from Scratch + JMeter intro
Performance Testing from Scratch + JMeter introMykola Kovsh
 
Software testing performance testing
Software testing  performance testingSoftware testing  performance testing
Software testing performance testingGaneshKumarKanthiah
 

What's hot (20)

Fault tolerant presentation
Fault tolerant presentationFault tolerant presentation
Fault tolerant presentation
 
Monitoring your physical, virtual and cloud infrastructure with Applications ...
Monitoring your physical, virtual and cloud infrastructure with Applications ...Monitoring your physical, virtual and cloud infrastructure with Applications ...
Monitoring your physical, virtual and cloud infrastructure with Applications ...
 
Performance Requirement Gathering
Performance Requirement GatheringPerformance Requirement Gathering
Performance Requirement Gathering
 
What is maintenance
What is maintenanceWhat is maintenance
What is maintenance
 
Fault tolerance techniques for real time operating system
Fault tolerance techniques for real time operating systemFault tolerance techniques for real time operating system
Fault tolerance techniques for real time operating system
 
Dependable Systems -Fault Tolerance Patterns (4/16)
Dependable Systems -Fault Tolerance Patterns (4/16)Dependable Systems -Fault Tolerance Patterns (4/16)
Dependable Systems -Fault Tolerance Patterns (4/16)
 
Performance testing and_reporting_with_j_meter by Le Van Nghi
Performance testing and_reporting_with_j_meter by  Le Van NghiPerformance testing and_reporting_with_j_meter by  Le Van Nghi
Performance testing and_reporting_with_j_meter by Le Van Nghi
 
SOC Verification using SystemVerilog
SOC Verification using SystemVerilog SOC Verification using SystemVerilog
SOC Verification using SystemVerilog
 
Performance Testing Overview
Performance Testing OverviewPerformance Testing Overview
Performance Testing Overview
 
Multi-Unit Severe Accident Simulation
Multi-Unit Severe Accident SimulationMulti-Unit Severe Accident Simulation
Multi-Unit Severe Accident Simulation
 
JMeter Interview Questions | Performance Testing Interview Questions | Edureka
JMeter Interview Questions | Performance Testing Interview Questions | EdurekaJMeter Interview Questions | Performance Testing Interview Questions | Edureka
JMeter Interview Questions | Performance Testing Interview Questions | Edureka
 
Context Driven Automation Gtac 2008
Context Driven Automation Gtac 2008Context Driven Automation Gtac 2008
Context Driven Automation Gtac 2008
 
Interpreting Performance Test Results
Interpreting Performance Test ResultsInterpreting Performance Test Results
Interpreting Performance Test Results
 
Run time Verification using formal methods
Run time Verification using formal methodsRun time Verification using formal methods
Run time Verification using formal methods
 
Dependable Systems -Dependability Means (3/16)
Dependable Systems -Dependability Means (3/16)Dependable Systems -Dependability Means (3/16)
Dependable Systems -Dependability Means (3/16)
 
Fault tolearant system
Fault tolearant systemFault tolearant system
Fault tolearant system
 
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
 
Manual testing - Introduction to Manual Software testing
Manual testing - Introduction to Manual Software testingManual testing - Introduction to Manual Software testing
Manual testing - Introduction to Manual Software testing
 
Performance Testing from Scratch + JMeter intro
Performance Testing from Scratch + JMeter introPerformance Testing from Scratch + JMeter intro
Performance Testing from Scratch + JMeter intro
 
Software testing performance testing
Software testing  performance testingSoftware testing  performance testing
Software testing performance testing
 

Similar to Good vs power automation frameworks

Architecting for the cloud storage build test
Architecting for the cloud storage build testArchitecting for the cloud storage build test
Architecting for the cloud storage build testLen Bass
 
Scriptless Automation Testing: A Unique Framework To Accelerate Delivery
Scriptless Automation Testing: A Unique Framework To Accelerate DeliveryScriptless Automation Testing: A Unique Framework To Accelerate Delivery
Scriptless Automation Testing: A Unique Framework To Accelerate DeliveryNet Solutions
 
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
 
testing strategies and tactics
 testing strategies and tactics testing strategies and tactics
testing strategies and tacticsPreeti Mishra
 
Automated testing overview
Automated testing overviewAutomated testing overview
Automated testing overviewAlex Pop
 
Ncerc rlmca202 adm m4 ssm
Ncerc rlmca202 adm m4 ssmNcerc rlmca202 adm m4 ssm
Ncerc rlmca202 adm m4 ssmssmarar
 
Software coding & testing, software engineering
Software coding & testing, software engineeringSoftware coding & testing, software engineering
Software coding & testing, software engineeringRupesh Vaishnav
 
Application Performance Tuning Techniques
Application Performance Tuning TechniquesApplication Performance Tuning Techniques
Application Performance Tuning TechniquesRam Nagesh
 
Oracle EBS Production Support - Recommendations
Oracle EBS Production Support - RecommendationsOracle EBS Production Support - Recommendations
Oracle EBS Production Support - RecommendationsVigilant Technologies
 
Automation Tool Overview
Automation Tool OverviewAutomation Tool Overview
Automation Tool OverviewANKUR-BA
 
Automation Tools Overview
Automation Tools OverviewAutomation Tools Overview
Automation Tools OverviewSachin-QA
 
39.Testing-Part3.ppt
39.Testing-Part3.ppt39.Testing-Part3.ppt
39.Testing-Part3.pptSapnaRastogi3
 
Enterprise Application Guidelines
Enterprise Application GuidelinesEnterprise Application Guidelines
Enterprise Application GuidelinesGuru Lakshmeekar B
 
Massimo Rossello Zen And The Art Of Testing
Massimo Rossello   Zen And The Art Of TestingMassimo Rossello   Zen And The Art Of Testing
Massimo Rossello Zen And The Art Of Testingtarvos
 
Integration Testing as Validation and Monitoring
 Integration Testing as Validation and Monitoring Integration Testing as Validation and Monitoring
Integration Testing as Validation and MonitoringMelissa Benua
 
TEST EXECUTION.ppt
TEST EXECUTION.pptTEST EXECUTION.ppt
TEST EXECUTION.pptChayapathiAR
 
Cucumber jvm best practices v3
Cucumber jvm best practices v3Cucumber jvm best practices v3
Cucumber jvm best practices v3Ahmed Misbah
 

Similar to Good vs power automation frameworks (20)

Architecting for the cloud storage build test
Architecting for the cloud storage build testArchitecting for the cloud storage build test
Architecting for the cloud storage build test
 
Scriptless Automation Testing: A Unique Framework To Accelerate Delivery
Scriptless Automation Testing: A Unique Framework To Accelerate DeliveryScriptless Automation Testing: A Unique Framework To Accelerate Delivery
Scriptless Automation Testing: A Unique Framework To Accelerate Delivery
 
unit-5 SPM.pptx
unit-5 SPM.pptxunit-5 SPM.pptx
unit-5 SPM.pptx
 
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!
 
testing strategies and tactics
 testing strategies and tactics testing strategies and tactics
testing strategies and tactics
 
Automated testing overview
Automated testing overviewAutomated testing overview
Automated testing overview
 
Ncerc rlmca202 adm m4 ssm
Ncerc rlmca202 adm m4 ssmNcerc rlmca202 adm m4 ssm
Ncerc rlmca202 adm m4 ssm
 
Software coding & testing, software engineering
Software coding & testing, software engineeringSoftware coding & testing, software engineering
Software coding & testing, software engineering
 
Application Performance Tuning Techniques
Application Performance Tuning TechniquesApplication Performance Tuning Techniques
Application Performance Tuning Techniques
 
Oracle EBS Production Support - Recommendations
Oracle EBS Production Support - RecommendationsOracle EBS Production Support - Recommendations
Oracle EBS Production Support - Recommendations
 
Automation Tool Overview
Automation Tool OverviewAutomation Tool Overview
Automation Tool Overview
 
Automation Tools Overview
Automation Tools OverviewAutomation Tools Overview
Automation Tools Overview
 
Test Automation for QTP
Test Automation for QTPTest Automation for QTP
Test Automation for QTP
 
Test Automation
Test AutomationTest Automation
Test Automation
 
39.Testing-Part3.ppt
39.Testing-Part3.ppt39.Testing-Part3.ppt
39.Testing-Part3.ppt
 
Enterprise Application Guidelines
Enterprise Application GuidelinesEnterprise Application Guidelines
Enterprise Application Guidelines
 
Massimo Rossello Zen And The Art Of Testing
Massimo Rossello   Zen And The Art Of TestingMassimo Rossello   Zen And The Art Of Testing
Massimo Rossello Zen And The Art Of Testing
 
Integration Testing as Validation and Monitoring
 Integration Testing as Validation and Monitoring Integration Testing as Validation and Monitoring
Integration Testing as Validation and Monitoring
 
TEST EXECUTION.ppt
TEST EXECUTION.pptTEST EXECUTION.ppt
TEST EXECUTION.ppt
 
Cucumber jvm best practices v3
Cucumber jvm best practices v3Cucumber jvm best practices v3
Cucumber jvm best practices v3
 

Recently uploaded

(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...gurkirankumar98700
 
Der Spagat zwischen BIAS und FAIRNESS (2024)
Der Spagat zwischen BIAS und FAIRNESS (2024)Der Spagat zwischen BIAS und FAIRNESS (2024)
Der Spagat zwischen BIAS und FAIRNESS (2024)OPEN KNOWLEDGE GmbH
 
chapter--4-software-project-planning.ppt
chapter--4-software-project-planning.pptchapter--4-software-project-planning.ppt
chapter--4-software-project-planning.pptkotipi9215
 
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASE
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASEBATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASE
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASEOrtus Solutions, Corp
 
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...stazi3110
 
Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...
Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...
Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...soniya singh
 
Automate your Kamailio Test Calls - Kamailio World 2024
Automate your Kamailio Test Calls - Kamailio World 2024Automate your Kamailio Test Calls - Kamailio World 2024
Automate your Kamailio Test Calls - Kamailio World 2024Andreas Granig
 
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...MyIntelliSource, Inc.
 
Intelligent Home Wi-Fi Solutions | ThinkPalm
Intelligent Home Wi-Fi Solutions | ThinkPalmIntelligent Home Wi-Fi Solutions | ThinkPalm
Intelligent Home Wi-Fi Solutions | ThinkPalmSujith Sukumaran
 
cybersecurity notes for mca students for learning
cybersecurity notes for mca students for learningcybersecurity notes for mca students for learning
cybersecurity notes for mca students for learningVitsRangannavar
 
Salesforce Certified Field Service Consultant
Salesforce Certified Field Service ConsultantSalesforce Certified Field Service Consultant
Salesforce Certified Field Service ConsultantAxelRicardoTrocheRiq
 
Unit 1.1 Excite Part 1, class 9, cbse...
Unit 1.1 Excite Part 1, class 9, cbse...Unit 1.1 Excite Part 1, class 9, cbse...
Unit 1.1 Excite Part 1, class 9, cbse...aditisharan08
 
KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptx
KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptxKnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptx
KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptxTier1 app
 
What is Fashion PLM and Why Do You Need It
What is Fashion PLM and Why Do You Need ItWhat is Fashion PLM and Why Do You Need It
What is Fashion PLM and Why Do You Need ItWave PLM
 
ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...
ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...
ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...Christina Lin
 
Advancing Engineering with AI through the Next Generation of Strategic Projec...
Advancing Engineering with AI through the Next Generation of Strategic Projec...Advancing Engineering with AI through the Next Generation of Strategic Projec...
Advancing Engineering with AI through the Next Generation of Strategic Projec...OnePlan Solutions
 
The Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdf
The Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdfThe Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdf
The Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdfkalichargn70th171
 
Implementing Zero Trust strategy with Azure
Implementing Zero Trust strategy with AzureImplementing Zero Trust strategy with Azure
Implementing Zero Trust strategy with AzureDinusha Kumarasiri
 
Project Based Learning (A.I).pptx detail explanation
Project Based Learning (A.I).pptx detail explanationProject Based Learning (A.I).pptx detail explanation
Project Based Learning (A.I).pptx detail explanationkaushalgiri8080
 
Professional Resume Template for Software Developers
Professional Resume Template for Software DevelopersProfessional Resume Template for Software Developers
Professional Resume Template for Software DevelopersVinodh Ram
 

Recently uploaded (20)

(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...
 
Der Spagat zwischen BIAS und FAIRNESS (2024)
Der Spagat zwischen BIAS und FAIRNESS (2024)Der Spagat zwischen BIAS und FAIRNESS (2024)
Der Spagat zwischen BIAS und FAIRNESS (2024)
 
chapter--4-software-project-planning.ppt
chapter--4-software-project-planning.pptchapter--4-software-project-planning.ppt
chapter--4-software-project-planning.ppt
 
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASE
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASEBATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASE
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASE
 
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...
 
Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...
Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...
Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...
 
Automate your Kamailio Test Calls - Kamailio World 2024
Automate your Kamailio Test Calls - Kamailio World 2024Automate your Kamailio Test Calls - Kamailio World 2024
Automate your Kamailio Test Calls - Kamailio World 2024
 
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
 
Intelligent Home Wi-Fi Solutions | ThinkPalm
Intelligent Home Wi-Fi Solutions | ThinkPalmIntelligent Home Wi-Fi Solutions | ThinkPalm
Intelligent Home Wi-Fi Solutions | ThinkPalm
 
cybersecurity notes for mca students for learning
cybersecurity notes for mca students for learningcybersecurity notes for mca students for learning
cybersecurity notes for mca students for learning
 
Salesforce Certified Field Service Consultant
Salesforce Certified Field Service ConsultantSalesforce Certified Field Service Consultant
Salesforce Certified Field Service Consultant
 
Unit 1.1 Excite Part 1, class 9, cbse...
Unit 1.1 Excite Part 1, class 9, cbse...Unit 1.1 Excite Part 1, class 9, cbse...
Unit 1.1 Excite Part 1, class 9, cbse...
 
KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptx
KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptxKnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptx
KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptx
 
What is Fashion PLM and Why Do You Need It
What is Fashion PLM and Why Do You Need ItWhat is Fashion PLM and Why Do You Need It
What is Fashion PLM and Why Do You Need It
 
ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...
ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...
ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...
 
Advancing Engineering with AI through the Next Generation of Strategic Projec...
Advancing Engineering with AI through the Next Generation of Strategic Projec...Advancing Engineering with AI through the Next Generation of Strategic Projec...
Advancing Engineering with AI through the Next Generation of Strategic Projec...
 
The Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdf
The Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdfThe Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdf
The Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdf
 
Implementing Zero Trust strategy with Azure
Implementing Zero Trust strategy with AzureImplementing Zero Trust strategy with Azure
Implementing Zero Trust strategy with Azure
 
Project Based Learning (A.I).pptx detail explanation
Project Based Learning (A.I).pptx detail explanationProject Based Learning (A.I).pptx detail explanation
Project Based Learning (A.I).pptx detail explanation
 
Professional Resume Template for Software Developers
Professional Resume Template for Software DevelopersProfessional Resume Template for Software Developers
Professional Resume Template for Software Developers
 

Good vs power automation frameworks

  • 2. Good Test Automation Frameworks • Reliability – Framework must reliably work in all supported capabilities otherwise it becomes un productive • Modularity – For easy maintenance, easy extendibility and for easy understandability • Error Handling and Recovery mechanisms – Must have recovery mechanisms to handle exceptions or failures or hanging issues. – This is mandatory in Endurance , performance , stress and persistence testing. • Reusability – Every module/library should be reusable in many ways. • Reporting – All Testcases marked with PASS/FAIL/ERROR and Failure reason if test fails. • No Testcase order Dependency – Every Testcase should be able to run independently without depending on other Testcase and Each Testcase should not come to initial state at end to achieve this. – Framework should have intelligence for auto identification of configuration in different test cases and should configure only delta configuration between test cases. – It saves test execution time greatly.
  • 3. How good is ‘Good Enough’? • Prolonged Support activity in long run – Typical automation developer spends his 40-50% time on automation support activities (debugging, deployment, Code Updates and code management) after 1 year of script development. – This percentage might increase if you are not using good frameworks. Either automation developer dedicates his/her support activities to some other person or himself/herself spends time. – This simulates saturation for framework features development after certain stage, creates boredom to automation developer and finally kills innovation after certain period. – Mindset of JUST MAINTAIN starts. Solution to this is moving to Power Frameworks rather than stopping at Good Framework • Power Automation Frameworks not only reduces support activities time but also provides some great features in addition to Good framework features. – One Touch Automation deployment – Zero Touch Automation code update – Smart Debugging – Hassle free automation code management for remote device/servers – Multi Threading to reduce test execution time – Hot pluggable interface to third party scripts – Database for results statistics , framework usage statistics Lets Move To Power
  • 4. Terminology alignment • Two Broad types of Automation testing – UI /Web Client Based testing • Typical setup involves one or more web/UI clients and web/UI servers • Controlling clients though pixel references or GUI Object references • Controlling Servers through HTML Posts/Rest API/ SOAP UI e.t.c • Sometimes one need to maintain some automation code at server side to simulate some situations at server side. This is referred as remote server automation code – Embedded Systems testing • Typical setup involves more than one device or equipment • Need to control these devices by executing telnet/ssh/ADB/AT e.t.c commands via serialport/usb/ethernet e.t.c interfaces • Some times you need to maintain code at remote device to maintain context . – Few Examples: Serial Port access on remote equipment, To open windows applications from linux box . This is referred as remote device automation code. • DUT – Device Under Test
  • 5. Power Test Automation Frameworks • One Touch Automation Deployment – Create workspace with single installation script for first time – Framework should automatically detect and install missing libraries or packages for every new framework release without user intervention • Zero Touch Automation Code updates. – All Automation workspaces/test beds must automatically update code base to new recommended Framework release. Note: Not to Latest release. Latest Release may not be recommended • Centralized logging – Every Testcase shall have following Logs • Test case execution flow Logs, low level step flow logs • Application Debug Logs, Automation Debug Logs • Server side execution logs (if your application is server based) • Remote Device Logs (if setup involves some equipment) – These logs must be collected in one log file or accessible from one log file through links. – This is very import feature to reduce debugging efforts.( see next slide for more details)
  • 6. Power Test Automation Frameworks-cont • Smart Debugging – Framework should be marked with step number for all logs mentioned in previous slide for each step. • User must not map different logs time stamps to understand flow. • This is mandatory if framework can handle multiple steps in parallel • Should be able to filter all logs for one particular step when users debugging failed step – Different Users should be able to filter different logs based on their requirement to debug the issue. • Framework Basic User is interested only in execution flow Statements to find out which step failed. • Framework advanced User might be interested in server or remote device logs to understand the issue. • Framework Developer is interested in debug and low level logs also to debug issue • One should not re run the test case for collecting logs. Sometimes it is very difficult to reproduce random bugs. – Auto calculation of execution time for each step and group of steps . • This feature is very useful to find out which step is taking longer period and where to optimize the code. Optimization might require in automation code or in DUT software. – Test data/instance must be captured for every test run • Test cases files, Testsuite file, Test configurations parameters files • Automation framework code revision/version number • This reduces framework developer debug time greatly – To know actual test data at that time of test run to debug easily – Incase of mismatched information between automation user vs developer about test data when debugging issue.
  • 7. Power Test Automation Frameworks-cont • Hassle free automation code management for remote device/servers – All automation code should be maintained at one central location. – Test Controller should push the right code at the time of execution to remote devices/servers based on parameters. – Hassles of automation code updates at multiple devices for every new release will vanish. – Several times automation failures are due to code update mismatches when you have multi equipment environment. • Multi threading – Multiple steps in one Testcase should be able to run in parallel if those steps are not dependent on each other. – Multiple Testcases in one test suite should be able to run in parallel if those test cases are not dependent on each other. – If they are sharing same resource, • Need to protect with semaphores while accessing devices • Need to share Control sessions ( Every remote device/server will have max limit for parallel telnet/SSH e.t.c access) – This feature greatly reduces test execution time. – Some times this feature is mandatory to meet parallel testing requirement. Few Examples below • Data transfer from multiple mobiles at same time • Simultaneous stateful server access – You must store all threads created in framework in global structure to identify threads hanged in case of error
  • 8. Power Test Automation Frameworks-cont • Hot pluggable interface to third party scripts – There could be third party scripts to control some devices. – Sometimes some legacy scripts exists in working conditions which are not part of framework – Some scripts written in different scripting language which are not planned to migrate. – Tester or framework user developed some scripts offline for his/her usage. – Those can be Hot pluggable into Framework. Modules/scripts Need to undergo minimal changes to follow few basic rules defined by framework. • Database for results statistics , framework usage statistics – All Results need to be stored in database with test data & Results. • Software version on DUT, Test suite details , Date the test run , User Details, test bed details, Automation code version, Type of Tests e.t.c . • Every possible detail need to be stored • You need to choose right data base( SQL or no SQL) for your requirement. – This data is very important to understand • Trend analysis of different DUT Software releases • Problems areas in DUT Software releases • Usability of the Automation framework • Where to enhance the framework
  • 9. How good is “Power” Next Generation Automation Frameworks – Power++ comes with A.I. …..Continues Why the heck you require A.I in automation frameworks?? No Framework exists with A.I. as of today See in my next article.