0% found this document useful (0 votes)
2 views16 pages

Introtoframework

The document discusses the importance and features of an Automation Framework for improving the efficiency of automation testing. It outlines various types of frameworks, including Functional Decomposition, Keyword Driven, Data Driven, and Hybrid approaches, along with their advantages and disadvantages. Additionally, it highlights the architecture of an automation framework and its implementation in Caritor.

Uploaded by

Sreekanth Payik
Copyright
© © All Rights Reserved
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)
2 views16 pages

Introtoframework

The document discusses the importance and features of an Automation Framework for improving the efficiency of automation testing. It outlines various types of frameworks, including Functional Decomposition, Keyword Driven, Data Driven, and Hybrid approaches, along with their advantages and disadvantages. Additionally, it highlights the architecture of an automation framework and its implementation in Caritor.

Uploaded by

Sreekanth Payik
Copyright
© © All Rights Reserved
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
You are on page 1/ 16

Quick Test Professional 9.

0
Framework
Agenda
• What’s the hype all about?
• Why to Develop an Automation Framework.
• Features of Automation Framework.
• Types of Framework.
• Framework and Automation Tools.
• Hybrid Framework in Caritor.
• Got the IDEA!!!! Have a look at it NOW…….
What’s the hype all about?
Automation Framework:

• To improve the efficiency and effectiveness of the Automation testing process it is important to find ways
to improve Re-usability of scripts.

• A test automation framework is a set of assumptions, concepts, and practices that provide support for
automation testing.

• It mainly contains Component functions which can be used on every application irrespective of the
environment in which they are built

• Since the framework's functions automatically performs validations on every object within every action,
many hours of script coding and debugging also avoided.
Why to Develop an Automation Framework.
Advantages:
• Re-usability of scripts
• Can be used independent of AUT and dependent on technology and testing tool
• Scripts can be developed even when application development is still in progress
• Uniformity is maintained for all the scripts

Disadvantages:
• Initial cost and effort required would be quite high
• Constant changes to framework would lead to increased re-work of scripts
Features of Automation Framework.
• The test framework should be application-independent - "We should focus our
automation framework to deal with the common components that make up our
unique applications.“

• The test framework must be easy to expand, maintain, and perpetuate- "We must
always remember: our ultimate goal is to simplify and perpetuate a successful
automation framework.“

• The test strategy/design vocabulary should be framework independent - "A good


test strategy can remove the necessity for both manual and automated test scripts.
The same ‘script’ should suffice for both.“

• The test strategy/design should remove most testers from the complexities of the
test framework.
Components of Automation Framework
Types of Framework
• Functional Decomposition or Modular Approach

• Test Library Architecture Approach

• Data Driven Approach

• Keyword Driven Framework

• Hybrid Approach (implementing multiple framework approaches)


Types of Framework
Functional Decomposition:

• Common functions can be integrated/called in individual Testscripts


• To build test library by identifying the common functionalities in AUT

Advantage:

Quick and easy to implement

Disadvantage:

Not as robust as Keyword Driven Approach


Types of Framework
• Keyword Driven Framework

• Requires the development of datatables and Keywords

• Independent of Test Automation Tool

• Development of Master Script code and Keyword functions that drive the AUT and the data

Pros:
Robust framework
Knowledge on Key Words usage is sufficient

Cons:
More initial time and effort is required than anyother framework
Details steps for each test condition need to be documented
Keyword Driven Framework
Types of Framework
Data Driven Approach

• A data-driven framework is where test input and output values are read from data
files

• Utilises a modular design where files are used to input as well as verify data

• Reduces redundancy and duplication of effort in creating automated test scripts

• If functionality changes, only the specific "Business Function" script needs to be


updated
Types of Framework
Hybrid Approach

 It is a combination of all of the above techniques, pulling in their strengths and


trying to mitigate their weaknesses.

 The most successful automation frameworks generally accommodate both


Keyword-Driven testing as well as Data-Driven scripts

 You can implement modularity by nesting test scripts and using the library files (or
objects) to implement functions, procedures, or methods.
Framework and Automation Tools.
AUTOMATION FRAMEWORK ARCHITECTURE

Framework
Function Common
library Functions
Abstract Layer

Test Script
Object (Driver Script)
Repository Keywords

External Test Global


Data variables

AUT
AUT
Hybrid Framework in Caritor.
Process Model to build framework:

Testing&
Analysis Design Implementation Tweaking
Hybrid Framework in Caritor.
• Keyword Reference Document (KRD).

Dialog;<name>::Dialog;<name>::Dialog;
r Context Window;<windowname> <name>

Dialog;<name>::Dialog;<name>::Dialog;
r Context Dialog;<name> <name>

Button;<buttonname>
r Perform Click

Button;<buttonname>
r Check Enabled:<True/False>
Demo

You might also like