Job Oriented Trainings
1. HP Business Process Testing
2. HP Quality Center
3. Quick Test Professional
4. SAP Testing
5. SAP TAO
6. Manual Testing
[Link]
Key Word Driven
Framework
How, Why, What
AGENDA
Q&A
INTRODUCTION
• Test Automation Framework will
reduce the amount of scripting
required.
• Test Automation Framework will
accommodate changes with
minimum effort.
About Agile
Changes
Changesin
inrequirements
requirementsare
are
encouraged
encouraged
Development
Developmentwill
willbe
bedone
donein
in
Iterations
Iterations
Follows
FollowsTest
TestDriven
DrivenDevelopment
Development
Follows
FollowsContinuous
ContinuousIntegration
Integration
process
process
Types of automation
Record
Recordand
andplayback
playback
Data
DataDriven
Driven
Keyword
KeywordDriven
Driven
Hybrid
Hybrid
Keyword Driven Framework
Architecture
.txt
Suite
Variables file
Processing Core Library
inputs Engine Functions
Log Files Customised
Results
Sample Input File aka Test case
.txt
Suite
Core
Engine
Processing
inputs
Library
Functions
Customised
Results
Customised
Results
Approach
General
GeneralKeywords
Keywords
Identify Keywords
Project
ProjectSpecific
SpecificKeywords
Keywords
Object
Objectmapping
mapping Structure input
Data files
DataFiles
Files
Technical
Technicalfeasibility
feasibility
Choose the tool
Cost
CostFactor
Factor
Coding
CodingStandards
Standards
Develop Core Engine
Results
Results
WATIR
About WATIR
W ebAApplication
Web pplicationTTesting
estingIInnRRuby
uby
WATIR
WATIRdevelopment
developmentisisled
ledby
byBret
Bret
Pettichord and Paul Rogers
Pettichord and Paul Rogers
Open-source
Open-sourcefunctional
functionaltesting
testingtool
tool
About WATIR
WATIR
WATIRisisaaRuby
Rubylibrary
librarythat
thatworks
workswith
withIE
IE
on Windows
on Windows
Tests
Testscan
canbe
berun
runininthe
thebackground
background
Scripting
Scriptingisissimple
simple
Advantages
The
Thetester
testerneed
needonly
onlylearn
learnthe
the"Key
"KeyWords"
Words"required
required
The
TheDetail
DetailTest
TestCases
Casescan
canbe
bewritten
writtenininSpreadsheet
Spreadsheet
format
formatcontaining
containingall
allinput
inputand
andverification
verificationdata
data
Easier
Easierto
towrite
writeacceptance
acceptancetests
tests
Transfer
Transferof
ofknowledge
knowledgeisiseasier
easier
Easier
Easierto
toreport
reportbugs,
bugs,copy
copyfrom
fromthe
theinput
inputfile
fileand
and
paste
pasteininBug
BugReporting
Reportingtool
tool
Application
Applicationindependent
independent
Disadvantages
Initial
Initialtime
timeand
andeffort
effort to
todevelop
developthe
the
framework
framework
WATIR
WATIRdoesdoesnot
notsupport
supportplug
plugininapplications
applications
like
like Java Applet, MacromediaFlash.
Java Applet, Macromedia Flash.
WATIR
WATIRworks
worksonly
onlyon
onIE
IE
Finding
Findingreference
reference(name,
(name,id,
id,value)
value)to
to
objects (text fields, buttons) may be tedious
objects (text fields, buttons) may be tedious
References
WATIR
• Tutorial –[Link]
• API Reference –[Link]
• Home Page –[Link]
• Mailing list – wtr-general@[Link]
Ruby
• Home Page – [Link]
• Discussion Forum -[Link]
forum_id=958
Tools Supporting WATIR
• Recorder - WatirMaker -
[Link]
[Link]
• Other Tools supporting WATIR -
[Link]
Job Oriented Training
[Link]