SlideShare a Scribd company logo
1 of 11
Laying the Foundation
for Enduring Success
Part2: Building An Automation Framework
Software Development Life Cycle
Requirements Tests Defects
What do we
make and how
should it
behave
Make sure it
works as
stated in the
Requirement
Definition Sets Environments
Actual Results
do not equal
Expected
Results
What is a Test Framework?
ATestFramework:
• LinksteststootherSDLCitems
• IsNOTaTestAutomationFrameworkbutoftencontainsone
• Allowsforrapidcreationoftestsfromreusablecomponents
• Separatesdatafromlogic(REUSABILITY)
• Providesastandardizedtest“language”andreportingstructureforanapplicationundertest
1. Define 2. Decompose 3. Decide
1
A Quick Introduction
I am a veteran of software development covering a wide range
of disciplines. While studying Computer Information Systems
and later Computer Science at Missouri State University I got an
early start to my career by being QA Analyst for Black Lantern
Studios, testing video games for various platforms. My 8-year
tenure at BLS saw my growth into a QA Lead, and eventually a
project manager. During this time my day-to-day role varied
between, test management, project management, design, and
level scripting. In March 2015, I started at O'Reilly as a QA
Automation developer. The automation department was very
young at the time and I was an integral part of selecting an
automation tool (Test Complete) and developing a set of
standards and frameworks which lead to my current position of
QA Automation Supervisor. Connect with me on LinkedIn:
https://www.linkedin.com/in/cunderw/
Getting Started
• Setupandorganizesourcecontrol
• Keepdifferentassetsseparate
• CreateTemplateprojecttoclonefrom
• Createthefilesyouknowyouwillneed
• Makesureyourassetsaresetupinawaytobereferencednotlocal(allowsupdatestokeepALLtestsstable)
• Familiarizeyourselfwiththeapplication
• Dosomeexploratorytesting
• Startcreatingsomebasicnamemapping(orobjectidentificationviascript)
• Takenotesforwhatyourrequirementswillbeandhowyourautomationassetswilltestthis
Environment / Data
• Environment
• Thisincludessettingconfigsforbeingabletoruninmorethanoneenvironment(dev,test,prod,etc…)
• Eventhandlersareyourfriend
• Setup/teardown
• Opening/Closingyourapplication
• Otherusefulutilities,documentandincludeyourloggingfromthestart
• Getasmoketestprojectsetup–thatisgoingtobethemostusedandimportantsetoftestsyouwilluseand
we’llusethissoontovalidateourutilitiesandmakeatestatthesametime
• Data
• Keepyourpropertiesandreferencesgenericandnotindividualtestspecific
• Allowyourdataobjectstobesharedbetweenscripts
On Screen Actions
• Lettheframeworkhandlethese
• Createsharedutilitiesforcommonactionslikemenunavigation,textinput,etc…
• Thesearethebuildingblockofatest,onceyouhavethemsetupcreatingatestisassimpleasdraggingthings
intoakeywordtest
• Allowsyouframeworktodriveyourflowandverificationssothatminimalmaintenancetoindividualtestsis
required
• Useclassestodriveyouronscreenobjectstokeeploggingconsistent
• Supportyouralreadycreateddataobjects
• Inpututilitiesshouldbeabletoacceptdataobjectscreatedinthepreviousstepssoyoucanchainthings
together
• Thisiswhyit’simportanttoabstractyourframeworkdatafromtheactualtestdata
Verifications
• BuildUIverificationsintoyouractions
• Allowyouractionsutilitiestoverifytheiractions
• Allowsyoutoupdateinonceplaceandkeepyourtestsstable
• Makethemoptional,ifwehaveatestthatverifiesafieldacceptsinputproperlyanditpassesthereisnoneed
toverifythateverysingletime
• Buildyourdataverificationsaroundyourdataobjects
• Againwe’retryingtoreducemaintenanceandmaketestcreationeasier
• Thesamedataobjectswecreatedbefore,usethoseforallofyourverifications
Logging & Reporting
• Customizeyourlogging
• Logmessagesbeforeverificationsstatingwhatyou’reverifyingandit’sexpectedresult
• Makeithumanreadable,non-technicalusersshouldbeabletolookatyourlogandknowexactlywhereand
whyafailureoccurredandnothavetoguesswhythereisanerrorthatiscriptic
• Ifyouhavefollowedeverythingelseyouractions,dataprep,environmentandverificationsshouldallbeusing
aconsistentloggingstructurealready
• Logfoldersareyourfriend
• Reporting
• Automateyourreportingtoo
• Sendemails
• Exportthelogstoacommonplace
More: https://github.com/cunderw/smartbear-november
Join us at 8:00 AM | 2:00 PM EDT
November 14th
https://smartbear.com/resources/webinars/open-source-testing-frameworks/
Dan Giordano
SmartBear Testing Framework Webinar Series
Part 3: The Growing Trend of Open Source Testing Frameworks
Thank you!
https://github.com/cunderw/smartbear-november

