SlideShare a Scribd company logo
Howtotransformthe
ManualTestingprocessto
incorporateTestAutomation
JimTrentadue
EnterpriseAccount Manager - Ranorex
jtrentadue@ranorex.com
Agenda
3
Agenda
• Test activities and deliverables within a Waterfall and Agile SDLC
• Test Automation working models and frameworks in the industry
• Incorporating key aspects fromTest Automation procedures and fusing them
into standard testing processes
• Deep-dive intoTestingArtifacts: Plan & Avoid particular topics
• Additional areas of impact among the project team members
• Case Study review
• Session recap
Testactivities/deliverableswithinthe
AgileandWaterfallSDLC
5
TestActivitieswithinanAgileSDLC
Project Initiation
Typical Agile process of activities to test deliverables
The End Game
(SystemTest)
Release Planning
Release to Prod/Support
Each Iteration
1
…
X
Get an understanding of the project
Participate in sizing stories; Create test plans
Participate in sprint planning, estimating tasks
Write and execute story tests
Pair-test with other testers, developers
Business validation (customers)
Automate new functional test cases; Run automated regression test cases
Run project load tests
Demo to the stakeholders
Release mgmt tests mock deploy on staging; Smoke test on staging
Perform load test (if needed)
Complete regression test; Participate in releases readiness
Business testers perform UAT
Participate in release to production
Participate in retrospectives
Agile Testing – Crispin & Gregory
6
TestActivitieswithinawaterfallSDLC
Standard V-Model set of testing activities
Test
Strategy
Test
Scenarios
Test
Cases
Test
Scripts
Test
Results
Test
Summary
Project
Initiation
Analysis
Design
Develop
Testing
Deploy
7
TestAutomationFrameworks
Record 
Playback
Structured
Testing
(invokes
more
conditions)
Data Driven
Keyword
Driven
Model /
Object
Based
Actions
Based
Hybrid
(combines 2
or more of
the previous
frameworks)
Below is a list and evolution of available test automation frameworks
TestAutomationworkingmodelsand
frameworksintheindustry
9
Keypoints withTestAutomationwithinAgile
0-10%
UI Centric
Automation
20-40%
Service or MiddleTier
Automation
50-60%
Unit levelAutomation
+80%, UI Centric Automation
0-10%
Service or MiddleTier
Automation
0-10% Unit level
Automation
Velocity Partners –
The Agile Test Automation pyramid, Mike Cohn
Agile automation
• Smaller units of
work pieced
together as
opposed to end-
to-end
• Iterative review of
the automation;
constant review of
backlog
• Automation of a
given screen even
if not complete
10
MappinganATLMagainstaWaterfallSDLC
Automated Software Testing: Introduction, Management and Performance – Dustin, Rashka, Paul
Illustration of how typical
activities of an ATLM align with
SDLC activities
D. System Design & Development C. SmallTool Pilot/Prototype
A. System Life-Cycle ProcessF. Production and Maintenance
B.BusinessAnalysisandRequirements
E.IntegrationandTest
FusingaTestAutomationprocessinto
anexistingTestingProcess
12
TestAutomation-Agilefusion
Agile Testing –
Crispin & Gregory
Questions facing each of the quadrants
• How can it be
coded test-first?
• Do we know how
to unit test our
presentation
layer; do we need
a tool for that?
• How are we going
to prototype?
• What tool will we
use to create
executable
business-facing
tests to guide
development?
• Do we have
regression tests
that will need
updating?
• Requires more
advance planning
• Will need to track
the users’ activities
for further analysis
• Load scripts might
use the old UI; time
has to be budgeted
to update these for
the new one
13
TestAutomation-Waterfallfusion
Outline the scope of automation in the ReleaseTest Plan
Divide test scenarios:Automated vs. Manual
Prepare the automated test workflow
with error-handling
(new and regression)
Record your modules,
ensuring all objects have
been recognized
Replay until test
executes as
expected
Check-in
CM
Planning test automation activities into your testing process
Project
Initiation
Test
Strategy
Analysis
Design
Develop
Testing
Deploy
Test
Scenarios
Test
Cases
Test
Scripts
Test
Results
Test
Summary
Test Automation activities:
Deep-diveintoTestingArtifacts:
Plan&Avoidparticulartopics
15
TestStrategy/TestPlan
Not listing automation in
the MasterTest Plan for
accomplishing the testing
on schedule
Not documenting all of
the related variables for
automation, such as
resources, environments,
data, controls & licensing
Omitting a
section for
automation That the tool selection
preparation has been
done on the technologies
being used and how team
members will use this
To include automation
(developing or executing)
in every iteration or build,
as part of the overall test
approach in the project
To obtain
stakeholder
buy-in for
automation
initiatives
16
TestScenarios/TestStories
Writing the scenarios or
stories at a level that
does not allow for
automation as a solution
Trying to automate those
areas that focus on
usability, reliability,
maintainability or other
abstract areas
Topics that
can’t be
automated To define the ‘how’ along
with ‘what’ for your given
topic to ensure it gives
clear understanding on
responsibility
A second review of the
topic if it’s tagged for
automation to ensure
more precise wording for
automation
To parse
automation
candidates
17
TestCases/TestScripts
Assuming that previously
written manual test cases
can be automated, thus
planning the automation
until later in the schedule
Delaying the inclusion of
automation development
and execution at the start
of the schedule or sprint
Automation
as a final
activity Frequent component-
level runs with Agile
development, designed
as automated test cases
from the onset
End-to-end regression
tests runs for those tests
that are applicable to the
changes deployed
Continuous
Integration
18
TestSummary/Retrospectives
Considering the
automated tests as a
simple test case artifact
as opposed to a
development activity
Losing the opportunity
on scheduling a window
for test maintenance on
the automation outside
of project activities
Not
reworking
automation
failures
Automation metric
reviews on each iteration
and sprint to show the
time savings and velocity
for each tester involved
On incorporating the
manual tests that have
been completed into the
regression test library
either in a maintenance
window or during a sprint
On
improving
automation
at the next
chance
Additionalareasofimpactamong
projectteammembers
20
Projectteammembersimpact
Project Manager
• Allocates the
right resources
and schedules
accordingly
• Accounts for
budget planning
for licenses,
environments or
head count
• Works withTest
Lead on scope
of effort and
separating the
manual from
automated tests
Business Analysts
• Formulates a
requirements
process for
selecting the
right solution
• Publishes
business rules to
consider in the
automation
architecture
• Serves as
conduit to UAT
for automating
business process
Development
• Codes any test
functions that a
tester may
request
• Documents
standards for
control names
and objects
• Assists in any
debugging of
the test cases
SystemTesters
• Supplies altered
manual test
cases to be used
as a guide for
automating
• Sets direction
on testing types
for manual vs.
automated
scenarios
• Guides test
automation
team creating
end-to-end test
scenarios
DBA’s
• Connects data
source (RDBMS)
to automated
solution
• Builds related
SQL queries for
use in data-
driven testing
• Maintains data
integrity and
database
optimization
processes
IT Management
• Champions
initiative with
analysts driving
the effort
• Provides capital
support for
expenditure:
(licenses,
training,
resources)
• Reviews and
invests in the
initiative as the
business case
warrants
Looking at the different roles of who can assist withTest Automation
CaseStudyreview
22
CaseStudy:Background&Solution
Titled: Automation Through the Back Door (By Supporting Manual Testing)
Experiences of Test Automation – Graham & Fewster
Background:
To improve the rate of test automation in the
organization, modifications were made to the test
automation framework to support manual testing.
Technical Solution:
Develop a framework that is based off of keyword-
driven testing called command-driven testing.
What is Command-Driven Testing?
• Uses keywords that are simple commands
(SELECT, BUTTON)
• Interpreter scripts are the same for all products
• Using the advantages that come from Data-
Driven testing, navigation was placed into a
DRIVER-File; data in a DATA-File
• These two files built together would form a
command script
• The script-runner reads sequentially the
commands in the DRIVER-File. DATA-Codes are
substituted with data from the DATA-File
With Command-Driven testing:
• Testers don’t necessarily need to learn tool scripting
• The separation in navigation and data sections makes the command scripts
flexible and reusable
• DRIVER-Files can be easily ported to different applications
• DRIVER-Files need not be changed on migrating to another tool
• The test tool is needed only to prepare the templates and to run the tests
23
CaseStudy:Processforimplementation
Titled: Automation Through the Back Door (By Supporting Manual Testing)
Experiences of Test Automation – Graham & Fewster
Prerequisites:
1. You cannot start if you don’t
know the application and the
test cases that are to be
automated
2. You need a working engine
that can interpret all the
commands you are going to
need for your test cases
3. You must have registered all
the GUI elements that will be
used in test execution in the
proprietary mapping of the
deployed capture/replay tools
in order to normalize the
names of the GUI controls
Step 1
Record the test case with the
capture functionality of the test
automation solution
Step 2
Translate
generated
script to
command-
scripts
Step 3
Developing plannedTC’s
from template and build
test suites
24
CaseStudy:KeyPoints
• Due to limited testing resources for test automation, significant effort still had
to be spent on regression testing. However, the command-driven framework
was adopted for manual testing as well as automated testing
• This approach helped limit the number of times a tester would simultaneously
work on the same template, which was a current weakness
• Defect reporting became much easier. It avoided the testing team having to
repeat the same steps to recreate the defect
• Continuous reviews were done to assess what features were available and what
was needed to support manual testing
• Implementation included a feature that supports the execution of partially
automated tests, that could aid with tedious test preparation tasks
• Manual tests focused on customer-specific conditions now instead
Experiences of Test Automation – Graham & Fewster
SessionRecap
26
Recapofthepresentation
Reviewing the main points of the presentation
• Outline your testing process by phase and deliverable, with consideration on
where automation would apply
• Investigate the various test automation processes and frameworks available in
the industry to determine what’s most suitable to your organization or initiative
• Fuse test automation topics into each testing phase or milestone accompanied
with a deliverable
• Delve deeper into your testing artifacts to incorporate automation through
planned activities and avoidance areas
• Include other project team members in the automation initiative to contribute
in their area of expertise
• Present a real-life case study to management, to emulate good examples or to
ensure this does not occur during your research and implementation
Thankyouforattending!
JimTrentadue
EnterpriseAccount Manager- Ranorex
jtrentadue@ranorex.com

