SlideShare a Scribd company logo
1 of 36
Test Automation
Let’s talk business
Overview
■ Test Automation Myths
■ Return on Investment (ROI)
■ Frameworks
Test Automation Myths
Myth #1 - Test Automation is
simple, that every tester can do it
■ This myth is promoted by the tool sales people.
They are trying to promote the following test
automation process:
◻ Record the script
◻ Enhance the script by adding functions and data
driving
◻ Run the scripts
◻ Report results
■ Under the influence of this myth the QA
manager can proudly report: All our testers are
developing test automation.
Reality - Test automation is a
software development task
■ Automation should be designed, developed and
tested
■ You need to have some kind of a
programming background to implement test
automation. Test Automation is not as complex
as C++/C#/Java development.
■ Test automation standards should be developed
■ Automated test components are assets that
should be treated like application source code
Myth #2 – Commercial test tools
are expensive
■ Under the influence of this myth some
companies, especially the small ones:
◻Try to develop their own test automation tools
◻Use scripting languages like Perl and Ruby
◻Use shareware test tools
◻Do not consider test automation at all
Reality – Commercial tools are
cheap
■ Per seat license for the most expensive automation tool
is $8K
■ This tool will be used for 5 years.
■ Maintenance/Support fees are 20% of tool cost or
$1,800 per year
■ The cost of this tool is $8K/5+$1,800 = $3,100 per year
■ The automation developer cost with overhead is $100K
per year
■ The cost of this tool is just 3% of the person who uses it,
but productivity gain can be very significant
Commercial Tool Benefits:
■ Customer support. Many of the open source tools come and go with
little to no support
■ Most commercial tools are constantly being updated as technologies
change
■ Most commercial tools usually have more functionality (QTP can test
various GUI applications: Web, .Net, Java, VB, C/C++,
PowerBuilder, etc. vs. WATIR – Web only)
■ Commercial tools usually have a large community of users, which
translates into better availability of qualified resources
■ Commercial tools require less advanced programming
■ More test automation frameworks are available for commercial tools
■ Commercial tools are integrated with Test Management tools which
makes reporting and execution much simpler.
Over 300 Test Tools are available
(http://www.softwareqatest.com)
■ Load/Performance tools – 54
■ Web Functional/Regression – 60
■ Java Test tools - 48
■ Other Web tools – 76
Which tool is right for you?
Absolutely Unscientific research:
Employer demand by tool expertise
(May, 2008)
Dice search results across US (30 days)
Tool Search string Matches
QTP Qtp OR quicktest OR "quick test“ 613
Functional
Tester
"rational robot" OR "functional
tester”
118
SilkTest silktest OR "silk test” 86
TestComplete testcomplete OR "test complete” 26
TestPartner testpartner OR "test partner“ 19
VSTE VSTE AND test 45
WATIR watir 26
Selenium Selenium 108
Excerpt from IDC Report:
“Worldwide Automated
Software Quality 2007-2011
Forecast and 2006 Vendor
Shares…”
Think of yourself like a business
■ Facts:
◻ Average IT job tenure is about 2 years
◻ Competitive intensity is rising
■ What you should do:
◻ Invest your time/money in learning mainstream
automation
◻ Create a niche for yourself - add Configuration
Management, Performance Testing or Project
Management to your skillset
◻ Market yourself
Return On Investment (ROI)
Classic ROI Calculation
ROI = BENEFIT/COST
Automation Cost = Price Of HW + Price of SW + Development Cost +
Maintenance Cost + Execution Cost
Manual Testing Cost = Development Cost + Maintenance Cost +
Execution Cost
ROI = (Manual Testing Cost - Automation Cost)/Automation Cost
Looks right, Doesn’t it?
Problems with Classic ROI Calculation
■ You can’t compare Automated Testing
and Manual Testing. They are not the
same and they provide different
information about the AUT.
■ You can’t compare cost of multiple
execution of automated tests vs. manual
tests. You would never dream of
executing that many test cases manually.
Automation Real ROI
❑ ROI value IS NOT the value of Automation
vs. Cost of executing these tests manually
❑ Automation ROI value IS the benefit of
this type of testing, and it can be:
❑Reducing Time to Market
❑Increased Test Efficiency (Productivity)
❑Increased Test Effectiveness
Reduced Time to Market
■ Can get a greater market share
■ Makes people available to work on
other projects
■ Higher margins, if no competitive
products are currently available
Productivity and Effectiveness
■ More testing gets done faster, increasing the odds of
finding defects
■ Defects found early have better chances of being fixed
■ Manual Testers can concentrate on clever ways to
finding defects, instead of typing test inputs and verify
output.
■ About 7% of bug fixes create new bugs, sometimes in
already tested parts of the system. With automation you
can rerun tests for those modules. This almost never
happens when testing is done manually.
ROI summary
■ Each project requires different types of
automation - there is often no easy
formula available to calculate ROI
■ Performing ROI calculation can help to
determine upfront what type of
automation, what level of skills, what tools
will be required.
Automation Frameworks
Test Automation Framework
■ A Test Automation Framework is a set
of assumptions, concepts and tools that
provide support for Automated Software
Testing.
■ A correctly implemented Test Automation
Framework can further improve ROI by
reducing the development and
maintenance costs.
Types of Test Automation
Frameworks
■ Modular
■ Data-Driven
■ Keyword–Driven
■ Model-Based
Modular framework
■ The Modular framework is the natural
progression derived from Record-and-Playback
■ The modular framework seeks to minimize
repetition of code by grouping similar actions
into “modules” (e.g.: login)
■ Test Data is in a script or in an internal table
This is what tool sales people are promoting.
Data-Driven/Keyword Driven
■ These frameworks are similar in that the
data is separated from the test script
■ The script is just a "driver" or delivery
mechanism for the data.
■ The difference:
◻In keyword-driven testing, the navigation data
and test data are contained in the data source
◻In data-driven testing, only test data is
contained in the data source.
Model-Based testing
■ Model-based testing is software testing
in which test cases are derived in whole or
in part from a model that describes some
(usually functional) aspects of the system.
■ Model-based testing for complex software
systems is still an evolving field.
We’ll be concentrating on
Keyword-Driven testing since it
is the most beneficial framework
for large-scale test automation.
Advantages of Keyword-Driven
Test automation
■ This Framework addresses the most common problem
with test automation:
Automation Engineers do not have domain knowledge
and the End Users (Subject Matter Experts/Test
Engineers) usually do not have automation expertise.
■ When properly implemented and maintained, it presents
a superior ROI because each business event is
designed, automated and maintained as a discrete
entity.
■ Keywords can then be used to design test cases, but the
design and automation overhead for the keyword has
already been paid.
Advantages of Keyword-Driven
Test automation
■ Reduced the cost and time spent maintaining
and updating tests
■ The modular structure of keyword-driven testing
means that new tests can easily be created from
pre-existing modules
■ The test team is capable of entirely automating
tests, even without programming knowledge
■ Can be easily modified to use with different test
tool
■ Reusability across different projects
Classic Keyword-Driven
Example
Object Action Data
Textfield (username) Enter Text <username>
Recent Success with Keyword-Driven
approach
■ Estimate using Modular Framework: 1 year
■ Estimate with Keyword-Driven Framework: 6 months
Project was completed in 4 months by 1 person, 2 month
ahead of schedule.
This was the first project for the automation developer
utilizing the Keyword-Driven Framework.
170 components were developed (1 component per Web
page).
109 Regression Test cases were automated.
Example of Test Data for Keyword-Driven test
automation developed by Connected Testing Inc.
for TestComplete and QTP
Resources
■ “Everything you want to know about Test Automation…” by Brian Le
Suer
■ “Manager’s Guide to GUI Test Automation” by Yury Makedonov
■ “The ROI of Test Automation” by Michael Kelly
■ “What is my ROI?” by mVerify Corporation
■ SQA Forums
■ “An Overview of Test Automation Frameworks” by Nathaniel
Ritmeyer
■ “The benefits of keyword-based software test automation” by David
W. Johnson
■ Wikipedia
Gopi QA Head
Company: Connected Testing, Inc.
E-Mail: info@etaclamtechnoservices.com
Phone: +91- 93 92 91 89 89
Website: www.etaclamtechnoservices.com

More Related Content

What's hot

Automation test scripting techniques
Automation test scripting techniquesAutomation test scripting techniques
Automation test scripting techniquesZhu Zhong
 
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
 
When is a project ready for Software Automation_NEW
When is a project ready for Software Automation_NEWWhen is a project ready for Software Automation_NEW
When is a project ready for Software Automation_NEWMike Christesen
 
Which test cases to automate
Which test cases to automateWhich test cases to automate
Which test cases to automatesachxn1
 
7 Deadly Sins of Agile Software Test Automation
7 Deadly Sins of Agile Software Test Automation7 Deadly Sins of Agile Software Test Automation
7 Deadly Sins of Agile Software Test AutomationAdrian Smith
 
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
 
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
 
Ruud van Houwelingen - What Next for MBT? Implementing with Tools
Ruud van Houwelingen -  What Next for MBT? Implementing with Tools Ruud van Houwelingen -  What Next for MBT? Implementing with Tools
Ruud van Houwelingen - What Next for MBT? Implementing with Tools TEST Huddle
 
Introduction to Test Automation
Introduction to Test AutomationIntroduction to Test Automation
Introduction to Test AutomationPekka Klärck
 
Testing automation in agile environment
Testing automation in agile environmentTesting automation in agile environment
Testing automation in agile environmentPerfecto Mobile
 
Test Automation
Test AutomationTest Automation
Test Automationrockoder
 
Automation testing in Agile project
Automation testing in Agile projectAutomation testing in Agile project
Automation testing in Agile projectHien Nguyen
 
Small is Beautiful- Fully Automate your Test Case Design
Small is Beautiful- Fully Automate your Test Case DesignSmall is Beautiful- Fully Automate your Test Case Design
Small is Beautiful- Fully Automate your Test Case DesignGeorgina Tilby
 
automation testing benefits
automation testing benefitsautomation testing benefits
automation testing benefitsnazeer pasha
 
Test Automation Strategies For Agile
Test Automation Strategies For AgileTest Automation Strategies For Agile
Test Automation Strategies For AgileNaresh Jain
 
Mt s1 basic_fundamentals
Mt s1 basic_fundamentalsMt s1 basic_fundamentals
Mt s1 basic_fundamentalsTestingGeeks
 
It Seemed a Good Idea at the Time: Intelligent Mistakes in Test Automation
It Seemed a Good Idea at the Time: Intelligent Mistakes in Test AutomationIt Seemed a Good Idea at the Time: Intelligent Mistakes in Test Automation
It Seemed a Good Idea at the Time: Intelligent Mistakes in Test AutomationTechWell
 

What's hot (20)

Automation test scripting techniques
Automation test scripting techniquesAutomation test scripting techniques
Automation test scripting techniques
 
Automation Concepts
Automation ConceptsAutomation Concepts
Automation Concepts
 
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
 
When is a project ready for Software Automation_NEW
When is a project ready for Software Automation_NEWWhen is a project ready for Software Automation_NEW
When is a project ready for Software Automation_NEW
 
Which test cases to automate
Which test cases to automateWhich test cases to automate
Which test cases to automate
 
7 Deadly Sins of Agile Software Test Automation
7 Deadly Sins of Agile Software Test Automation7 Deadly Sins of Agile Software Test Automation
7 Deadly Sins of Agile Software Test Automation
 
Automation Testing
Automation TestingAutomation Testing
Automation Testing
 
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
 
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)
 