More Related Content

What's hot

Performance Testing
Performance TestingPerformance Testing
Performance TestingSelin Gungor
 
Test Automation Best Practices (with SOA test approach)
Test Automation Best Practices (with SOA test approach)Test Automation Best Practices (with SOA test approach)
Test Automation Best Practices (with SOA test approach)Leonard Fingerman
 
Software Characterization & Performance Testing - Beat Your Software with a S...
Software Characterization & Performance Testing - Beat Your Software with a S...Software Characterization & Performance Testing - Beat Your Software with a S...
Software Characterization & Performance Testing - Beat Your Software with a S...Tze Chin Tang
 
Manual testing
Manual testingManual testing
Manual testingVivek V
 
Testing automation in agile environment
Testing automation in agile environmentTesting automation in agile environment
Testing automation in agile environmentPerfecto Mobile
 
Basics of Automation & Manual Software Testing
Basics of Automation & Manual Software TestingBasics of Automation & Manual Software Testing
Basics of Automation & Manual Software TestingGusani Tech Ideation
 
What is Integration Testing? | Edureka
What is Integration Testing? | EdurekaWhat is Integration Testing? | Edureka
What is Integration Testing? | EdurekaEdureka!
 
Software Testing As a Career Path
Software Testing As a Career PathSoftware Testing As a Career Path
Software Testing As a Career PathRock Interview
 
Qa process 2012
Qa process 2012Qa process 2012
Qa process 2012ashokack
 
6 Traits of a Successful Test Automation Architecture
6 Traits of a Successful Test Automation Architecture6 Traits of a Successful Test Automation Architecture
6 Traits of a Successful Test Automation ArchitectureErdem YILDIRIM
 
Manual testing-training-institute-in-marathahalli
Manual testing-training-institute-in-marathahalliManual testing-training-institute-in-marathahalli
Manual testing-training-institute-in-marathahallisiyaram ray
 
Test automation
Test automationTest automation
Test automationXavier Yin
 
Test Automation Strategies For Agile
Test Automation Strategies For AgileTest Automation Strategies For Agile
Test Automation Strategies For AgileNaresh Jain
 
Building a Test Automation Strategy for Success
Building a Test Automation Strategy for SuccessBuilding a Test Automation Strategy for Success
Building a Test Automation Strategy for SuccessLee Barnes
 
Defects in software testing
Defects in software testingDefects in software testing
Defects in software testingsandeepsingh2808
 
A Concise QA Process
A Concise QA Process A Concise QA Process
A Concise QA Process Arslan Ali
 

What's hot (19)

Performance Testing
Performance TestingPerformance Testing
Performance Testing
 
Test Automation Best Practices (with SOA test approach)
Test Automation Best Practices (with SOA test approach)Test Automation Best Practices (with SOA test approach)
Test Automation Best Practices (with SOA test approach)
 
Software Characterization & Performance Testing - Beat Your Software with a S...
Software Characterization & Performance Testing - Beat Your Software with a S...Software Characterization & Performance Testing - Beat Your Software with a S...
Software Characterization & Performance Testing - Beat Your Software with a S...
 
Manual testing
Manual testingManual testing
Manual testing
 
Testing automation in agile environment
Testing automation in agile environmentTesting automation in agile environment
Testing automation in agile environment
 
Basics of Automation & Manual Software Testing
Basics of Automation & Manual Software TestingBasics of Automation & Manual Software Testing
Basics of Automation & Manual Software Testing
 
What is Integration Testing? | Edureka
What is Integration Testing? | EdurekaWhat is Integration Testing? | Edureka
What is Integration Testing? | Edureka
 
Software testing career
Software testing careerSoftware testing career
Software testing career
 
Software Testing As a Career Path
Software Testing As a Career PathSoftware Testing As a Career Path
Software Testing As a Career Path
 
Qa process 2012
Qa process 2012Qa process 2012
Qa process 2012
 
6 Traits of a Successful Test Automation Architecture
6 Traits of a Successful Test Automation Architecture6 Traits of a Successful Test Automation Architecture
6 Traits of a Successful Test Automation Architecture
 
Manual testing-training-institute-in-marathahalli
Manual testing-training-institute-in-marathahalliManual testing-training-institute-in-marathahalli
Manual testing-training-institute-in-marathahalli
 
Test automation
Test automationTest automation
Test automation
 
Test Automation Strategies For Agile
Test Automation Strategies For AgileTest Automation Strategies For Agile
Test Automation Strategies For Agile
 
