Hai anyone please "Explain about Framework in QTP?"

Answer Posted / sandeepguttikonda

The word framework tell us it is am outline sketch or it a
planning we do before perfomring the task and also it
indicates what we do too.

Here in QTP frameworks are braodly divided into 4 types:
1) Linear Frmework
2) Action Framework or Modular Framework
3) Data Driven Framework
4) Keyword Driven Framework

Note: Any combination of above listed frameworks known as
Hybrid Framework.

Linear Framework: Here we prepare the script using record
and playback method.

Modular or Action Framework: Here we prepare the script
using Reusable Action. Here we have multiple action in role
play and follows Master Action and Sub actions (Reusable
actions) concept.

Data Driven Framework: Here we drive the script with the
help of data in the sheets.
Example: A login page having username and password and
login button.

We need to test the whether the members of the page are
successfully logging in or not into the page.

Hence here we right the script in one action and test with
multiple test data driving from the sheets.

Keyword Driven Framework: Here we prepare the script by
using the functions and drive the script with the keywords
(function Names).

Hybrid Framework: Most in End to end scenario cases (
System Integration Testing) we will go for Hybrid Framework.

Need For framework is as said above it help for easy
development and maintenance. It also helps for the
continuity of the work (development, BCP).

Folder Structure: This also come under one of the activity
in framework other are like proper naming conventions,
giving comment to the code, Documenting the important
things etc.

Actually we will have a clear floder structre in Quality
Center under Test Plan: Like..
1) Reusable Actions
2) Test Data
3) Recovery Scenarios
4) Functions
5) Master Action
6) Deleted Files
7) Test Log
If you need amy further info, please let me know.

Thanks.

Regards,
Sandeep Guttikonda.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the trigger events in qtp?

564


How to call a test from another test?

671


How to test fly out menu in qtp?

510


Do you know how to connect database? Can you tell me the procedures?

539


what is the advantages and disadvantages of using functions instead of re usable actions

1418






What is qtpro? What is quick test pro?

549


In application which areas to be automated and what kind of situation will be take? using QTP? Plz give me the clear answer

1928


Hi all can any one give me roles and responsibilities for QTP (not WINRUNNER)

3204


Sql questions to find second max salary and how to use joins

953


Can we use index on view?

1591


Why is action split used by qtp?

547


Can we record using all the modes in a single script? Explanation with example is appreciated

1374


What is quicktest professional (qtp)?

556


What is optional step in qtp? How you can add optional step in qtp?

522


I have enrolled for a QTP course which is a four weekend course.Do you think its a good way to start off learning this tool?What all do i need with me in order to become a pro at using this tool?

1665