Ruud van Houwelingen - What Next for MBT? Implementing with Tools
Ruud van Houwelingen -  What Next for MBT? Implementing with Tools Ruud van Houwelingen -  What Next for MBT? Implementing with Tools
Ruud van Houwelingen - What Next for MBT? Implementing with Tools
 
Mobile Video Games Testing Principles - Benjamin Poirrier
Mobile Video Games Testing Principles - Benjamin PoirrierMobile Video Games Testing Principles - Benjamin Poirrier
Mobile Video Games Testing Principles - Benjamin Poirrier
 
Introduction to Test Automation
Introduction to Test AutomationIntroduction to Test Automation
Introduction to Test Automation
 
Testing automation in agile environment
Testing automation in agile environmentTesting automation in agile environment
Testing automation in agile environment
 
Test Automation
Test AutomationTest Automation
Test Automation
 
Automation testing in Agile project
Automation testing in Agile projectAutomation testing in Agile project
Automation testing in Agile project
 
Small is Beautiful- Fully Automate your Test Case Design
Small is Beautiful- Fully Automate your Test Case DesignSmall is Beautiful- Fully Automate your Test Case Design
Small is Beautiful- Fully Automate your Test Case Design
 
automation testing benefits
automation testing benefitsautomation testing benefits
automation testing benefits
 