Test Driven Development
Test Driven DevelopmentTest Driven Development
Test Driven Development
 
Building a Test Automation Strategy for Success
Building a Test Automation Strategy for SuccessBuilding a Test Automation Strategy for Success
Building a Test Automation Strategy for Success
 
Test Automation
Test AutomationTest Automation
Test Automation
 
Defects in software testing
Defects in software testingDefects in software testing
Defects in software testing
 
A Concise QA Process
A Concise QA Process A Concise QA Process
A Concise QA Process
 

Similar to Building an Automation Framework

5-Ways-to-Revolutionize-Your-Software-Testing
5-Ways-to-Revolutionize-Your-Software-Testing5-Ways-to-Revolutionize-Your-Software-Testing
5-Ways-to-Revolutionize-Your-Software-TestingMary Clemons
 
software testing and quality assurance .pdf
software testing and quality assurance .pdfsoftware testing and quality assurance .pdf
software testing and quality assurance .pdfMUSAIDRIS15
 
Computer courses in chandigharh - CBitss Technologies
Computer courses in chandigharh - CBitss Technologies Computer courses in chandigharh - CBitss Technologies
Computer courses in chandigharh - CBitss Technologies Cbitss Technologies
 
Share Vision First Trip
Share Vision First TripShare Vision First Trip
Share Vision First TripKhou Suylong
 
Introduction To Software Concepts Unit 1 & 2
Introduction To Software Concepts Unit 1 & 2Introduction To Software Concepts Unit 1 & 2
Introduction To Software Concepts Unit 1 & 2Raj vardhan
 
Exploring the World of Software Testing.pdf
Exploring the World of Software Testing.pdfExploring the World of Software Testing.pdf
Exploring the World of Software Testing.pdfKajal Digital
 
Notes of Software engineering and Project Management
Notes of Software engineering and Project ManagementNotes of Software engineering and Project Management
Notes of Software engineering and Project ManagementNANDINI SHARMA
 
Testing JavaScript Applications
Testing JavaScript ApplicationsTesting JavaScript Applications
Testing JavaScript ApplicationsMuhammad Samu
 
Aim (A).pptx
Aim (A).pptxAim (A).pptx
Aim (A).pptx14941
 
What skills can software testers provide the best testing services?
What skills can software testers provide the best testing services?What skills can software testers provide the best testing services?
What skills can software testers provide the best testing services?NexSoftsys
 
Integration testing
Integration testingIntegration testing
Integration testingTechversant
 
7 stages of system Development life cycle ppt
7 stages of system Development life cycle ppt7 stages of system Development life cycle ppt
7 stages of system Development life cycle pptIphsTechnologies
 
Postcards From The Agile Frontier Final
Postcards From The Agile Frontier FinalPostcards From The Agile Frontier Final
Postcards From The Agile Frontier FinalElena Yatzeck
 
Software design.edited (1)
Software design.edited (1)Software design.edited (1)
Software design.edited (1)FarjanaAhmed3
 
Different Methodologies For Testing Web Application Testing
Different Methodologies For Testing Web Application TestingDifferent Methodologies For Testing Web Application Testing
Different Methodologies For Testing Web Application TestingRachel Davis
 
Full Stack Software Testing Institute in Pune- QA Training in Pune
Full Stack Software Testing Institute in Pune-  QA Training in PuneFull Stack Software Testing Institute in Pune-  QA Training in Pune
Full Stack Software Testing Institute in Pune- QA Training in PuneAspire Techsoft Academy
 
Shanthi_ 1+ years expiriance on testing.
Shanthi_ 1+ years expiriance on testing.Shanthi_ 1+ years expiriance on testing.
Shanthi_ 1+ years expiriance on testing.shanthi reddy
 

Similar to Building an Automation Framework (20)

5-Ways-to-Revolutionize-Your-Software-Testing
5-Ways-to-Revolutionize-Your-Software-Testing5-Ways-to-Revolutionize-Your-Software-Testing
5-Ways-to-Revolutionize-Your-Software-Testing
 
software testing and quality assurance .pdf
software testing and quality assurance .pdfsoftware testing and quality assurance .pdf
software testing and quality assurance .pdf
 
Computer courses in chandigharh - CBitss Technologies
Computer courses in chandigharh - CBitss Technologies Computer courses in chandigharh - CBitss Technologies
Computer courses in chandigharh - CBitss Technologies
 
Share Vision First Trip
Share Vision First TripShare Vision First Trip
Share Vision First Trip
 
Introduction To Software Concepts Unit 1 & 2
Introduction To Software Concepts Unit 1 & 2Introduction To Software Concepts Unit 1 & 2
Introduction To Software Concepts Unit 1 & 2
 
Exploring the World of Software Testing.pdf
Exploring the World of Software Testing.pdfExploring the World of Software Testing.pdf
Exploring the World of Software Testing.pdf
 