More Related Content

What's hot (20)

PPTX
Automation Tools Overview
Murageppa-QA
 
PPTX
Test Automation - Everything You Need To Know
BugRaptors
 
PDF
New trends in testing automation
Eran Kinsbrunner
 
PDF
Selecting the Right Automated Testing tool
Ho Chi Minh City Software Testing Club
 
PDF
Automated Desktop and Web Testing Webinars
Ranorex
 
PDF
Testing Tool Evaluation Criteria
basma_iti_1984
 
PPT
Automated Testing with Agile
Ken McCorkell
 
PDF
Mobile Test Automation Webinars
Ranorex
 
PDF
Agile testing - Principles and best practices
Dr Ganesh Iyer
 
PDF
Test Automation
rockoder
 
PPTX
Automation testing
Mona M. Abd El-Rahman
 
PPTX
Introduction to Automation Testing
Archana Krushnan
 
PPT
Automation Framework/QTP Framework
HeyDay Software Solutions
 
PDF
John Fodeh Adventures in Test Automation - EuroSTAR 2013
TEST Huddle
 
PPTX
Selenium RC, Selenium WebDriver and HP LoadRunner
Murageppa-QA
 
PDF
Introduction to Test Automation - Technology and Tools
KMS Technology
 
PPTX
Automation Testing
Sun Technlogies
 