Test Automation Strategies For Agile
Test Automation Strategies For AgileTest Automation Strategies For Agile
Test Automation Strategies For Agile
 
Mt s1 basic_fundamentals
Mt s1 basic_fundamentalsMt s1 basic_fundamentals
Mt s1 basic_fundamentals
 
It Seemed a Good Idea at the Time: Intelligent Mistakes in Test Automation
It Seemed a Good Idea at the Time: Intelligent Mistakes in Test AutomationIt Seemed a Good Idea at the Time: Intelligent Mistakes in Test Automation
It Seemed a Good Idea at the Time: Intelligent Mistakes in Test Automation
 

Viewers also liked

Why Shouldn’t Weekly Status Reports Be Ignored?
Why Shouldn’t Weekly Status Reports Be Ignored?Why Shouldn’t Weekly Status Reports Be Ignored?
Why Shouldn’t Weekly Status Reports Be Ignored?QATestLab
 
Keyword Driven Testing
Keyword Driven TestingKeyword Driven Testing
Keyword Driven TestingMaveryx
 
Selenium vs QTP
Selenium vs QTPSelenium vs QTP
Selenium vs QTPQATestLab
 
Luan van xay_dung_he_thong_mang_lan_cho_truong_dai_hoc
Luan van xay_dung_he_thong_mang_lan_cho_truong_dai_hocLuan van xay_dung_he_thong_mang_lan_cho_truong_dai_hoc
Luan van xay_dung_he_thong_mang_lan_cho_truong_dai_hocDuc Nguyen
 