SANGEETHA SELVARAJ-RESUME
SANGEETHA SELVARAJ-RESUMESANGEETHA SELVARAJ-RESUME
SANGEETHA SELVARAJ-RESUME
 
Ramesh Selenium
Ramesh SeleniumRamesh Selenium
Ramesh Selenium
 
Notes of Software engineering and Project Management
Notes of Software engineering and Project ManagementNotes of Software engineering and Project Management
Notes of Software engineering and Project Management
 
Testing JavaScript Applications
Testing JavaScript ApplicationsTesting JavaScript Applications
Testing JavaScript Applications
 
Aim (A).pptx
Aim (A).pptxAim (A).pptx
Aim (A).pptx
 
What skills can software testers provide the best testing services?
What skills can software testers provide the best testing services?What skills can software testers provide the best testing services?
What skills can software testers provide the best testing services?
 
Integration testing
Integration testingIntegration testing
Integration testing
 
7 stages of system Development life cycle ppt
7 stages of system Development life cycle ppt7 stages of system Development life cycle ppt
7 stages of system Development life cycle ppt
 
Postcards From The Agile Frontier Final
Postcards From The Agile Frontier FinalPostcards From The Agile Frontier Final
Postcards From The Agile Frontier Final
 
Software design.edited (1)
Software design.edited (1)Software design.edited (1)
Software design.edited (1)
 
Software testing
Software testingSoftware testing
Software testing
 
Different Methodologies For Testing Web Application Testing
Different Methodologies For Testing Web Application TestingDifferent Methodologies For Testing Web Application Testing
Different Methodologies For Testing Web Application Testing
 
Full Stack Software Testing Institute in Pune- QA Training in Pune
Full Stack Software Testing Institute in Pune-  QA Training in PuneFull Stack Software Testing Institute in Pune-  QA Training in Pune
Full Stack Software Testing Institute in Pune- QA Training in Pune
 
Shanthi_ 1+ years expiriance on testing.
Shanthi_ 1+ years expiriance on testing.Shanthi_ 1+ years expiriance on testing.
Shanthi_ 1+ years expiriance on testing.
 

More from SmartBear

Enforcing Your Organization's API Design Standards with SwaggerHub
Enforcing Your Organization's API Design Standards with SwaggerHubEnforcing Your Organization's API Design Standards with SwaggerHub
Enforcing Your Organization's API Design Standards with SwaggerHubSmartBear
 
Introducing OpenAPI Version 3.1
Introducing OpenAPI Version 3.1Introducing OpenAPI Version 3.1
Introducing OpenAPI Version 3.1SmartBear
 
IATA Open Air: How API Standardization Enables Innovation in the Airline Indu...
IATA Open Air: How API Standardization Enables Innovation in the Airline Indu...IATA Open Air: How API Standardization Enables Innovation in the Airline Indu...
IATA Open Air: How API Standardization Enables Innovation in the Airline Indu...SmartBear
 
The State of API 2020 Webinar – Exploring Trends, Tools & Takeaways to Drive ...
The State of API 2020 Webinar – Exploring Trends, Tools & Takeaways to Drive ...The State of API 2020 Webinar – Exploring Trends, Tools & Takeaways to Drive ...
The State of API 2020 Webinar – Exploring Trends, Tools & Takeaways to Drive ...SmartBear
 
How LISI Automotive Accelerated Application Delivery with SwaggerHub
How LISI Automotive Accelerated Application Delivery with SwaggerHubHow LISI Automotive Accelerated Application Delivery with SwaggerHub
How LISI Automotive Accelerated Application Delivery with SwaggerHubSmartBear
 
Standardising APIs: Powering the Platform Economy in Financial Services
Standardising APIs: Powering the Platform Economy in Financial ServicesStandardising APIs: Powering the Platform Economy in Financial Services
Standardising APIs: Powering the Platform Economy in Financial ServicesSmartBear
 
Getting Started with API Standardization in SwaggerHub
Getting Started with API Standardization in SwaggerHubGetting Started with API Standardization in SwaggerHub
Getting Started with API Standardization in SwaggerHubSmartBear
 
Adopting a Design-First Approach to API Development with SwaggerHub
Adopting a Design-First Approach to API Development with SwaggerHubAdopting a Design-First Approach to API Development with SwaggerHub
Adopting a Design-First Approach to API Development with SwaggerHubSmartBear
 
Standardizing APIs Across Your Organization with Swagger and OAS | A SmartBea...
Standardizing APIs Across Your Organization with Swagger and OAS | A SmartBea...Standardizing APIs Across Your Organization with Swagger and OAS | A SmartBea...
Standardizing APIs Across Your Organization with Swagger and OAS | A SmartBea...SmartBear
 