PDF
Introduction to Back End Automation Testing - Nguyen Vu Hoang, Hoang Phi
Ho Chi Minh City Software Testing Club
 
PPT
Automation Concepts
Nishant Worah
 
PDF
Key Factors To Ensure Test Automation Framework Success
Ho Chi Minh City Software Testing Club
 
Automation Tools Overview
Murageppa-QA
 
Test Automation - Everything You Need To Know
BugRaptors
 
New trends in testing automation
Eran Kinsbrunner
 
Selecting the Right Automated Testing tool
Ho Chi Minh City Software Testing Club
 
Automated Desktop and Web Testing Webinars
Ranorex
 
Testing Tool Evaluation Criteria
basma_iti_1984
 
Automated Testing with Agile
Ken McCorkell
 
Mobile Test Automation Webinars
Ranorex
 
Agile testing - Principles and best practices
Dr Ganesh Iyer
 
Test Automation
rockoder
 
Automation testing
Mona M. Abd El-Rahman
 
Introduction to Automation Testing
Archana Krushnan
 
Automation Framework/QTP Framework
HeyDay Software Solutions
 
John Fodeh Adventures in Test Automation - EuroSTAR 2013
TEST Huddle
 
Selenium RC, Selenium WebDriver and HP LoadRunner
Murageppa-QA
 