Golden october
Golden octoberGolden october
Golden octoberDvc Tester
 
Tělesné modifikace v kyberpunku
Tělesné modifikace v kyberpunkuTělesné modifikace v kyberpunku
Tělesné modifikace v kyberpunkumascha_dudu
 
Program kecemerlangan upsr 2013skstg bentang
Program kecemerlangan upsr 2013skstg bentangProgram kecemerlangan upsr 2013skstg bentang
Program kecemerlangan upsr 2013skstg bentangKhairiah Abdul Kadir
 
Katalog Wellness Oriflame 1/2014
Katalog Wellness Oriflame 1/2014 Katalog Wellness Oriflame 1/2014
Katalog Wellness Oriflame 1/2014 Klara Resto
 
Esposito gerard psp0113_week2
Esposito gerard psp0113_week2Esposito gerard psp0113_week2
Esposito gerard psp0113_week2GerardEsposito
 
Beckman.dedication projecet (Final)
Beckman.dedication projecet (Final)Beckman.dedication projecet (Final)
Beckman.dedication projecet (Final)Jessie Seeley
 
Commonly used idioms
Commonly used idiomsCommonly used idioms
Commonly used idiomsFarhat Sophia
 
Presentation of Vattenfall's full year 2015 results
Presentation of Vattenfall's full year 2015 resultsPresentation of Vattenfall's full year 2015 results
Presentation of Vattenfall's full year 2015 resultsVattenfall
 
Beckman.dedication projecet
Beckman.dedication projecetBeckman.dedication projecet
Beckman.dedication projecetJessie Seeley
 
QRbodies Open Tattoo
QRbodies Open TattooQRbodies Open Tattoo
QRbodies Open Tattoomascha_dudu
 
坐飞机Ppt
坐飞机Ppt坐飞机Ppt
坐飞机Pptrhou123
 

Viewers also liked (20)

Suresh_Vemulapally_2015
Suresh_Vemulapally_2015Suresh_Vemulapally_2015
Suresh_Vemulapally_2015
 
Why Shouldn’t Weekly Status Reports Be Ignored?
Why Shouldn’t Weekly Status Reports Be Ignored?Why Shouldn’t Weekly Status Reports Be Ignored?
Why Shouldn’t Weekly Status Reports Be Ignored?
 
Keyword Driven Testing
Keyword Driven TestingKeyword Driven Testing
Keyword Driven Testing
 
Selenium vs QTP
Selenium vs QTPSelenium vs QTP
Selenium vs QTP
 
Solve sysbyelimmult (1)
Solve sysbyelimmult (1)Solve sysbyelimmult (1)
Solve sysbyelimmult (1)
 
Luan van xay_dung_he_thong_mang_lan_cho_truong_dai_hoc
Luan van xay_dung_he_thong_mang_lan_cho_truong_dai_hocLuan van xay_dung_he_thong_mang_lan_cho_truong_dai_hoc
Luan van xay_dung_he_thong_mang_lan_cho_truong_dai_hoc
 
Golden october
Golden octoberGolden october
Golden october
 
Tělesné modifikace v kyberpunku
Tělesné modifikace v kyberpunkuTělesné modifikace v kyberpunku
Tělesné modifikace v kyberpunku
 
Klon upsr perpuluhan kertas 2
Klon upsr perpuluhan kertas 2Klon upsr perpuluhan kertas 2
Klon upsr perpuluhan kertas 2
 
Program kecemerlangan upsr 2013skstg bentang
Program kecemerlangan upsr 2013skstg bentangProgram kecemerlangan upsr 2013skstg bentang
Program kecemerlangan upsr 2013skstg bentang
 
Spa1 wkbk chap 07
Spa1 wkbk chap 07Spa1 wkbk chap 07
Spa1 wkbk chap 07
 
Tellingtime
TellingtimeTellingtime
Tellingtime
 
Katalog Wellness Oriflame 1/2014
Katalog Wellness Oriflame 1/2014 Katalog Wellness Oriflame 1/2014
Katalog Wellness Oriflame 1/2014
 
