SlideShare a Scribd company logo
1 of 34
FRAMEWORK FOR AUTOMATION
TESTING – PRACTICE SHARING
June 2013
KMS Technology: http://kms-technology.com
AGENDA
Duong Phan – QA Architect
 Introduction
 Challenges and Solutions
 KMS Test Automation Framework
 Advanced Features
Vu Duong – Engineering Manager
 ROI and Metrics
2
KMS TECHNOLOGY OVERVIEW
3
US Company/Passionate Global Workforce
• 400 Resources & Growing in Vietnam and the US
• 160 Testers ~ 50% Workforce
• Proven Leadership Team
World Class Infrastructure
• Built for ISO 27001, Planned Certification in 2013
Best-in-Class SDLC Practices
• CMMI and Agile focus
• QASymphony - Commercial Agile Testing Solutions
recognized by Forrester with over 4,500 users
Best Clients – Raving Fans
• 100% Referenceable and Ecstatic
• 100% in long-term dedicated team
A CASE STUDY
4
About the Client
is a leader in eCommerce software and
solutions, Provide multifaceted
eCommerce platform, reliable 24/7/365
service, scalable IT infrastructure,
integration with third party, and custom-
built features, Serve over 160 retail sites
Technology:
 Platform: Windows XP, Windows 7,
Linux, OSX, iOS and Android.
 Technology: Java, .NET/C#, Oracle
 Testing Tools: JIRA, Testlink, KMS
Automation Framework
Achievements
 KMS is responsible for automation of
client Core Platform Product and also for
distribution platforms
 Reusable Automation Framework can
stand independent with KMS run-time
plug-in (support web testing) although
can adapt other tools (Selenium)
 Framework support multiple OS:
Windows, Linux and OSX, iOS and
Android
 Execute test daily, Automation script is
able to find a lot of defects
Confidential
Automation Goals
 Reduce cost of development and quality
assurance
 Continuous platform upgrade to provide
new features and patch releases
 Testing is performed on core platform
and more than 200 of distributions
 Testing on many browsers (IE, Firefox,
Chrome, Safari)
CHALLENGES AND OUTCOMES
 Project Specification
 Multiple Instance Application Types
 Flexible Components
 Regular Sanity Test
 Automation must find bugs
 Customer Satisfaction
 Cost Saving
 Product Quality Improvement
 Bug Escape Reduction
5
KEY FEATURES…
Framework using Excel as Scripting tool
• Easy to use and learn
• Easy to apply Data Driven and Keyword Driven ideas
Prototype plug-in
• Able to develop wrapper plug-in with several tools
• One script can run under any plug-ins
Log System
• General report and log types
• History report
6
KMS TEST AUTOMATION FRAMEWORK
7
EXECUTION MODEL AND PLUG-INS
8
SCRIPTING
9
© 2013 KMS Technology
ADVANCED FEATURES
SMART OBJECT RECOGNITION
Multiple GUI instances
 1 GUI for many kinds of instance objects, apply for multi
sites product
 Example: 1 gui object txt_Email may be detect for 4 sites (gmail,
yahoo mail, facebook, Linkedin)
11
KEYWORD DRIVEN - FLEXIBLE REUSABILITY
12
 A library can use other libraries
 Test case can use any library
 Test case can call other test cases
 Data-driven on test case calls test cases
DATA DRIVEN - FLEXIBLE CONFIGURATION
13
 Multiple Datasets
DATA DRIVEN - FLEXIBLE CONFIGURATION
14
 Able to switch runtime engines
 Sample case
• Configure steps in IE
• Execute some steps in Firefox
• Verify result steps on Chrome
LOG AND REPORT
15
LOG AND REPORT
History report (excel, html and email)
 Helpful to follow bug fixing
 HTML format can be opened anywhere
 Email (HTML format) is portable
Various type of reports/logs
 Statistic of result
 Detail report/log
 HTML / Excel format report
 Reminders
 Send email notification
 Define groups to send notification
16
LOG AND REPORT
 Follow Drill-down idea
