Académique Documents
Professionnel Documents
Culture Documents
Product Manager
No worries – not here to sale you anything (but to ensure the kids
get fed I have to mention them)
Application Experts
60% Plan and Design Tests
Manage Test Data
30%
Implementers
Built scripts based on modules and
utilities
10% Coders
Write modules and utilities
Could be developers “on loan”
“Cockpit Alignment” Problem
traditional record/playback
“caught in the middle”
Why is Keyword Driven Testing
Needed?
More productivity desired from the non-technical base of users
Test automation tools need to be easier to use for business analysts and
subject matter expects
Details of scripts are hidden from the user
Users don’t have to learn the script language to write scripts
ROI
Companies want faster ROI on purchasing of Automated Test Tools
Companies want investment is test professionals to provide quicker
returns
Reusability
Common script development techniques
The Problem
Where is the Easy Button
IBM
Agenda
Frameworks
Frameworks are simply Function Libraries extending the
Automated test tool being used.
Libraries, functions, etc created to interface with Applications.
Automation Scripts utilized these Libraries
Very proprietary to the organization and often to the AUT
Do not resolve the usability from the non-technical tester
First step to the evolution of Keyword Driven testing
The Basics – What is a
Keyword
A Word that provides a simplified
representation of a more complex
concept
User
Uses Creates
Application AUT
15
The Basics – Keyword Driven
testing
Provides Clarity
Teamwork and
optimization of
resources
Working Smarter not Harder
Agenda
End-user validated
IBM internal users are continually adopting, enhancing and building new features
for the frameworkcode base
23
Framework Methodology
Build automation focused on the application’s business logic
24
Framework Architecture
Re-useable code
for all clients
25
WAIT -- Keyword Automation
The Real Point for “Keyword Driven Testing” is at “Why”, not at “What-is”
“Keyword” Context (in Keyword Driven Testing) has been created for around 10 years,
working as:
Standardized Interface in Native language Across Different Contexts (such as, manual tester’s,
automation developer’s),
Mapping to a unique, reusable, “Function” in programming
Able to Share Across Teams/Projects, SUTs
Why Keyword?
Aim to Deliver an Effective Test Automation Solution
First, Create .Map file. This is a set of keywords and how they map
to your Functional tester Objects
Keyword/Framework Solutions
Why SAFS QTP/BPT Certify RQM/RFT Homegrown
Step Table (.SDD Files) tells functional tester what to do for each step as it
reads the application map file. It is the Test
Suite (.STD files) group Step files together
Keyword/Framework Solutions
Why SAFS QTP/BPT Certify RQM/RFT Homegrown
Advantages Disadvantages
¾ Enables non-technical ¾ A lot of setup required for
testers create tests using an mapping keywords
application such as notepad ¾ The framework requires
based on keywords defined customization for each
in the map file. automation testing tool
¾ Tests can be created quickly ¾ Not very fancy, have to
and easily maintain things in text format.
¾ No knowledge of underlying ¾ Lot of work needs to be done
automation framework is external to the tool
needed ¾ Keywords need to be mapped
to objects in the automation
tool
Keyword/Framework Solutions
Why SAFS QTP/BPT Certify RQM/RFT Homegrown
Mercury EULA
You may not...provide externally or to third
parties any oral or written communication
that describes or summarizes the features,
functions or performance characteristics of
the Licensed Program and Documentation,
or that compares the Licensed Program
with any other similar product of Yours or
any third party;
Keyword/Framework Solutions
Why SAFS QTP/BPT Certify RQM/RFT Homegrown
The Real Point for “Keyword Driven Testing” is at “Why”, not at “What-is”
3838
Keyword Testing Goals
Create manual tests
easily
Automate pieces of a
test
Have “hybrid” manual-and-
automated scripts
Let an automation
expert automate the
pieces
Keyword Automation within Agile Processes
Release Engineering/Build Processes
Automation is considered a best practice
Quicker detection of regressions with each
build
Functional Test
Automation results can allow development
teams
to react faster to defects and fulfill the agile
vision
Pitfalls
Automation is very difficult with 1.0 Projects
Higher level of code churn which increases
pressure on upfront investment
Metrics to collect
Things to understand to better evaluate our ROI in
automation:
How Long
How long it takes to run the tests manually
How long it takes to analyze the test results (ran
manually and ran automated)
How long it takes an unmanned machine to run the
automated suite or tests.
How Many
How many tests we plan to automate (an actual count)
How many tests we actually have automated -- at given
intervals
How many resources involved in running the tests
manually (including setup, clean-up and test analysis)
How many resources involved in running the automated
tests (including setup, clean-up and test analysis)
Note:
Automation isn't always the best answer. These metrics will help determine the best course of action.
Key Solution Drivers
9 Ease of Use
• Utilize Manual testing for Business Analysts – easy to use shell
9 Little to no programming
• (Automated Scripts recorded, or created by test automation engineers)
9 Represent tests to different roles in format they are most comfortable with (BA’s
see tests in Natural Language)
• High level manual tests and keyword view
9 Unattended playback
• Automated test associated once manual test has been keyword enabled
9 Reusability
• Keywords reused and metrics collected
Keyword Automation – Summary
Brian Massey
Senior Product Manager
IBM/Rational Software
678-248-4523
jbmassey@us.ibm.com
www.ibm.com/rational