Esposito gerard psp0113_week2
Esposito gerard psp0113_week2Esposito gerard psp0113_week2
Esposito gerard psp0113_week2
 
Beckman.dedication projecet (Final)
Beckman.dedication projecet (Final)Beckman.dedication projecet (Final)
Beckman.dedication projecet (Final)
 
Commonly used idioms
Commonly used idiomsCommonly used idioms
Commonly used idioms
 
Presentation of Vattenfall's full year 2015 results
Presentation of Vattenfall's full year 2015 resultsPresentation of Vattenfall's full year 2015 results
Presentation of Vattenfall's full year 2015 results
 
Beckman.dedication projecet
Beckman.dedication projecetBeckman.dedication projecet
Beckman.dedication projecet
 
QRbodies Open Tattoo
QRbodies Open TattooQRbodies Open Tattoo
QRbodies Open Tattoo
 
坐飞机Ppt
坐飞机Ppt坐飞机Ppt
坐飞机Ppt
 

Similar to Test_Automation_-_Let's_Talk_Business.ppt

Improving ROI with Scriptless Test Automation
Improving ROI with Scriptless Test AutomationImproving ROI with Scriptless Test Automation
Improving ROI with Scriptless Test AutomationMindfire LLC
 
Questions for successful test automation projects
Questions for successful test automation projectsQuestions for successful test automation projects
Questions for successful test automation projectsDaniel Ionita
 
Introduction to Automation Testing
Introduction to Automation TestingIntroduction to Automation Testing
Introduction to Automation TestingFayis-QA
 
Automation Tool Overview
Automation Tool OverviewAutomation Tool Overview
Automation Tool OverviewANKUR-BA
 
Automation Tools Overview
Automation Tools OverviewAutomation Tools Overview
Automation Tools OverviewSachin-QA
 
Choosing right-automation-tool
Choosing right-automation-toolChoosing right-automation-tool
Choosing right-automation-toolBabuDevanandam
 
Automation Tools Overview
Automation Tools OverviewAutomation Tools Overview
Automation Tools OverviewMurageppa-QA
 
Automation testing IBM RFT - Rational Functional Tester
Automation testing IBM RFT - Rational Functional TesterAutomation testing IBM RFT - Rational Functional Tester
Automation testing IBM RFT - Rational Functional TesterVijayChowthri Nagaprakasham
 
РАМЕЛЛА БАСЕНКО «ROI of automation or how to sell your automation ideas to cu...
РАМЕЛЛА БАСЕНКО «ROI of automation or how to sell your automation ideas to cu...РАМЕЛЛА БАСЕНКО «ROI of automation or how to sell your automation ideas to cu...
РАМЕЛЛА БАСЕНКО «ROI of automation or how to sell your automation ideas to cu...GoQA
 
Software Test Automation Market.pdf
Software Test Automation Market.pdfSoftware Test Automation Market.pdf
Software Test Automation Market.pdfKaustubhBhandari6
 
Automation Best Practices.pptx
Automation Best Practices.pptxAutomation Best Practices.pptx
Automation Best Practices.pptxpavelpopov43
 
Lecture #6. automation testing (andrey oleynik)
Lecture #6. automation testing (andrey oleynik)Lecture #6. automation testing (andrey oleynik)
Lecture #6. automation testing (andrey oleynik)Andrey Oleynik
 
How to make Automation an asset for Organization
How to make Automation an asset for OrganizationHow to make Automation an asset for Organization
How to make Automation an asset for Organizationanuvip
 
How To Transform the Manual Testing Process to Incorporate Test Automation
How To Transform the Manual Testing Process to Incorporate Test AutomationHow To Transform the Manual Testing Process to Incorporate Test Automation
How To Transform the Manual Testing Process to Incorporate Test AutomationRanorex
 
M. Holovaty, Концепции автоматизированного тестирования
M. Holovaty, Концепции автоматизированного тестированияM. Holovaty, Концепции автоматизированного тестирования
M. Holovaty, Концепции автоматизированного тестированияAlex
 

Similar to Test_Automation_-_Let's_Talk_Business.ppt (20)

Improving ROI with Scriptless Test Automation
Improving ROI with Scriptless Test AutomationImproving ROI with Scriptless Test Automation
Improving ROI with Scriptless Test Automation
 
Questions for successful test automation projects
Questions for successful test automation projectsQuestions for successful test automation projects
Questions for successful test automation projects
 
Introduction to Automation Testing
Introduction to Automation TestingIntroduction to Automation Testing
Introduction to Automation Testing
 
Automation Tool Overview
Automation Tool OverviewAutomation Tool Overview
Automation Tool Overview
 