Effective API Lifecycle Management
Effective API Lifecycle Management Effective API Lifecycle Management
Effective API Lifecycle Management SmartBear
 
The API Lifecycle Series: Exploring Design-First and Code-First Approaches to...
The API Lifecycle Series: Exploring Design-First and Code-First Approaches to...The API Lifecycle Series: Exploring Design-First and Code-First Approaches to...
The API Lifecycle Series: Exploring Design-First and Code-First Approaches to...SmartBear
 
The API Lifecycle Series: Evolving API Development and Testing from Open Sour...
The API Lifecycle Series: Evolving API Development and Testing from Open Sour...The API Lifecycle Series: Evolving API Development and Testing from Open Sour...
The API Lifecycle Series: Evolving API Development and Testing from Open Sour...SmartBear
 
Artificial intelligence for faster and smarter software testing - Galway Mee...
Artificial intelligence for faster and smarter software testing  - Galway Mee...Artificial intelligence for faster and smarter software testing  - Galway Mee...
Artificial intelligence for faster and smarter software testing - Galway Mee...SmartBear
 
Successfully Implementing BDD in an Agile World
Successfully Implementing BDD in an Agile WorldSuccessfully Implementing BDD in an Agile World
Successfully Implementing BDD in an Agile WorldSmartBear
 
The Best Kept Secrets of Code Review | SmartBear Webinar
The Best Kept Secrets of Code Review | SmartBear WebinarThe Best Kept Secrets of Code Review | SmartBear Webinar
The Best Kept Secrets of Code Review | SmartBear WebinarSmartBear
 
How Capital One Scaled API Design to Deliver New Products Faster
How Capital One Scaled API Design to Deliver New Products FasterHow Capital One Scaled API Design to Deliver New Products Faster
How Capital One Scaled API Design to Deliver New Products FasterSmartBear
 
Testing Without a GUI Using TestComplete
 Testing Without a GUI Using TestComplete Testing Without a GUI Using TestComplete
Testing Without a GUI Using TestCompleteSmartBear
 
Hidden Treasure - TestComplete Script Extensions
Hidden Treasure - TestComplete Script ExtensionsHidden Treasure - TestComplete Script Extensions
Hidden Treasure - TestComplete Script ExtensionsSmartBear
 
How Bdd Can Save Agile
 How Bdd Can Save Agile How Bdd Can Save Agile
How Bdd Can Save AgileSmartBear
 
API Automation and TDD to Implement Master Data Survivorship Rules
API Automation and TDD to Implement Master Data Survivorship RulesAPI Automation and TDD to Implement Master Data Survivorship Rules
API Automation and TDD to Implement Master Data Survivorship RulesSmartBear
 

More from SmartBear (20)

Enforcing Your Organization's API Design Standards with SwaggerHub
Enforcing Your Organization's API Design Standards with SwaggerHubEnforcing Your Organization's API Design Standards with SwaggerHub
Enforcing Your Organization's API Design Standards with SwaggerHub
 
Introducing OpenAPI Version 3.1
Introducing OpenAPI Version 3.1Introducing OpenAPI Version 3.1
Introducing OpenAPI Version 3.1
 
IATA Open Air: How API Standardization Enables Innovation in the Airline Indu...
IATA Open Air: How API Standardization Enables Innovation in the Airline Indu...IATA Open Air: How API Standardization Enables Innovation in the Airline Indu...
IATA Open Air: How API Standardization Enables Innovation in the Airline Indu...
 
The State of API 2020 Webinar – Exploring Trends, Tools & Takeaways to Drive ...
The State of API 2020 Webinar – Exploring Trends, Tools & Takeaways to Drive ...The State of API 2020 Webinar – Exploring Trends, Tools & Takeaways to Drive ...
The State of API 2020 Webinar – Exploring Trends, Tools & Takeaways to Drive ...
 
How LISI Automotive Accelerated Application Delivery with SwaggerHub
How LISI Automotive Accelerated Application Delivery with SwaggerHubHow LISI Automotive Accelerated Application Delivery with SwaggerHub
How LISI Automotive Accelerated Application Delivery with SwaggerHub
 
Standardising APIs: Powering the Platform Economy in Financial Services
Standardising APIs: Powering the Platform Economy in Financial ServicesStandardising APIs: Powering the Platform Economy in Financial Services
Standardising APIs: Powering the Platform Economy in Financial Services
 
Getting Started with API Standardization in SwaggerHub
Getting Started with API Standardization in SwaggerHubGetting Started with API Standardization in SwaggerHub
Getting Started with API Standardization in SwaggerHub
 
Adopting a Design-First Approach to API Development with SwaggerHub
Adopting a Design-First Approach to API Development with SwaggerHubAdopting a Design-First Approach to API Development with SwaggerHub
Adopting a Design-First Approach to API Development with SwaggerHub
 