Introduction to Test Automation - Technology and Tools
KMS Technology
 
Automation Testing
Sun Technlogies
 
Introduction to Back End Automation Testing - Nguyen Vu Hoang, Hoang Phi
Ho Chi Minh City Software Testing Club
 
Automation Concepts
Nishant Worah
 
Key Factors To Ensure Test Automation Framework Success
Ho Chi Minh City Software Testing Club
 

Viewers also liked (20)

PPT
Automation testing strategy, approach & planning
SivaprasanthRentala1975
 
PPTX
Agile Test Transformation
Subrahmaniam S.R.V
 
PDF
Role of an SDET in Agile Testing
Gopikrishna Kannan
 
PPT
Test Automation Demonstration with Dr Yongyan Wang by XBOSoft
XBOSoft
 
DOC
24 collections framework interview questions
Arun Vasanth
 
PDF
Ranorex Studio - Introduction, Features & Limitations - Mobile Test Automati...
eVideoTuition
 
PPTX
Automation_testing
Yana Altunyan
 
PPSX
Automation Framework 042009 V2
guestb66d91
 
PDF
Cucumber questions
Shivaraj R
 
PPTX
Top 5 pitfalls of software test automatiion
ekatechserv
 
PPTX
Selenium for Jobseekers
Seshu Madhav Chaturvedula
 
PPT
Test automation principles, terminologies and implementations
Steven Li
 
PDF
Laws of test automation framework
vodqancr
 
PPTX
Making the Transition from Manual to Automated Testing
Sauce Labs
 
PPTX
Test automation within a scrum process
Kushan Shalindra Amarasiri - Technical QE Specialist
 
PPT
Selenium Automation Framework
Mindfire Solutions
 
PPTX
Organization of Automated Testing
Klika Tech, Inc
 
PPTX
Test automation framework
QACampus
 
PDF
Test automation - What? Why? How?
Anand Bagmar
 
PDF
Selenium webdriver interview questions and answers
ITeLearn
 
Automation testing strategy, approach & planning
SivaprasanthRentala1975
 
Agile Test Transformation
Subrahmaniam S.R.V
 
Role of an SDET in Agile Testing
Gopikrishna Kannan
 
Test Automation Demonstration with Dr Yongyan Wang by XBOSoft
XBOSoft
 
24 collections framework interview questions
Arun Vasanth
 
Ranorex Studio - Introduction, Features & Limitations - Mobile Test Automati...
eVideoTuition
 
Automation_testing
Yana Altunyan
 
Automation Framework 042009 V2
guestb66d91
 
Cucumber questions
Shivaraj R
 
Top 5 pitfalls of software test automatiion
ekatechserv
 
Selenium for Jobseekers
Seshu Madhav Chaturvedula
 
Test automation principles, terminologies and implementations
Steven Li
 
Laws of test automation framework
vodqancr
 
Making the Transition from Manual to Automated Testing
Sauce Labs
 
Test automation within a scrum process
Kushan Shalindra Amarasiri - Technical QE Specialist
 
Selenium Automation Framework
Mindfire Solutions
 
Organization of Automated Testing
Klika Tech, Inc
 
Test automation framework
QACampus
 
Test automation - What? Why? How?
Anand Bagmar
 
