3
Data-Driven Framework Test Data .xls QTP Scripts or Actions Test Results .xls Obj. Rep. .tsr Functions .txt or .vbs Envi. Var. .XML Coding Standards Rec. Scen. .qrs AOM Scripts read data writ e Application w ith lim ited functionality Data sensitive testing Repeattestform ultiple data sets Pros: Fastset-up, Cuts testlife cycle, increases accuracy, data can be maintained bynon QTP personnel Apps/Industries: Job Portals, Hotel/Travel, Insurance, Financial, Tourism, Form s, eCom m erce Cons: Q TP skill needed to add test cases, rigid non-QTP staff QTP Engineers QTPeLearn.co m

Automation framework

Embed Size (px)

Citation preview

Page 1: Automation framework

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

Page 2: Automation framework

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

Page 3: Automation framework

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