Standardizing APIs Across Your Organization with Swagger and OAS | A SmartBea...
Standardizing APIs Across Your Organization with Swagger and OAS | A SmartBea...Standardizing APIs Across Your Organization with Swagger and OAS | A SmartBea...
Standardizing APIs Across Your Organization with Swagger and OAS | A SmartBea...
 
Effective API Lifecycle Management
Effective API Lifecycle Management Effective API Lifecycle Management
Effective API Lifecycle Management
 
The API Lifecycle Series: Exploring Design-First and Code-First Approaches to...
The API Lifecycle Series: Exploring Design-First and Code-First Approaches to...The API Lifecycle Series: Exploring Design-First and Code-First Approaches to...
The API Lifecycle Series: Exploring Design-First and Code-First Approaches to...
 
The API Lifecycle Series: Evolving API Development and Testing from Open Sour...
The API Lifecycle Series: Evolving API Development and Testing from Open Sour...The API Lifecycle Series: Evolving API Development and Testing from Open Sour...
The API Lifecycle Series: Evolving API Development and Testing from Open Sour...
 
Artificial intelligence for faster and smarter software testing - Galway Mee...
Artificial intelligence for faster and smarter software testing  - Galway Mee...Artificial intelligence for faster and smarter software testing  - Galway Mee...
Artificial intelligence for faster and smarter software testing - Galway Mee...
 
Successfully Implementing BDD in an Agile World
Successfully Implementing BDD in an Agile WorldSuccessfully Implementing BDD in an Agile World
Successfully Implementing BDD in an Agile World
 
The Best Kept Secrets of Code Review | SmartBear Webinar
The Best Kept Secrets of Code Review | SmartBear WebinarThe Best Kept Secrets of Code Review | SmartBear Webinar
The Best Kept Secrets of Code Review | SmartBear Webinar
 
How Capital One Scaled API Design to Deliver New Products Faster
How Capital One Scaled API Design to Deliver New Products FasterHow Capital One Scaled API Design to Deliver New Products Faster
How Capital One Scaled API Design to Deliver New Products Faster
 
Testing Without a GUI Using TestComplete
 Testing Without a GUI Using TestComplete Testing Without a GUI Using TestComplete
Testing Without a GUI Using TestComplete
 
Hidden Treasure - TestComplete Script Extensions
Hidden Treasure - TestComplete Script ExtensionsHidden Treasure - TestComplete Script Extensions
Hidden Treasure - TestComplete Script Extensions
 
How Bdd Can Save Agile
 How Bdd Can Save Agile How Bdd Can Save Agile
How Bdd Can Save Agile
 
API Automation and TDD to Implement Master Data Survivorship Rules
API Automation and TDD to Implement Master Data Survivorship RulesAPI Automation and TDD to Implement Master Data Survivorship Rules
API Automation and TDD to Implement Master Data Survivorship Rules
 

Recently uploaded

The Ultimate Test Automation Guide_ Best Practices and Tips.pdf
The Ultimate Test Automation Guide_ Best Practices and Tips.pdfThe Ultimate Test Automation Guide_ Best Practices and Tips.pdf
The Ultimate Test Automation Guide_ Best Practices and Tips.pdfkalichargn70th171
 
How To Troubleshoot Collaboration Apps for the Modern Connected Worker
How To Troubleshoot Collaboration Apps for the Modern Connected WorkerHow To Troubleshoot Collaboration Apps for the Modern Connected Worker
How To Troubleshoot Collaboration Apps for the Modern Connected WorkerThousandEyes
 
A Secure and Reliable Document Management System is Essential.docx
A Secure and Reliable Document Management System is Essential.docxA Secure and Reliable Document Management System is Essential.docx
A Secure and Reliable Document Management System is Essential.docxComplianceQuest1
 
How To Use Server-Side Rendering with Nuxt.js
How To Use Server-Side Rendering with Nuxt.jsHow To Use Server-Side Rendering with Nuxt.js
How To Use Server-Side Rendering with Nuxt.jsAndolasoft Inc
 
Hand gesture recognition PROJECT PPT.pptx
Hand gesture recognition PROJECT PPT.pptxHand gesture recognition PROJECT PPT.pptx
Hand gesture recognition PROJECT PPT.pptxbodapatigopi8531
 
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...Health
 
Optimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTVOptimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTVshikhaohhpro
 
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...harshavardhanraghave
 
HR Software Buyers Guide in 2024 - HRSoftware.com
HR Software Buyers Guide in 2024 - HRSoftware.comHR Software Buyers Guide in 2024 - HRSoftware.com
HR Software Buyers Guide in 2024 - HRSoftware.comFatema Valibhai
 
TECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service providerTECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service providermohitmore19
 
Unlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language ModelsUnlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language Modelsaagamshah0812
 
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...ICS
 
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...panagenda
 
Unveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
Unveiling the Tech Salsa of LAMs with Janus in Real-Time ApplicationsUnveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
Unveiling the Tech Salsa of LAMs with Janus in Real-Time ApplicationsAlberto González Trastoy
 
5 Signs You Need a Fashion PLM Software.pdf
5 Signs You Need a Fashion PLM Software.pdf5 Signs You Need a Fashion PLM Software.pdf
5 Signs You Need a Fashion PLM Software.pdfWave PLM
 
Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...
Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...
Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...OnePlan Solutions
 
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...MyIntelliSource, Inc.
 
CALL ON ➥8923113531 🔝Call Girls Badshah Nagar Lucknow best Female service
CALL ON ➥8923113531 🔝Call Girls Badshah Nagar Lucknow best Female serviceCALL ON ➥8923113531 🔝Call Girls Badshah Nagar Lucknow best Female service
CALL ON ➥8923113531 🔝Call Girls Badshah Nagar Lucknow best Female serviceanilsa9823
 
SyndBuddy AI 2k Review 2024: Revolutionizing Content Syndication with AI
SyndBuddy AI 2k Review 2024: Revolutionizing Content Syndication with AISyndBuddy AI 2k Review 2024: Revolutionizing Content Syndication with AI
SyndBuddy AI 2k Review 2024: Revolutionizing Content Syndication with AIABDERRAOUF MEHENNI
 

Recently uploaded (20)

The Ultimate Test Automation Guide_ Best Practices and Tips.pdf
The Ultimate Test Automation Guide_ Best Practices and Tips.pdfThe Ultimate Test Automation Guide_ Best Practices and Tips.pdf
The Ultimate Test Automation Guide_ Best Practices and Tips.pdf
 
How To Troubleshoot Collaboration Apps for the Modern Connected Worker
How To Troubleshoot Collaboration Apps for the Modern Connected WorkerHow To Troubleshoot Collaboration Apps for the Modern Connected Worker
How To Troubleshoot Collaboration Apps for the Modern Connected Worker
 
A Secure and Reliable Document Management System is Essential.docx
A Secure and Reliable Document Management System is Essential.docxA Secure and Reliable Document Management System is Essential.docx
A Secure and Reliable Document Management System is Essential.docx
 
How To Use Server-Side Rendering with Nuxt.js
How To Use Server-Side Rendering with Nuxt.jsHow To Use Server-Side Rendering with Nuxt.js
How To Use Server-Side Rendering with Nuxt.js
 
Hand gesture recognition PROJECT PPT.pptx
Hand gesture recognition PROJECT PPT.pptxHand gesture recognition PROJECT PPT.pptx
Hand gesture recognition PROJECT PPT.pptx
 
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
 
Optimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTVOptimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTV
 
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
 
HR Software Buyers Guide in 2024 - HRSoftware.com
HR Software Buyers Guide in 2024 - HRSoftware.comHR Software Buyers Guide in 2024 - HRSoftware.com
HR Software Buyers Guide in 2024 - HRSoftware.com
 
TECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service providerTECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service provider
 
Unlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language ModelsUnlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language Models
 
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
 
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
 
Unveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
Unveiling the Tech Salsa of LAMs with Janus in Real-Time ApplicationsUnveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
Unveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
 
5 Signs You Need a Fashion PLM Software.pdf
5 Signs You Need a Fashion PLM Software.pdf5 Signs You Need a Fashion PLM Software.pdf
5 Signs You Need a Fashion PLM Software.pdf
 
Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...
Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...
Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...
 
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
 
Microsoft AI Transformation Partner Playbook.pdf
Microsoft AI Transformation Partner Playbook.pdfMicrosoft AI Transformation Partner Playbook.pdf
Microsoft AI Transformation Partner Playbook.pdf
 
CALL ON ➥8923113531 🔝Call Girls Badshah Nagar Lucknow best Female service
CALL ON ➥8923113531 🔝Call Girls Badshah Nagar Lucknow best Female serviceCALL ON ➥8923113531 🔝Call Girls Badshah Nagar Lucknow best Female service
CALL ON ➥8923113531 🔝Call Girls Badshah Nagar Lucknow best Female service
 
SyndBuddy AI 2k Review 2024: Revolutionizing Content Syndication with AI
SyndBuddy AI 2k Review 2024: Revolutionizing Content Syndication with AISyndBuddy AI 2k Review 2024: Revolutionizing Content Syndication with AI
SyndBuddy AI 2k Review 2024: Revolutionizing Content Syndication with AI
 