History Report  Step report  Detail report
17
© 2013 KMS Technology
ROI & METRICS
VU DUONG
ROI – WHAT?
19
ROI – WHAT?
20
ROI – WHY?
21
ROI – WHY?
22
ROI – HOW?
23
ROI ANALYSIS OVERVIEW
24
To calculate ROI, the benefit (return) of an
investment is divided by the cost of the
investment; the result is expressed as a
Percentage or a Ratio.
ROI – BEST PRACTICE
25
 ROI (Effort)
 ROI (Cost)
ROI - EFFORT
26
ESV (Effort saved from using
automation)
ROI (effort) = ------- = (-------------------------------------------------
)
ESP (Effort involved in automation)
 ESV = Effort saved as a result of test execution using automation (in
hours)
 ESP = Effort involved in automation like: Framework Development,
Automation Scripts Development, Automated Script Execution,
Automation Scripts Maintenance, Automation Training …
ROI ANALYSIS – EFFORT
27
 Parameters:
ROI ANALYSIS – EFFORT
28
Pay-Back Period (Effort)
ROI ANALYSIS – COST
29
Parameters:
ROI ANALYSIS – COST
30
Pay-Back Period (Cost)
METRICS
31
METRICS – EFFORT/COST
32
 Metrics for Effort/Cost
 Running Time Per Month
 Critical/High Defect Per Component
 Critical/High Defect Per Month
METRICS – QUALITY
33
 Metrics for Quality
 Defect Escape
 % Automation Coverage Per Sites/Features
 Defect Found by Automation
 Defect Rate (Compare with Manual)
 …….
© 2013 KMS Technology
THANK YOU
34

More Related Content

What's hot

Behavior Driven Development and Automation Testing Using Cucumber
Behavior Driven Development and Automation Testing Using CucumberBehavior Driven Development and Automation Testing Using Cucumber
Behavior Driven Development and Automation Testing Using Cucumber
KMS Technology
 
Final Automation Testing
Final Automation TestingFinal Automation Testing
Final Automation Testing
priya_trivedi
 

What's hot (20)

BDD WITH CUCUMBER AND JAVA
BDD WITH CUCUMBER AND JAVABDD WITH CUCUMBER AND JAVA
BDD WITH CUCUMBER AND JAVA
 
Automated Testing with Agile
Automated Testing with AgileAutomated Testing with Agile
Automated Testing with Agile
 
Automation With A Tool Demo
Automation With A Tool DemoAutomation With A Tool Demo
Automation With A Tool Demo
 
Introduction to Automation Testing
Introduction to Automation TestingIntroduction to Automation Testing
Introduction to Automation Testing
 
Jenkins tutorial
Jenkins tutorialJenkins tutorial
Jenkins tutorial
 
Integrating Automated Testing into DevOps
Integrating Automated Testing into DevOpsIntegrating Automated Testing into DevOps
Integrating Automated Testing into DevOps
 
Test automation framework
Test automation frameworkTest automation framework
Test automation framework
 
Test Automation Strategies For Agile
Test Automation Strategies For AgileTest Automation Strategies For Agile
Test Automation Strategies For Agile
 
Agile testing - Testing From Day 1
Agile testing - Testing From Day 1Agile testing - Testing From Day 1
Agile testing - Testing From Day 1
 
Hybrid Automation Framework Development introduction
Hybrid Automation Framework Development introductionHybrid Automation Framework Development introduction
Hybrid Automation Framework Development introduction
 
Behavior Driven Development and Automation Testing Using Cucumber
Behavior Driven Development and Automation Testing Using CucumberBehavior Driven Development and Automation Testing Using Cucumber
Behavior Driven Development and Automation Testing Using Cucumber
 
TDD and BDD and ATDD
TDD and BDD and ATDDTDD and BDD and ATDD
TDD and BDD and ATDD
 
Introduction to Software Test Automation
Introduction to Software Test AutomationIntroduction to Software Test Automation
Introduction to Software Test Automation
 
Final Automation Testing
Final Automation TestingFinal Automation Testing
Final Automation Testing
 
