Automation Frameworks in QTP

QTP/UFT framework is designed in order to make the process easy for test automation in QTP/UFT.
QTP/UFT Automation frameworks helps and It is easy to Automate the no of test cases.
Automation Framewworks in HP QTP
AUTOMATION FRAMEWORKS IN HP QTP

There are mainly 3 types of Automation Frameworks in QTP

  • Data Driven Framework
  • Keyword Driven Framework
  • Hybrid Framework

Data Driven Framework:


Data Driven testing is a process of testing with multiple set of test data where it includes positive and negative values and taking
those values from outside of the scripts ex:Excel files in order to fetch the data in test scripts.
In this framework we will use below sources
  • Excel
  • ODBC Sources
  • Csv Files


Advantages

  • Data driven framework require less amount of code.
  • Greater flexibility for maintaining and fixing the scripting issues.
  • Test Data can be in outsource files using Excel,Csv file etc.

Keyword Driven Framework: 

Keyword Driven framework is a automation functional testing where keywords are declaring in excel in order to create separate functions for test cases.

In keyword driven framework we are using actions,function libraries based on keywords,data sheets for test data and Driver script 
to execute the test cases through keywords which is mentioned in Function libraries.

Merits:
  • Reusability of Functions in Different Actions.
  • Most easy to script for test cases.
  • Easy to create.

Hybrid Framework:

The combination of keyword and data driven frameworks known as Hybrid Driven Framework.In this framework we will use Driver script to execute the Actions where different test cases are converted into Test scripts which includes Test data sheets,db connectons etc and creating the reusable functions in order to use in actions.


Please Download PDF format

Post a Comment

0 Comments