Automation Tools Overview
Automation Tools OverviewAutomation Tools Overview
Automation Tools Overview
 
Choosing right-automation-tool
Choosing right-automation-toolChoosing right-automation-tool
Choosing right-automation-tool
 
Automation Tools Overview
Automation Tools OverviewAutomation Tools Overview
Automation Tools Overview
 
Automation testing IBM RFT - Rational Functional Tester
Automation testing IBM RFT - Rational Functional TesterAutomation testing IBM RFT - Rational Functional Tester
Automation testing IBM RFT - Rational Functional Tester
 
Automation testing
Automation testingAutomation testing
Automation testing
 
РАМЕЛЛА БАСЕНКО «ROI of automation or how to sell your automation ideas to cu...
РАМЕЛЛА БАСЕНКО «ROI of automation or how to sell your automation ideas to cu...РАМЕЛЛА БАСЕНКО «ROI of automation or how to sell your automation ideas to cu...
РАМЕЛЛА БАСЕНКО «ROI of automation or how to sell your automation ideas to cu...
 
Software Test Automation Market.pdf
Software Test Automation Market.pdfSoftware Test Automation Market.pdf
Software Test Automation Market.pdf
 
Automation Best Practices.pptx
Automation Best Practices.pptxAutomation Best Practices.pptx
Automation Best Practices.pptx
 
Lecture #6. automation testing (andrey oleynik)
Lecture #6. automation testing (andrey oleynik)Lecture #6. automation testing (andrey oleynik)
Lecture #6. automation testing (andrey oleynik)
 
Future of QA
Future of QAFuture of QA
Future of QA
 
Futureofqa
FutureofqaFutureofqa
Futureofqa
 
Wso2con test-automation
Wso2con test-automationWso2con test-automation
Wso2con test-automation
 
How to make Automation an asset for Organization
How to make Automation an asset for OrganizationHow to make Automation an asset for Organization
How to make Automation an asset for Organization
 
How To Transform the Manual Testing Process to Incorporate Test Automation
How To Transform the Manual Testing Process to Incorporate Test AutomationHow To Transform the Manual Testing Process to Incorporate Test Automation
How To Transform the Manual Testing Process to Incorporate Test Automation
 
M. Holovaty, Концепции автоматизированного тестирования
M. Holovaty, Концепции автоматизированного тестированияM. Holovaty, Концепции автоматизированного тестирования
M. Holovaty, Концепции автоматизированного тестирования
 
Test automation
Test automationTest automation
Test automation
 

More from Gopi Raghavendra

kalyanasundaram,Gopi_tcoepresentation
kalyanasundaram,Gopi_tcoepresentationkalyanasundaram,Gopi_tcoepresentation
kalyanasundaram,Gopi_tcoepresentationGopi Raghavendra
 
Key Measurements For Testers
Key Measurements For TestersKey Measurements For Testers
Key Measurements For TestersGopi Raghavendra
 
i_Mobile Testing Service Desk_Own
i_Mobile Testing Service Desk_Owni_Mobile Testing Service Desk_Own
i_Mobile Testing Service Desk_OwnGopi Raghavendra
 
Maven TestNg frame work (1) (1)
Maven TestNg frame work (1) (1)Maven TestNg frame work (1) (1)
Maven TestNg frame work (1) (1)Gopi Raghavendra
 
performancetestingjmeter-121109061704-phpapp02
performancetestingjmeter-121109061704-phpapp02performancetestingjmeter-121109061704-phpapp02
performancetestingjmeter-121109061704-phpapp02Gopi Raghavendra
 
All Work Responsibilities in my whole Life-Testing Profession
All Work Responsibilities in my whole  Life-Testing  ProfessionAll Work Responsibilities in my whole  Life-Testing  Profession
All Work Responsibilities in my whole Life-Testing ProfessionGopi Raghavendra
 

More from Gopi Raghavendra (12)

kalyanasundaram,Gopi_tcoepresentation
kalyanasundaram,Gopi_tcoepresentationkalyanasundaram,Gopi_tcoepresentation
kalyanasundaram,Gopi_tcoepresentation
 
Testing Services
Testing ServicesTesting Services
Testing Services
 
Key Measurements For Testers
Key Measurements For TestersKey Measurements For Testers
Key Measurements For Testers
 
i_Mobile Testing Service Desk_Own
i_Mobile Testing Service Desk_Owni_Mobile Testing Service Desk_Own
i_Mobile Testing Service Desk_Own
 
QA Process
QA ProcessQA Process
QA Process
 
Maven TestNg frame work (1) (1)
Maven TestNg frame work (1) (1)Maven TestNg frame work (1) (1)
Maven TestNg frame work (1) (1)
 