Test Automation Framework Development Introduction
Test Automation Framework Development IntroductionTest Automation Framework Development Introduction
Test Automation Framework Development Introduction
 
Scrum gathering Paris 2013 - test automation strategy for Scrum Projects
Scrum gathering Paris 2013 -  test automation strategy for Scrum ProjectsScrum gathering Paris 2013 -  test automation strategy for Scrum Projects
Scrum gathering Paris 2013 - test automation strategy for Scrum Projects
 
CI CD Pipeline Using Jenkins | Continuous Integration and Deployment | DevOps...
CI CD Pipeline Using Jenkins | Continuous Integration and Deployment | DevOps...CI CD Pipeline Using Jenkins | Continuous Integration and Deployment | DevOps...
CI CD Pipeline Using Jenkins | Continuous Integration and Deployment | DevOps...
 
ISTQB Foundation Level Basic
ISTQB Foundation Level BasicISTQB Foundation Level Basic
ISTQB Foundation Level Basic
 
Automation testing & Unit testing
Automation testing & Unit testingAutomation testing & Unit testing
Automation testing & Unit testing
 
Test Automation Framework with BDD and Cucumber
Test Automation Framework with BDD and CucumberTest Automation Framework with BDD and Cucumber
Test Automation Framework with BDD and Cucumber
 

Viewers also liked

Technology Application Development Trends For IT Students
Technology Application Development Trends For IT StudentsTechnology Application Development Trends For IT Students
Technology Application Development Trends For IT Students
KMS Technology
 

Viewers also liked (20)

Technology Trends and Big Data in 2013-2014
Technology Trends and Big Data in 2013-2014Technology Trends and Big Data in 2013-2014
Technology Trends and Big Data in 2013-2014
 
Technology Application Development Trends For IT Students
Technology Application Development Trends For IT StudentsTechnology Application Development Trends For IT Students
Technology Application Development Trends For IT Students
 
Technology Trends 2013-2014 at HUI
Technology Trends 2013-2014 at HUITechnology Trends 2013-2014 at HUI
Technology Trends 2013-2014 at HUI
 
JavaScript No longer A “toy” Language
JavaScript No longer A “toy” LanguageJavaScript No longer A “toy” Language
JavaScript No longer A “toy” Language
 
KMS' Stories
KMS' StoriesKMS' Stories
KMS' Stories
 
Caching and IPC with Redis
Caching and IPC with RedisCaching and IPC with Redis
Caching and IPC with Redis
 
Cross platform mobile development with Corona
Cross platform mobile development with CoronaCross platform mobile development with Corona
Cross platform mobile development with Corona
 
KMS story and How Vietnam to export software outsourcing services or build so...
KMS story and How Vietnam to export software outsourcing services or build so...KMS story and How Vietnam to export software outsourcing services or build so...
KMS story and How Vietnam to export software outsourcing services or build so...
 
Git - Boost Your DEV Team Speed and Productivity
Git - Boost Your DEV Team Speed and ProductivityGit - Boost Your DEV Team Speed and Productivity
Git - Boost Your DEV Team Speed and Productivity
 
Amazon web services
Amazon web servicesAmazon web services
Amazon web services
 
About KMS Technology - Updated on July 2013
About KMS Technology - Updated on July 2013About KMS Technology - Updated on July 2013
About KMS Technology - Updated on July 2013
 
KMS Introduction
KMS IntroductionKMS Introduction
KMS Introduction
 
Increase Chances to Be Hired as Software Developers - 2014
Increase Chances to Be Hired as Software Developers - 2014Increase Chances to Be Hired as Software Developers - 2014
Increase Chances to Be Hired as Software Developers - 2014
 
Contributors for Delivering a Successful Testing Project Seminar
Contributors for Delivering a Successful Testing Project SeminarContributors for Delivering a Successful Testing Project Seminar
Contributors for Delivering a Successful Testing Project Seminar
 
Mobile Development Career
Mobile Development CareerMobile Development Career
Mobile Development Career
 
Developing Apps for Windows Phone 8
Developing Apps for Windows Phone 8Developing Apps for Windows Phone 8
Developing Apps for Windows Phone 8
 