Selenium webdriver interview questions and answers
ITeLearn
 
Ad

Similar to How To Transform the Manual Testing Process to Incorporate Test Automation (20)

PPTX
OS-Final-Transform-Manual-Testing-Processes-to-incorporate-Automatio....pptx
ShivareddyGangam
 
PPT
Testing Frameworks
Moataz Nabil
 
PPT
Automated testing overview
Alex Pop
 
PPT
Your score increases as you pick a category, fill out a long description and ...
SENTHILR44
 
PPT
SAP Testing Services
r_shanki
 
PPTX
7 Tips from Siemens Energy for Success with Automation
Worksoft
 
PDF
Best Practices for Testing in salesforce.com
Blezard CRM Consulting Ltd
 
PPT
Test Automation for QTP
Kiran Rayachoti
 
PPT
Test Automation
Kiran Rayachoti
 
PPT
M. Holovaty, Концепции автоматизированного тестирования
Alex
 
PDF
Test Automation using UiPath Test Suite - Developer Circle Part-4.pdf
Diana Gray, MBA
 
PDF
Improving ROI with Scriptless Test Automation
Mindfire LLC
 
PPT
Test planning and software's engineering
MansiganeshJawale
 
PDF
The Ultimate Test Automation Guide_ Best Practices and Tips.pdf
kalichargn70th171
 
PPTX
Small is Beautiful- Fully Automate your Test Case Design
Georgina Tilby
 
PDF
Test Automation using UiPath Test Suite - Developer Circle Part-2.pdf
Diana Gray, MBA
 
PPT
Software test management
Vishad Garg
 
PDF
Automation in Scrum Testing: Speed Without Sacrificing Quality
Shubham Joshi
 
PDF
Objectorientedtesting 160320132146
vidhyyav
 
PPTX
Object oriented testing
Haris Jamil
 
OS-Final-Transform-Manual-Testing-Processes-to-incorporate-Automatio....pptx
ShivareddyGangam
 
Testing Frameworks
Moataz Nabil
 
Automated testing overview
Alex Pop
 
Your score increases as you pick a category, fill out a long description and ...
SENTHILR44
 
SAP Testing Services
r_shanki
 
7 Tips from Siemens Energy for Success with Automation
Worksoft
 
Best Practices for Testing in salesforce.com
Blezard CRM Consulting Ltd
 
Test Automation for QTP
Kiran Rayachoti
 
Test Automation
Kiran Rayachoti
 
M. Holovaty, Концепции автоматизированного тестирования
Alex
 
Test Automation using UiPath Test Suite - Developer Circle Part-4.pdf
Diana Gray, MBA
 
Improving ROI with Scriptless Test Automation
Mindfire LLC
 
Test planning and software's engineering
MansiganeshJawale
 
The Ultimate Test Automation Guide_ Best Practices and Tips.pdf
kalichargn70th171
 
Small is Beautiful- Fully Automate your Test Case Design
Georgina Tilby
 
Test Automation using UiPath Test Suite - Developer Circle Part-2.pdf
Diana Gray, MBA
 
Software test management
Vishad Garg
 
Automation in Scrum Testing: Speed Without Sacrificing Quality
Shubham Joshi
 
Objectorientedtesting 160320132146
vidhyyav
 
Object oriented testing
Haris Jamil
 
Ad

Recently uploaded (20)

PDF
Smart Trailers 2025 Update with History and Overview
Paul Menig
 
