Thursday, July 8, 2010

Automation framework in testing

Types of Automation Frameworks

 Data Driven Automation Framework
 Keyword Driven Automation Framework
 Modular Automation Framework
 Hybrid Automation Framework

Data Driven Automation Framework

 Repeated use of Test Scripts with Different Inputs and
Response Data coming out of Predefined Dataset
 Easy to implement in IBM - RFT with the help of Datapools
 Helps in Reducing Coding for Large Test Cases
 Ease of Testing of Time-Consuming & Complex Test Cases

Keyword Driven Automation Framework

 As the Name suggests, it enables Keyword Driven Testing
or Table Driven Testing
 Data & Keyword Tables being Independent of the
Automation Tool
 Enables Documentation of the Functionality of the
Application under Test (AUT) in A Tabular Format

Modular Automation Framework

 Test Script Modularity Framework:

Enables creation of Small, Independent Scripts representing
Modules & Functions of the Application under Test (AUT)

 Test Library Architecture Framework:

Enables creation of Library Files representing Modules &
Functions of the Application under Test (AUT)

Hybrid Automation Framework

 It is the Most Popularly Implemented Framework
 It is a Combination of the Three Types of Frameworks
described before
 It has an Ability of Evolving Itself Over a Passage of Time
and Over Many Projects

Steps to Implement Automation Framework Approach

1) Identification of the Scope of Testing:

Company Oriented, Product Oriented, Project Oriented

2) Identification of the Needs of Testing:

Identify Types of testing e.g. FT, Web Services etc. and application / modules to be tested

3) Identification of the Requirements of Testing:

Find out the Nature of Requirements, Identification of type of actions for each requirement & identification of High Priority Requirements

4) Evaluation of the Test Automation Tool:

Preparation of Evaluation Checklist, Identification of the Candidate Tools Available, Sample Run, Rate & Select the Tool, Implementation & Training

5) Identification of the Actions to be automated:

Actions, Validations & Requirements supported by the Tool

6) Design of the Test Automation Framework:

Framework Guidelines, Validations, Actions Involved, Systems Involved, Tool Extensibility Support, Customs Messages & UML Documentation

7) Design of the Input Data Bank:

Identification of Types of Input file, Categorization & Design of File Prototypes

8) Development of the Automation Framework:

Development of Script based upon Framework Design, Driver Scripts, Worker Scripts, Record / Playback, Screen / Window / Transaction, Action / Keyword & Data Driven

9) Population of Input Data Bank:

Different Types of Data Input, Population of Data from Different Data Sources, Manual Input of Data and Parent – Child Data Hierarchy

10) Configuration of the Schedulers:

Identify Scheduler Requirements & Configure the Schedulers

No comments:

Post a Comment