What's new in the Front-end development nowadays?
What's new in the Front-end development nowadays?What's new in the Front-end development nowadays?
What's new in the Front-end development nowadays?
 
Big Data Overview 2013-2014
Big Data Overview 2013-2014Big Data Overview 2013-2014
Big Data Overview 2013-2014
 
Cross Platform Mobile Development with C# and Xamarin
Cross Platform Mobile Development with C# and XamarinCross Platform Mobile Development with C# and Xamarin
Cross Platform Mobile Development with C# and Xamarin
 
Preparations For A Successful Interview
Preparations For A Successful InterviewPreparations For A Successful Interview
Preparations For A Successful Interview
 

Similar to Framework For Automation Testing Practice Sharing

Naveen_Resume1
Naveen_Resume1Naveen_Resume1
Naveen_Resume1
Naveen K K
 
Ags Corporate Presentation
Ags Corporate PresentationAgs Corporate Presentation
Ags Corporate Presentation
parksonshih
 
Curiosity Software, Infuse and Kumoco present: The Democratisation of Testing
Curiosity Software, Infuse and Kumoco present: The Democratisation of TestingCuriosity Software, Infuse and Kumoco present: The Democratisation of Testing
Curiosity Software, Infuse and Kumoco present: The Democratisation of Testing
Curiosity Software Ireland
 

Similar to Framework For Automation Testing Practice Sharing (20)

Oak Systems - When you build Software, we build Quality in it
Oak Systems - When you build Software, we build Quality in it Oak Systems - When you build Software, we build Quality in it
Oak Systems - When you build Software, we build Quality in it
 
Bangalore based Test automation and Testing service Company - Oak Systems Pvt...
Bangalore based Test automation and Testing service Company - Oak Systems Pvt...Bangalore based Test automation and Testing service Company - Oak Systems Pvt...
Bangalore based Test automation and Testing service Company - Oak Systems Pvt...
 
Xenon: Jade Automation Solution Automation | Testing Tools | Agile Test Autom...
Xenon: Jade Automation Solution Automation | Testing Tools | Agile Test Autom...Xenon: Jade Automation Solution Automation | Testing Tools | Agile Test Autom...
Xenon: Jade Automation Solution Automation | Testing Tools | Agile Test Autom...
 
Transform Software Testing and Quality with the Neotys-Inflectra Platform
Transform Software Testing and Quality with the Neotys-Inflectra PlatformTransform Software Testing and Quality with the Neotys-Inflectra Platform
Transform Software Testing and Quality with the Neotys-Inflectra Platform
 
UiPath Test Suite Automation and Oracle Cloud ERP and E-Business Suite Use Cases
UiPath Test Suite Automation and Oracle Cloud ERP and E-Business Suite Use CasesUiPath Test Suite Automation and Oracle Cloud ERP and E-Business Suite Use Cases
UiPath Test Suite Automation and Oracle Cloud ERP and E-Business Suite Use Cases
 
Eliminate up to 70% of Your Test Automation Costs
Eliminate up to 70% of Your Test Automation CostsEliminate up to 70% of Your Test Automation Costs
Eliminate up to 70% of Your Test Automation Costs
 
Intelligent Test Automation with Provar.pdf
Intelligent Test Automation with Provar.pdfIntelligent Test Automation with Provar.pdf
Intelligent Test Automation with Provar.pdf
 
20070925 03 - La qualimétrie en environnement industriel (Schneider automation)
20070925 03 - La qualimétrie en environnement industriel (Schneider automation)20070925 03 - La qualimétrie en environnement industriel (Schneider automation)
20070925 03 - La qualimétrie en environnement industriel (Schneider automation)
 
Performance Engineering Basics
Performance Engineering BasicsPerformance Engineering Basics
Performance Engineering Basics
 
Naveen_Resume1
Naveen_Resume1Naveen_Resume1
Naveen_Resume1
 
UiPath Amsterdam DEV meet-up For Developers, By Developers
UiPath Amsterdam DEV meet-up For Developers, By DevelopersUiPath Amsterdam DEV meet-up For Developers, By Developers
UiPath Amsterdam DEV meet-up For Developers, By Developers
 