Mobile App - Jmeter (1)
Mobile App - Jmeter (1)Mobile App - Jmeter (1)
Mobile App - Jmeter (1)
 
performancetestingjmeter-121109061704-phpapp02
performancetestingjmeter-121109061704-phpapp02performancetestingjmeter-121109061704-phpapp02
performancetestingjmeter-121109061704-phpapp02
 
Sikuli_Demo.pptx
Sikuli_Demo.pptxSikuli_Demo.pptx
Sikuli_Demo.pptx
 
All Work Responsibilities in my whole Life-Testing Profession
All Work Responsibilities in my whole  Life-Testing  ProfessionAll Work Responsibilities in my whole  Life-Testing  Profession
All Work Responsibilities in my whole Life-Testing Profession
 
Sikuli_Demo(1)
Sikuli_Demo(1)Sikuli_Demo(1)
Sikuli_Demo(1)
 
Load test plan
Load test planLoad test plan
Load test plan
 

Test_Automation_-_Let's_Talk_Business.ppt

  • 2. Overview ■ Test Automation Myths ■ Return on Investment (ROI) ■ Frameworks
  • 4. Myth #1 - Test Automation is simple, that every tester can do it ■ This myth is promoted by the tool sales people. They are trying to promote the following test automation process: ◻ Record the script ◻ Enhance the script by adding functions and data driving ◻ Run the scripts ◻ Report results ■ Under the influence of this myth the QA manager can proudly report: All our testers are developing test automation.
  • 5. Reality - Test automation is a software development task ■ Automation should be designed, developed and tested ■ You need to have some kind of a programming background to implement test automation. Test Automation is not as complex as C++/C#/Java development. ■ Test automation standards should be developed ■ Automated test components are assets that should be treated like application source code
  • 6. Myth #2 – Commercial test tools are expensive ■ Under the influence of this myth some companies, especially the small ones: ◻Try to develop their own test automation tools ◻Use scripting languages like Perl and Ruby ◻Use shareware test tools ◻Do not consider test automation at all
  • 7. Reality – Commercial tools are cheap ■ Per seat license for the most expensive automation tool is $8K ■ This tool will be used for 5 years. ■ Maintenance/Support fees are 20% of tool cost or $1,800 per year ■ The cost of this tool is $8K/5+$1,800 = $3,100 per year ■ The automation developer cost with overhead is $100K per year ■ The cost of this tool is just 3% of the person who uses it, but productivity gain can be very significant
  • 8. Commercial Tool Benefits: ■ Customer support. Many of the open source tools come and go with little to no support ■ Most commercial tools are constantly being updated as technologies change ■ Most commercial tools usually have more functionality (QTP can test various GUI applications: Web, .Net, Java, VB, C/C++, PowerBuilder, etc. vs. WATIR – Web only) ■ Commercial tools usually have a large community of users, which translates into better availability of qualified resources ■ Commercial tools require less advanced programming ■ More test automation frameworks are available for commercial tools ■ Commercial tools are integrated with Test Management tools which makes reporting and execution much simpler.
  • 9. Over 300 Test Tools are available (http://www.softwareqatest.com) ■ Load/Performance tools – 54 ■ Web Functional/Regression – 60 ■ Java Test tools - 48 ■ Other Web tools – 76 Which tool is right for you?
  • 10. Absolutely Unscientific research: Employer demand by tool expertise (May, 2008)
  • 11. Dice search results across US (30 days) Tool Search string Matches QTP Qtp OR quicktest OR "quick test“ 613 Functional Tester "rational robot" OR "functional tester” 118 SilkTest silktest OR "silk test” 86 TestComplete testcomplete OR "test complete” 26 TestPartner testpartner OR "test partner“ 19 VSTE VSTE AND test 45 WATIR watir 26 Selenium Selenium 108
  • 12.
  • 13. Excerpt from IDC Report: “Worldwide Automated Software Quality 2007-2011 Forecast and 2006 Vendor Shares…”
  • 14.
  • 15. Think of yourself like a business ■ Facts: ◻ Average IT job tenure is about 2 years ◻ Competitive intensity is rising ■ What you should do: ◻ Invest your time/money in learning mainstream automation ◻ Create a niche for yourself - add Configuration Management, Performance Testing or Project Management to your skillset ◻ Market yourself
  • 17. Classic ROI Calculation ROI = BENEFIT/COST Automation Cost = Price Of HW + Price of SW + Development Cost + Maintenance Cost + Execution Cost Manual Testing Cost = Development Cost + Maintenance Cost + Execution Cost ROI = (Manual Testing Cost - Automation Cost)/Automation Cost Looks right, Doesn’t it?
  • 18. Problems with Classic ROI Calculation ■ You can’t compare Automated Testing and Manual Testing. They are not the same and they provide different information about the AUT. ■ You can’t compare cost of multiple execution of automated tests vs. manual tests. You would never dream of executing that many test cases manually.
  • 19. Automation Real ROI ❑ ROI value IS NOT the value of Automation vs. Cost of executing these tests manually ❑ Automation ROI value IS the benefit of this type of testing, and it can be: ❑Reducing Time to Market ❑Increased Test Efficiency (Productivity) ❑Increased Test Effectiveness
  • 20. Reduced Time to Market ■ Can get a greater market share ■ Makes people available to work on other projects ■ Higher margins, if no competitive products are currently available
  • 21. Productivity and Effectiveness ■ More testing gets done faster, increasing the odds of finding defects ■ Defects found early have better chances of being fixed ■ Manual Testers can concentrate on clever ways to finding defects, instead of typing test inputs and verify output. ■ About 7% of bug fixes create new bugs, sometimes in already tested parts of the system. With automation you can rerun tests for those modules. This almost never happens when testing is done manually.
  • 22. ROI summary ■ Each project requires different types of automation - there is often no easy formula available to calculate ROI ■ Performing ROI calculation can help to determine upfront what type of automation, what level of skills, what tools will be required.
  • 24. Test Automation Framework ■ A Test Automation Framework is a set of assumptions, concepts and tools that provide support for Automated Software Testing. ■ A correctly implemented Test Automation Framework can further improve ROI by reducing the development and maintenance costs.
  • 25. Types of Test Automation Frameworks ■ Modular ■ Data-Driven ■ Keyword–Driven ■ Model-Based
  • 26. Modular framework ■ The Modular framework is the natural progression derived from Record-and-Playback ■ The modular framework seeks to minimize repetition of code by grouping similar actions into “modules” (e.g.: login) ■ Test Data is in a script or in an internal table This is what tool sales people are promoting.
  • 27. Data-Driven/Keyword Driven ■ These frameworks are similar in that the data is separated from the test script ■ The script is just a "driver" or delivery mechanism for the data. ■ The difference: ◻In keyword-driven testing, the navigation data and test data are contained in the data source ◻In data-driven testing, only test data is contained in the data source.
  • 28. Model-Based testing ■ Model-based testing is software testing in which test cases are derived in whole or in part from a model that describes some (usually functional) aspects of the system. ■ Model-based testing for complex software systems is still an evolving field.
  • 29. We’ll be concentrating on Keyword-Driven testing since it is the most beneficial framework for large-scale test automation.
  • 30. Advantages of Keyword-Driven Test automation ■ This Framework addresses the most common problem with test automation: Automation Engineers do not have domain knowledge and the End Users (Subject Matter Experts/Test Engineers) usually do not have automation expertise. ■ When properly implemented and maintained, it presents a superior ROI because each business event is designed, automated and maintained as a discrete entity. ■ Keywords can then be used to design test cases, but the design and automation overhead for the keyword has already been paid.
  • 31. Advantages of Keyword-Driven Test automation ■ Reduced the cost and time spent maintaining and updating tests ■ The modular structure of keyword-driven testing means that new tests can easily be created from pre-existing modules ■ The test team is capable of entirely automating tests, even without programming knowledge ■ Can be easily modified to use with different test tool ■ Reusability across different projects
  • 32. Classic Keyword-Driven Example Object Action Data Textfield (username) Enter Text <username>
  • 33. Recent Success with Keyword-Driven approach ■ Estimate using Modular Framework: 1 year ■ Estimate with Keyword-Driven Framework: 6 months Project was completed in 4 months by 1 person, 2 month ahead of schedule. This was the first project for the automation developer utilizing the Keyword-Driven Framework. 170 components were developed (1 component per Web page). 109 Regression Test cases were automated.
  • 34. Example of Test Data for Keyword-Driven test automation developed by Connected Testing Inc. for TestComplete and QTP
  • 35. Resources ■ “Everything you want to know about Test Automation…” by Brian Le Suer ■ “Manager’s Guide to GUI Test Automation” by Yury Makedonov ■ “The ROI of Test Automation” by Michael Kelly ■ “What is my ROI?” by mVerify Corporation ■ SQA Forums ■ “An Overview of Test Automation Frameworks” by Nathaniel Ritmeyer ■ “The benefits of keyword-based software test automation” by David W. Johnson ■ Wikipedia
  • 36. Gopi QA Head Company: Connected Testing, Inc. E-Mail: info@etaclamtechnoservices.com Phone: +91- 93 92 91 89 89 Website: www.etaclamtechnoservices.com