Monday, August 8, 2011

Test Automation Framework:

Automation Framework

Linear Framework:-
•It is a very simple framework.
•Only Record and Playback is done in this framework.
•It is a beginner level framework.
•Capturing tests by recording the actions of a manual tester.

Modular Framework:
•The whole scenario is divided into small business flows-called module.
•Those modules are written in a library file as a functions or reusable actions.
•Main Script is linked with small module functions or reusable actions, more over this is a very simple approach over record and play back.
•Modular is nothing but to make the script reusable.


Data Driven Framework:-
• Repeated use of Test Scripts with different inputs.
• Separates out the test inputs (the data), usually into a spreadsheet, and uses a more generic script that can read the test data and perform the same test with different data.
• Testers who are not familiar with the scripting language can enter test data for these predefined scripts.
• Ease of Testing of Time consumption.

Keyword Driven Framework:-
• Steps and data are feed to the automation tool.
•Automation tool judges the steps and input data from a data pool, It gave the output data
•Spreadsheet contains keywords describing the actions to be taken (also called action words), and test data.
• Testers (even if they are not familiar with the
scripting language) can then define tests using the keywords.
• Very sensitive towards data.


Hybrid Framework:-
• Combination of keyword, data driven and modular framework.
• The main advantage is this is logic driven.
• Keywords are logic based.

No comments:

Post a Comment