0% found this document useful (0 votes)
11 views25 pages

Test Automation Framework Guide

The document discusses test automation frameworks, including what they are, their types and benefits. It describes the main types as data driven, keyword driven, modular and hybrid frameworks. It also provides steps for implementing a test automation framework, including identifying scope, requirements and actions to automate, evaluating tools, designing the framework, developing test scripts, and configuring schedulers. The benefits highlighted are reduced testing time, comprehensive test coverage, and reuse of test scripts.

Uploaded by

John Bashur
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)
11 views25 pages

Test Automation Framework Guide

The document discusses test automation frameworks, including what they are, their types and benefits. It describes the main types as data driven, keyword driven, modular and hybrid frameworks. It also provides steps for implementing a test automation framework, including identifying scope, requirements and actions to automate, evaluating tools, designing the framework, developing test scripts, and configuring schedulers. The benefits highlighted are reduced testing time, comprehensive test coverage, and reuse of test scripts.

Uploaded by

John Bashur
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

[Link].

com
A Storehouse of Vast Knowledge on
Software Testing and Quality Assurance

Understanding
of
Automation Framework
Introduction to Test Automation Framework

Areas covered Include:

What an Automation Framework is ?

How many types of Automation Framework are there ?

How to select & Deploy an Automation Framework ?

What are the Constituents of Automation Framework ?

>>>>>>>>>>>>>>>>>> [Link] <<<<<<<<<<<<<<<<<<


What a Test Automation Framework is ?

It is a structured combination of :

Various Assumptions for Testing

Testing Concepts

Testing Practices

Aim is to provide support to Automated Software Testing


>>>>>>>>>>>>>>>>>> [Link] <<<<<<<<<<<<<<<<<<
Utility of Test Automation Framework

Provides an Outline of overall Test Structure

Ensures Consistency of Testing

Minimizes the Amount of Code for Development - thereby


Less Maintenance

Contd..
>>>>>>>>>>>>>>>>>> [Link] <<<<<<<<<<<<<<<<<<
Utility of Test Automation Framework

Maximizes Reusability

Reduces Exposure of Non-Technical Testers to Code

Enables Test Automation using Data

>>>>>>>>>>>>>>>>>> [Link] <<<<<<<<<<<<<<<<<<


How Many Types of
Automation Frameworks are there ?
Generally there are 4 Types :

Data Driven Automation Framework

Keyword Driven Automation Framework

Modular Automation Framework

Hybrid Automation Framework

>>>>>>>>>>>>>>>>>> [Link] <<<<<<<<<<<<<<<<<<


Data Driven
Automation Framework
>>>>>>>>>>>>>>>>>> [Link] <<<<<<<<<<<<<<<<<<
Data Driven Automation Framework

Advantages :

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

>>>>>>>>>>>>>>>>>> [Link] <<<<<<<<<<<<<<<<<<


Keyword Driven
Automation Framework
>>>>>>>>>>>>>>>>>> [Link] <<<<<<<<<<<<<<<<<<
Keyword Driven Automation Framework

Attributes :

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

>>>>>>>>>>>>>>>>>> [Link] <<<<<<<<<<<<<<<<<<


Modular
Automation Framework
>>>>>>>>>>>>>>>>>> [Link] <<<<<<<<<<<<<<<<<<
Modular Automation Framework

Types of Modular Frameworks :

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)

>>>>>>>>>>>>>>>>>> [Link] <<<<<<<<<<<<<<<<<<


Hybrid
Automation Framework
>>>>>>>>>>>>>>>>>> [Link] <<<<<<<<<<<<<<<<<<
Hybrid Automation Framework

Attributes :

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

>>>>>>>>>>>>>>>>>> [Link] <<<<<<<<<<<<<<<<<<


Ten Steps to Implement
Automation Framework
Approach

>>>>>>>>>>>>>>>>>> [Link] <<<<<<<<<<<<<<<<<<


How to Implement
Test Automation Framework Methodology
Steps 1 and 2 :

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

>>>>>>>>>>>>>>>>>> [Link] <<<<<<<<<<<<<<<<<<


Ten Steps for Implementation of
Test Automation Framework Methodology
Steps 3 and 4 :

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

>>>>>>>>>>>>>>>>>> [Link] <<<<<<<<<<<<<<<<<<