PPTX
"Autonomy of LLM Agents: Current State and Future Prospects", Oles` Petriv
Fwdays
 
PDF
Bitcoin for Millennials podcast with Bram, Power Laws of Bitcoin
Stephen Perrenod
 
PDF
POV_ Why Enterprises Need to Find Value in ZERO.pdf
darshakparmar
 
PPTX
AI Penetration Testing Essentials: A Cybersecurity Guide for 2025
defencerabbit Team
 
PDF
DevBcn - Building 10x Organizations Using Modern Productivity Metrics
Justin Reock
 
PPTX
WooCommerce Workshop: Bring Your Laptop
Laura Hartwig
 
PDF
IoT-Powered Industrial Transformation – Smart Manufacturing to Connected Heal...
Rejig Digital
 
PPTX
COMPARISON OF RASTER ANALYSIS TOOLS OF QGIS AND ARCGIS
Sharanya Sarkar
 
PDF
Jak MŚP w Europie Środkowo-Wschodniej odnajdują się w świecie AI
dominikamizerska1
 
PDF
Mastering Financial Management in Direct Selling
Epixel MLM Software
 
PDF
Achieving Consistent and Reliable AI Code Generation - Medusa AI
medusaaico
 
PDF
Newgen 2022-Forrester Newgen TEI_13 05 2022-The-Total-Economic-Impact-Newgen-...
darshakparmar
 
PDF
What Makes Contify’s News API Stand Out: Key Features at a Glance
Contify
 
PDF
[Newgen] NewgenONE Marvin Brochure 1.pdf
darshakparmar
 
PPTX
Q2 FY26 Tableau User Group Leader Quarterly Call
lward7
 
PDF
Reverse Engineering of Security Products: Developing an Advanced Microsoft De...
nwbxhhcyjv
 
PPTX
OpenID AuthZEN - Analyst Briefing July 2025
David Brossard
 
PDF
NewMind AI - Journal 100 Insights After The 100th Issue
NewMind AI
 
PDF
Agentic AI lifecycle for Enterprise Hyper-Automation
Debmalya Biswas
 
Smart Trailers 2025 Update with History and Overview
Paul Menig
 
"Autonomy of LLM Agents: Current State and Future Prospects", Oles` Petriv
Fwdays
 
Bitcoin for Millennials podcast with Bram, Power Laws of Bitcoin
Stephen Perrenod
 
POV_ Why Enterprises Need to Find Value in ZERO.pdf
darshakparmar
 
AI Penetration Testing Essentials: A Cybersecurity Guide for 2025
defencerabbit Team
 
DevBcn - Building 10x Organizations Using Modern Productivity Metrics
Justin Reock
 
WooCommerce Workshop: Bring Your Laptop
Laura Hartwig
 
IoT-Powered Industrial Transformation – Smart Manufacturing to Connected Heal...
Rejig Digital
 
COMPARISON OF RASTER ANALYSIS TOOLS OF QGIS AND ARCGIS
Sharanya Sarkar
 
Jak MŚP w Europie Środkowo-Wschodniej odnajdują się w świecie AI
dominikamizerska1
 
Mastering Financial Management in Direct Selling
Epixel MLM Software
 
Achieving Consistent and Reliable AI Code Generation - Medusa AI
medusaaico
 
Newgen 2022-Forrester Newgen TEI_13 05 2022-The-Total-Economic-Impact-Newgen-...
darshakparmar
 
What Makes Contify’s News API Stand Out: Key Features at a Glance
Contify
 
[Newgen] NewgenONE Marvin Brochure 1.pdf
darshakparmar
 
Q2 FY26 Tableau User Group Leader Quarterly Call
lward7
 
Reverse Engineering of Security Products: Developing an Advanced Microsoft De...
nwbxhhcyjv
 
OpenID AuthZEN - Analyst Briefing July 2025
David Brossard
 
NewMind AI - Journal 100 Insights After The 100th Issue
NewMind AI
 
Agentic AI lifecycle for Enterprise Hyper-Automation
Debmalya Biswas
 

