0% found this document useful (0 votes)
6 views22 pages

Job Oriented Testing Training Programs

The document discusses keyword driven testing framework. It provides an overview of keyword driven framework, describing how it uses a library of keywords to structure test case input files and reduce scripting. The document also discusses WATIR as an example tool, its advantages in simplifying testing and knowledge transfer, and disadvantages like initial effort and only supporting IE.
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
6 views22 pages

Job Oriented Testing Training Programs

The document discusses keyword driven testing framework. It provides an overview of keyword driven framework, describing how it uses a library of keywords to structure test case input files and reduce scripting. The document also discusses WATIR as an example tool, its advantages in simplifying testing and knowledge transfer, and disadvantages like initial effort and only supporting IE.
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPT, PDF, TXT or read online on Scribd

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]

You might also like