automation framework
TRANSCRIPT
Data-Driven Framework
Test Data.xls QTP
Scripts or ActionsTest Results.xls
Obj. Rep..tsr
Functions.txt or .vbs
Envi. Var..XML
CodingStandards
Rec. Scen..qrs
AOMScripts
read data
write
Application with limited functionality Data sensitive testingRepeat test for multiple data sets
Pros: Fast set-up, Cuts test life cycle, increases accuracy, data can be maintained by non QTP personnel
Apps/Industries: Job Portals, Hotel/Travel, Insurance, Financial, Tourism, Forms, eCommerce
Cons: QTP skill needed to add test cases, rigid
non-QTP staff QTP Engineers
QTPeLearn.com
Keyword-Driven Framework
Test Steps.xls
DriverObj. Rep.
.tsr
Functions.txt or .vbs
CodingStandards
Rec. Scen..qrs
AOMScripts
read keywords
write
Application with many modules/featuresHundreds of Test CasesAutomation for regression tests
Pros: Ease of maintenance , reduced rework, efficient, fast, involve non QTP personnel
Apps : Memberships, Social Networks, ERP, CRM, HR, multi-screened programs
Cons: Initial effort, more complex, end user training, fixed set of data
Test Cases.xls +
Functions Actions
Envi. Var..XML
Defect LogsTest Results
.xls
non-QTP staff QTP Engineers
QTPeLearn.com
Hybrid Framework
Test Steps.xls Driver
Obj. Rep..tsr
Functions.txt or .vbs
CodingStandards
Rec. Scen..qrs
AOMScripts
write
Test Cases.xls +
Data Actions
Envi. Var..XML
Defect LogsTest Results
.xls
non-QTP staff QTP Engineers
Test Data.xls Functions
Data-Driven + Keyword Driven Framework
read keywordsread data
Rich app functionalityData sensitive testingRecurring regression Tests
Pros: Flexible, Easy maintenance, Cuts test life cycle, increases accuracy, high involvement from non QTP personnel, highest ROI
Apps/Industries: All Industries Cons: Set-up, complex to implement
QTPeLearn.com