Selenium Tutorial for Beginners | Automation framework Basics
Selenium Tutorial for Beginners | Automation framework BasicsSelenium Tutorial for Beginners | Automation framework Basics
Selenium Tutorial for Beginners | Automation framework Basics
 
Modernizing Testing as Apps Re-Architect
Modernizing Testing as Apps Re-ArchitectModernizing Testing as Apps Re-Architect
Modernizing Testing as Apps Re-Architect
 
Enterprise QA and Application Testing Services
Enterprise QA and Application Testing ServicesEnterprise QA and Application Testing Services
Enterprise QA and Application Testing Services
 
Enterprise QA and Application Testing Services
Enterprise QA and Application Testing ServicesEnterprise QA and Application Testing Services
Enterprise QA and Application Testing Services
 
A more successful model for multi-shore testing
A more successful model for multi-shore testingA more successful model for multi-shore testing
A more successful model for multi-shore testing
 
Ags Corporate Presentation
Ags Corporate PresentationAgs Corporate Presentation
Ags Corporate Presentation
 
Curiosity Software, Infuse and Kumoco present: The Democratisation of Testing
Curiosity Software, Infuse and Kumoco present: The Democratisation of TestingCuriosity Software, Infuse and Kumoco present: The Democratisation of Testing
Curiosity Software, Infuse and Kumoco present: The Democratisation of Testing
 
Open-Do - Initial concepts and idea
Open-Do - Initial concepts and ideaOpen-Do - Initial concepts and idea
Open-Do - Initial concepts and idea
 
Automation Framework Presentation
Automation Framework PresentationAutomation Framework Presentation
Automation Framework Presentation
 

More from KMS Technology

Introduction To Single Page Application
Introduction To Single Page ApplicationIntroduction To Single Page Application
Introduction To Single Page Application
KMS Technology
 

More from KMS Technology (16)

A journey to a Full Stack Tester
A journey to a Full Stack Tester A journey to a Full Stack Tester
A journey to a Full Stack Tester
 
React & Redux, how to scale?
React & Redux, how to scale?React & Redux, how to scale?
React & Redux, how to scale?
 
Sexy React Stack
Sexy React StackSexy React Stack
Sexy React Stack
 
Common design principles and design patterns in automation testing
Common design principles and design patterns in automation testingCommon design principles and design patterns in automation testing
Common design principles and design patterns in automation testing
 
[Webinar] Test First, Fail Fast - Simplifying the Tester's Transition to DevOps
[Webinar] Test First, Fail Fast - Simplifying the Tester's Transition to DevOps[Webinar] Test First, Fail Fast - Simplifying the Tester's Transition to DevOps
[Webinar] Test First, Fail Fast - Simplifying the Tester's Transition to DevOps
 
KMSNext Roadmap
KMSNext RoadmapKMSNext Roadmap
KMSNext Roadmap
 
JavaScript - No Longer A Toy Language
JavaScript - No Longer A Toy LanguageJavaScript - No Longer A Toy Language
JavaScript - No Longer A Toy Language
 
Introduction To Single Page Application
Introduction To Single Page ApplicationIntroduction To Single Page Application
Introduction To Single Page Application
 
AWS: Scaling With Elastic Beanstalk
AWS: Scaling With Elastic BeanstalkAWS: Scaling With Elastic Beanstalk
AWS: Scaling With Elastic Beanstalk
 
Behavior-Driven Development and Automation Testing Using Cucumber Framework W...
Behavior-Driven Development and Automation Testing Using Cucumber Framework W...Behavior-Driven Development and Automation Testing Using Cucumber Framework W...
Behavior-Driven Development and Automation Testing Using Cucumber Framework W...
 
KMS Introduction
KMS IntroductionKMS Introduction
KMS Introduction
 
Software Technology Trends in 2013-2014
Software Technology Trends in 2013-2014Software Technology Trends in 2013-2014
Software Technology Trends in 2013-2014
 