Ten Steps for Implementation of
Test Automation Framework Methodology
Steps 5 and 6 :

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

>>>>>>>>>>>>>>>>>> [Link] <<<<<<<<<<<<<<<<<<


Ten Steps for Implementation of
Test Automation Framework Methodology
Steps 7 and 8 :

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

>>>>>>>>>>>>>>>>>> [Link] <<<<<<<<<<<<<<<<<<


Ten Steps for Implementation of
Test Automation Framework Methodology
Steps 9 and 10 :

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

>>>>>>>>>>>>>>>>>> [Link] <<<<<<<<<<<<<<<<<<


Benefits of
Automation Framework
Approach
>>>>>>>>>>>>>>>>>> [Link] <<<<<<<<<<<<<<<<<<
Automation Framework Combined with
Systematic Approaches
Yields Following Benefits :

Significant Reduction in Testing Cycle Time

Comprehensive Coverage against Requirements

Use of a "Common Standard" across the


Organization / Product Team / Project Team

>>>>>>>>>>>>>>>>>> [Link] <<<<<<<<<<<<<<<<<<


Automation Framework Combined with
Systematic Approaches
Yields Following Benefits :

Generation of Reusable Test Scripts ( Utility Functions)

Systematic Maintenance of Automation Scripts

Data Pooling

>>>>>>>>>>>>>>>>>> [Link] <<<<<<<<<<<<<<<<<<


[Link]

A Storehouse of Vast Knowledge on

Multiple Quiz Interview Questions as used by


Several MNC’s to Evaluate New Testers

and

Hundreds of Interview Preparation Questions on


Quicktest Professional (QTP) , LoadRunner &
Software Testing & Quality Assurance

>>>>>>>>>>>>>>>>>> [Link] <<<<<<<<<<<<<<<<<<


Thank You

>>>>>>>>>>>>>>>>>> [Link] <<<<<<<<<<<<<<<<<<

Common questions

Powered by AI

The steps involved in developing an automation framework include identifying the scope and needs of testing, the requirements of testing, evaluating the test automation tool, identifying actions to be automated, designing the automation framework, creating an input data bank, developing the automation framework script, populating the input data bank, and configuring the schedulers .

When evaluating test automation tools, considerations should include preparing an evaluation checklist, identifying available candidate tools, conducting sample runs, and assessing the tool's ability to support required actions, validations, and application's specific needs. The goal is to select a tool that aligns with the testing requirements and provides long-term support for the framework .

A Keyword Driven Automation Framework facilitates non-technical testers by allowing keyword-driven or table-driven testing where data and keyword tables are independent of the automation tool. This method enables documentation of the functionality of the application under test in a tabular format, simplifying the testing process for those without strong technical skills .

Designing an input data bank involves identifying types of input files, categorizing them, and designing prototypes for these files. The significance lies in its ability to ensure that test scripts can be executed with varied real-world data, thereby enhancing the reliability and comprehensive nature of the test automation framework .

The Modular Automation Framework supports the structuring of test scripts by allowing the creation of small, independent scripts representing different modules and functions of the application under test. This modularity enables efficient management and easier updating of scripts as changes occur in the application .

The automation framework reduces the testing cycle time by using systematic approaches that include comprehensive coverage against requirements, the use of common standards across teams, generating reusable test scripts, systematic maintenance of automation scripts, and data pooling. These factors streamline the process, making it more efficient .

The population of an input data bank plays a crucial role in the success of an automation framework as it involves sourcing and organizing diverse and high-quality data from various sources, which significantly enhances the validity and coverage of the test scripts. This step ensures that scripts are robust against different input scenarios, thus improving the testing accuracy and reducing unforeseen failures .

Using a common standard across an organization is important when implementing an automation framework because it ensures consistency, comprehensiveness, and efficiency in testing processes. This standardization fosters better collaboration across product and project teams and enhances the overall quality of the testing phase by reducing variability and errors .

The main advantages of using a Data Driven Automation Framework include its ability to handle repeated use of test scripts with different inputs, ease of implementation with tools like IBM RFT using datapools, reduced coding for large test cases, and facilitating the testing of time-consuming and complex test cases .

A Hybrid Automation Framework differs from individual types of frameworks by combining features from data-driven, keyword-driven, and modular frameworks. This integration allows it to evolve over time and across projects, offering a versatile environment suitable for various testing needs .

You might also like