How To Transform the Manual Testing Process to Incorporate Test Automation

  • 3. 3 Agenda • Test activities and deliverables within a Waterfall and Agile SDLC • Test Automation working models and frameworks in the industry • Incorporating key aspects fromTest Automation procedures and fusing them into standard testing processes • Deep-dive intoTestingArtifacts: Plan & Avoid particular topics • Additional areas of impact among the project team members • Case Study review • Session recap
  • 5. 5 TestActivitieswithinanAgileSDLC Project Initiation Typical Agile process of activities to test deliverables The End Game (SystemTest) Release Planning Release to Prod/Support Each Iteration 1 … X Get an understanding of the project Participate in sizing stories; Create test plans Participate in sprint planning, estimating tasks Write and execute story tests Pair-test with other testers, developers Business validation (customers) Automate new functional test cases; Run automated regression test cases Run project load tests Demo to the stakeholders Release mgmt tests mock deploy on staging; Smoke test on staging Perform load test (if needed) Complete regression test; Participate in releases readiness Business testers perform UAT Participate in release to production Participate in retrospectives Agile Testing – Crispin & Gregory
  • 6. 6 TestActivitieswithinawaterfallSDLC Standard V-Model set of testing activities Test Strategy Test Scenarios Test Cases Test Scripts Test Results Test Summary Project Initiation Analysis Design Develop Testing Deploy
  • 7. 7 TestAutomationFrameworks Record Playback Structured Testing (invokes more conditions) Data Driven Keyword Driven Model / Object Based Actions Based Hybrid (combines 2 or more of the previous frameworks) Below is a list and evolution of available test automation frameworks
  • 9. 9 Keypoints withTestAutomationwithinAgile 0-10% UI Centric Automation 20-40% Service or MiddleTier Automation 50-60% Unit levelAutomation +80%, UI Centric Automation 0-10% Service or MiddleTier Automation 0-10% Unit level Automation Velocity Partners – The Agile Test Automation pyramid, Mike Cohn Agile automation • Smaller units of work pieced together as opposed to end- to-end • Iterative review of the automation; constant review of backlog • Automation of a given screen even if not complete
  • 10. 10 MappinganATLMagainstaWaterfallSDLC Automated Software Testing: Introduction, Management and Performance – Dustin, Rashka, Paul Illustration of how typical activities of an ATLM align with SDLC activities D. System Design & Development C. SmallTool Pilot/Prototype A. System Life-Cycle ProcessF. Production and Maintenance B.BusinessAnalysisandRequirements E.IntegrationandTest
  • 12. 12 TestAutomation-Agilefusion Agile Testing – Crispin & Gregory Questions facing each of the quadrants • How can it be coded test-first? • Do we know how to unit test our presentation layer; do we need a tool for that? • How are we going to prototype? • What tool will we use to create executable business-facing tests to guide development? • Do we have regression tests that will need updating? • Requires more advance planning • Will need to track the users’ activities for further analysis • Load scripts might use the old UI; time has to be budgeted to update these for the new one
  • 13. 13 TestAutomation-Waterfallfusion Outline the scope of automation in the ReleaseTest Plan Divide test scenarios:Automated vs. Manual Prepare the automated test workflow with error-handling (new and regression) Record your modules, ensuring all objects have been recognized Replay until test executes as expected Check-in CM Planning test automation activities into your testing process Project Initiation Test Strategy Analysis Design Develop Testing Deploy Test Scenarios Test Cases Test Scripts Test Results Test Summary Test Automation activities:
  • 15. 15 TestStrategy/TestPlan Not listing automation in the MasterTest Plan for accomplishing the testing on schedule Not documenting all of the related variables for automation, such as resources, environments, data, controls & licensing Omitting a section for automation That the tool selection preparation has been done on the technologies being used and how team members will use this To include automation (developing or executing) in every iteration or build, as part of the overall test approach in the project To obtain stakeholder buy-in for automation initiatives
  • 16. 16 TestScenarios/TestStories Writing the scenarios or stories at a level that does not allow for automation as a solution Trying to automate those areas that focus on usability, reliability, maintainability or other abstract areas Topics that can’t be automated To define the ‘how’ along with ‘what’ for your given topic to ensure it gives clear understanding on responsibility A second review of the topic if it’s tagged for automation to ensure more precise wording for automation To parse automation candidates
  • 17. 17 TestCases/TestScripts Assuming that previously written manual test cases can be automated, thus planning the automation until later in the schedule Delaying the inclusion of automation development and execution at the start of the schedule or sprint Automation as a final activity Frequent component- level runs with Agile development, designed as automated test cases from the onset End-to-end regression tests runs for those tests that are applicable to the changes deployed Continuous Integration
  • 18. 18 TestSummary/Retrospectives Considering the automated tests as a simple test case artifact as opposed to a development activity Losing the opportunity on scheduling a window for test maintenance on the automation outside of project activities Not reworking automation failures Automation metric reviews on each iteration and sprint to show the time savings and velocity for each tester involved On incorporating the manual tests that have been completed into the regression test library either in a maintenance window or during a sprint On improving automation at the next chance
  • 20. 20 Projectteammembersimpact Project Manager • Allocates the right resources and schedules accordingly • Accounts for budget planning for licenses, environments or head count • Works withTest Lead on scope of effort and separating the manual from automated tests Business Analysts • Formulates a requirements process for selecting the right solution • Publishes business rules to consider in the automation architecture • Serves as conduit to UAT for automating business process Development • Codes any test functions that a tester may request • Documents standards for control names and objects • Assists in any debugging of the test cases SystemTesters • Supplies altered manual test cases to be used as a guide for automating • Sets direction on testing types for manual vs. automated scenarios • Guides test automation team creating end-to-end test scenarios DBA’s • Connects data source (RDBMS) to automated solution • Builds related SQL queries for use in data- driven testing • Maintains data integrity and database optimization processes IT Management • Champions initiative with analysts driving the effort • Provides capital support for expenditure: (licenses, training, resources) • Reviews and invests in the initiative as the business case warrants Looking at the different roles of who can assist withTest Automation
  • 22. 22 CaseStudy:Background&Solution Titled: Automation Through the Back Door (By Supporting Manual Testing) Experiences of Test Automation – Graham & Fewster Background: To improve the rate of test automation in the organization, modifications were made to the test automation framework to support manual testing. Technical Solution: Develop a framework that is based off of keyword- driven testing called command-driven testing. What is Command-Driven Testing? • Uses keywords that are simple commands (SELECT, BUTTON) • Interpreter scripts are the same for all products • Using the advantages that come from Data- Driven testing, navigation was placed into a DRIVER-File; data in a DATA-File • These two files built together would form a command script • The script-runner reads sequentially the commands in the DRIVER-File. DATA-Codes are substituted with data from the DATA-File With Command-Driven testing: • Testers don’t necessarily need to learn tool scripting • The separation in navigation and data sections makes the command scripts flexible and reusable • DRIVER-Files can be easily ported to different applications • DRIVER-Files need not be changed on migrating to another tool • The test tool is needed only to prepare the templates and to run the tests
  • 23. 23 CaseStudy:Processforimplementation Titled: Automation Through the Back Door (By Supporting Manual Testing) Experiences of Test Automation – Graham & Fewster Prerequisites: 1. You cannot start if you don’t know the application and the test cases that are to be automated 2. You need a working engine that can interpret all the commands you are going to need for your test cases 3. You must have registered all the GUI elements that will be used in test execution in the proprietary mapping of the deployed capture/replay tools in order to normalize the names of the GUI controls Step 1 Record the test case with the capture functionality of the test automation solution Step 2 Translate generated script to command- scripts Step 3 Developing plannedTC’s from template and build test suites
  • 24. 24 CaseStudy:KeyPoints • Due to limited testing resources for test automation, significant effort still had to be spent on regression testing. However, the command-driven framework was adopted for manual testing as well as automated testing • This approach helped limit the number of times a tester would simultaneously work on the same template, which was a current weakness • Defect reporting became much easier. It avoided the testing team having to repeat the same steps to recreate the defect • Continuous reviews were done to assess what features were available and what was needed to support manual testing • Implementation included a feature that supports the execution of partially automated tests, that could aid with tedious test preparation tasks • Manual tests focused on customer-specific conditions now instead Experiences of Test Automation – Graham & Fewster
  • 26. 26 Recapofthepresentation Reviewing the main points of the presentation • Outline your testing process by phase and deliverable, with consideration on where automation would apply • Investigate the various test automation processes and frameworks available in the industry to determine what’s most suitable to your organization or initiative • Fuse test automation topics into each testing phase or milestone accompanied with a deliverable • Delve deeper into your testing artifacts to incorporate automation through planned activities and avoidance areas • Include other project team members in the automation initiative to contribute in their area of expertise • Present a real-life case study to management, to emulate good examples or to ensure this does not occur during your research and implementation