Building an Automation Framework

  • 1. Laying the Foundation for Enduring Success Part2: Building An Automation Framework
  • 2. Software Development Life Cycle Requirements Tests Defects What do we make and how should it behave Make sure it works as stated in the Requirement Definition Sets Environments Actual Results do not equal Expected Results
  • 3. What is a Test Framework? ATestFramework: • LinksteststootherSDLCitems • IsNOTaTestAutomationFrameworkbutoftencontainsone • Allowsforrapidcreationoftestsfromreusablecomponents • Separatesdatafromlogic(REUSABILITY) • Providesastandardizedtest“language”andreportingstructureforanapplicationundertest 1. Define 2. Decompose 3. Decide
  • 4. 1 A Quick Introduction I am a veteran of software development covering a wide range of disciplines. While studying Computer Information Systems and later Computer Science at Missouri State University I got an early start to my career by being QA Analyst for Black Lantern Studios, testing video games for various platforms. My 8-year tenure at BLS saw my growth into a QA Lead, and eventually a project manager. During this time my day-to-day role varied between, test management, project management, design, and level scripting. In March 2015, I started at O'Reilly as a QA Automation developer. The automation department was very young at the time and I was an integral part of selecting an automation tool (Test Complete) and developing a set of standards and frameworks which lead to my current position of QA Automation Supervisor. Connect with me on LinkedIn: https://www.linkedin.com/in/cunderw/
  • 5. Getting Started • Setupandorganizesourcecontrol • Keepdifferentassetsseparate • CreateTemplateprojecttoclonefrom • Createthefilesyouknowyouwillneed • Makesureyourassetsaresetupinawaytobereferencednotlocal(allowsupdatestokeepALLtestsstable) • Familiarizeyourselfwiththeapplication • Dosomeexploratorytesting • Startcreatingsomebasicnamemapping(orobjectidentificationviascript) • Takenotesforwhatyourrequirementswillbeandhowyourautomationassetswilltestthis
  • 6. Environment / Data • Environment • Thisincludessettingconfigsforbeingabletoruninmorethanoneenvironment(dev,test,prod,etc…) • Eventhandlersareyourfriend • Setup/teardown • Opening/Closingyourapplication • Otherusefulutilities,documentandincludeyourloggingfromthestart • Getasmoketestprojectsetup–thatisgoingtobethemostusedandimportantsetoftestsyouwilluseand we’llusethissoontovalidateourutilitiesandmakeatestatthesametime • Data • Keepyourpropertiesandreferencesgenericandnotindividualtestspecific • Allowyourdataobjectstobesharedbetweenscripts
  • 7. On Screen Actions • Lettheframeworkhandlethese • Createsharedutilitiesforcommonactionslikemenunavigation,textinput,etc… • Thesearethebuildingblockofatest,onceyouhavethemsetupcreatingatestisassimpleasdraggingthings intoakeywordtest • Allowsyouframeworktodriveyourflowandverificationssothatminimalmaintenancetoindividualtestsis required • Useclassestodriveyouronscreenobjectstokeeploggingconsistent • Supportyouralreadycreateddataobjects • Inpututilitiesshouldbeabletoacceptdataobjectscreatedinthepreviousstepssoyoucanchainthings together • Thisiswhyit’simportanttoabstractyourframeworkdatafromtheactualtestdata
  • 8. Verifications • BuildUIverificationsintoyouractions • Allowyouractionsutilitiestoverifytheiractions • Allowsyoutoupdateinonceplaceandkeepyourtestsstable • Makethemoptional,ifwehaveatestthatverifiesafieldacceptsinputproperlyanditpassesthereisnoneed toverifythateverysingletime • Buildyourdataverificationsaroundyourdataobjects • Againwe’retryingtoreducemaintenanceandmaketestcreationeasier • Thesamedataobjectswecreatedbefore,usethoseforallofyourverifications
  • 9. Logging & Reporting • Customizeyourlogging • Logmessagesbeforeverificationsstatingwhatyou’reverifyingandit’sexpectedresult • Makeithumanreadable,non-technicalusersshouldbeabletolookatyourlogandknowexactlywhereand whyafailureoccurredandnothavetoguesswhythereisanerrorthatiscriptic • Ifyouhavefollowedeverythingelseyouractions,dataprep,environmentandverificationsshouldallbeusing aconsistentloggingstructurealready • Logfoldersareyourfriend • Reporting • Automateyourreportingtoo • Sendemails • Exportthelogstoacommonplace More: https://github.com/cunderw/smartbear-november
  • 10. Join us at 8:00 AM | 2:00 PM EDT November 14th https://smartbear.com/resources/webinars/open-source-testing-frameworks/ Dan Giordano SmartBear Testing Framework Webinar Series Part 3: The Growing Trend of Open Source Testing Frameworks