Cross-platform Mobile Development with C# and Xamarin Webinar
Cross-platform Mobile Development with C# and Xamarin WebinarCross-platform Mobile Development with C# and Xamarin Webinar
Cross-platform Mobile Development with C# and Xamarin Webinar
 
Software Testing Process & Trend
Software Testing Process & TrendSoftware Testing Process & Trend
Software Testing Process & Trend
 
Become Software Tester or Developer
Become Software Tester or DeveloperBecome Software Tester or Developer
Become Software Tester or Developer
 
Software Technology Trends
Software Technology TrendsSoftware Technology Trends
Software Technology Trends
 

Recently uploaded

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
Safe Software
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
panagenda
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Victor Rentea
 

Recently uploaded (20)

Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
 
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
 
Cyberprint. Dark Pink Apt Group [EN].pdf
Cyberprint. Dark Pink Apt Group [EN].pdfCyberprint. Dark Pink Apt Group [EN].pdf
Cyberprint. Dark Pink Apt Group [EN].pdf
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptx
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
 
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
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
Ransomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdfRansomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdf
 
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamDEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
 
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
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
 

Framework For Automation Testing Practice Sharing

  • 1. FRAMEWORK FOR AUTOMATION TESTING – PRACTICE SHARING June 2013 KMS Technology: http://kms-technology.com
  • 2. AGENDA Duong Phan – QA Architect  Introduction  Challenges and Solutions  KMS Test Automation Framework  Advanced Features Vu Duong – Engineering Manager  ROI and Metrics 2
  • 3. KMS TECHNOLOGY OVERVIEW 3 US Company/Passionate Global Workforce • 400 Resources & Growing in Vietnam and the US • 160 Testers ~ 50% Workforce • Proven Leadership Team World Class Infrastructure • Built for ISO 27001, Planned Certification in 2013 Best-in-Class SDLC Practices • CMMI and Agile focus • QASymphony - Commercial Agile Testing Solutions recognized by Forrester with over 4,500 users Best Clients – Raving Fans • 100% Referenceable and Ecstatic • 100% in long-term dedicated team
  • 4. A CASE STUDY 4 About the Client is a leader in eCommerce software and solutions, Provide multifaceted eCommerce platform, reliable 24/7/365 service, scalable IT infrastructure, integration with third party, and custom- built features, Serve over 160 retail sites Technology:  Platform: Windows XP, Windows 7, Linux, OSX, iOS and Android.  Technology: Java, .NET/C#, Oracle  Testing Tools: JIRA, Testlink, KMS Automation Framework Achievements  KMS is responsible for automation of client Core Platform Product and also for distribution platforms  Reusable Automation Framework can stand independent with KMS run-time plug-in (support web testing) although can adapt other tools (Selenium)  Framework support multiple OS: Windows, Linux and OSX, iOS and Android  Execute test daily, Automation script is able to find a lot of defects Confidential Automation Goals  Reduce cost of development and quality assurance  Continuous platform upgrade to provide new features and patch releases  Testing is performed on core platform and more than 200 of distributions  Testing on many browsers (IE, Firefox, Chrome, Safari)
  • 5. CHALLENGES AND OUTCOMES  Project Specification  Multiple Instance Application Types  Flexible Components  Regular Sanity Test  Automation must find bugs  Customer Satisfaction  Cost Saving  Product Quality Improvement  Bug Escape Reduction 5
  • 6. KEY FEATURES… Framework using Excel as Scripting tool • Easy to use and learn • Easy to apply Data Driven and Keyword Driven ideas Prototype plug-in • Able to develop wrapper plug-in with several tools • One script can run under any plug-ins Log System • General report and log types • History report 6
  • 7. KMS TEST AUTOMATION FRAMEWORK 7
  • 8. EXECUTION MODEL AND PLUG-INS 8
  • 10. © 2013 KMS Technology ADVANCED FEATURES
  • 11. SMART OBJECT RECOGNITION Multiple GUI instances  1 GUI for many kinds of instance objects, apply for multi sites product  Example: 1 gui object txt_Email may be detect for 4 sites (gmail, yahoo mail, facebook, Linkedin) 11
  • 12. KEYWORD DRIVEN - FLEXIBLE REUSABILITY 12  A library can use other libraries  Test case can use any library  Test case can call other test cases  Data-driven on test case calls test cases
  • 13. DATA DRIVEN - FLEXIBLE CONFIGURATION 13  Multiple Datasets
  • 14. DATA DRIVEN - FLEXIBLE CONFIGURATION 14  Able to switch runtime engines  Sample case • Configure steps in IE • Execute some steps in Firefox • Verify result steps on Chrome
  • 16. LOG AND REPORT History report (excel, html and email)  Helpful to follow bug fixing  HTML format can be opened anywhere  Email (HTML format) is portable Various type of reports/logs  Statistic of result  Detail report/log  HTML / Excel format report  Reminders  Send email notification  Define groups to send notification 16
  • 17. LOG AND REPORT  Follow Drill-down idea History Report  Step report  Detail report 17
  • 18. © 2013 KMS Technology ROI & METRICS VU DUONG
  • 24. ROI ANALYSIS OVERVIEW 24 To calculate ROI, the benefit (return) of an investment is divided by the cost of the investment; the result is expressed as a Percentage or a Ratio.
  • 25. ROI – BEST PRACTICE 25  ROI (Effort)  ROI (Cost)
  • 26. ROI - EFFORT 26 ESV (Effort saved from using automation) ROI (effort) = ------- = (------------------------------------------------- ) ESP (Effort involved in automation)  ESV = Effort saved as a result of test execution using automation (in hours)  ESP = Effort involved in automation like: Framework Development, Automation Scripts Development, Automated Script Execution, Automation Scripts Maintenance, Automation Training …
  • 27. ROI ANALYSIS – EFFORT 27  Parameters:
  • 28. ROI ANALYSIS – EFFORT 28 Pay-Back Period (Effort)
  • 29. ROI ANALYSIS – COST 29 Parameters:
  • 30. ROI ANALYSIS – COST 30 Pay-Back Period (Cost)
  • 32. METRICS – EFFORT/COST 32  Metrics for Effort/Cost  Running Time Per Month  Critical/High Defect Per Component  Critical/High Defect Per Month
  • 33. METRICS – QUALITY 33  Metrics for Quality  Defect Escape  % Automation Coverage Per Sites/Features  Defect Found by Automation  Defect Rate (Compare with Manual)  …….
  • 34. © 2013 KMS Technology THANK YOU 34

Editor's Notes

  1. BackGround about project technologyHard case to Challenge case -> Advantage features
  2. Configuration declare in dataset, Able to switch runtime engine while runningExecution Plug-insFramework provide template (API template or format)Plug-in can be developed separatelyPlug-in can be loaded independent AdvantageOne script able to run on several Application Under TestEasier to adapter with big changes of productEasier to adapter with new toolsExtensibility
  3. Why scripts are using Excel?Consider effort to convert manual steps to automation stepsNeed to reduce effort by reusable functions or libraryExcel is a good choice for Data Driven and Keyword Driven1st Generation – Record and Playback2nd Generation – Use/reuse of functions in test scripts3rd Generation – Data Driven scripts/functions4th Generation – Action word (keyword) scripts/functions5th Generation – Script less Automation
  4. Focus multi site
  5. Test case dependent , advance that test case call test caseData flow in keyword driven to support test case call test case as child steps
  6. Highlight Log/Debug component
  7. Talk more about the challenge before starting: - Question on theirs clients MKL’s product is running on multiple browser Tools selection
  8. Asking for some customer
  9. ROI (effort):o   = 1 indicates: There is no human effort saved as a result of test automation.o   > 1 indicates: All other factors remaining constant, it is worth automating the application testing.o   < 1 indicates: Effort saved as a result of test automation is not high enough to justify effort spent on automation implementation.
  10. Diem hoa von
  11. ----- Meeting Notes (6/4/13 16:44) ------ Consider on Cost & Licencing- Customer with strickly budget
  12. ----- Meeting Notes (6/4/13 16:44) ------ Consider on Cost & Licencing- Customer with strickly budget