Hai anyone please "Explain about Framework in QTP?"

Answers were Sorted based on User's Feedback



Hai anyone please "Explain about Framework in QTP?"..

Answer / firoz shaik

A framework is a set of guidelines, concepts , practices
that provide support for automated software testing.

The advantage of framework is it provides an easy way of
doing the work with less time.

There are 4 types of frameworks available:
1. Record and playback framework
2. Keyword driven framework
3. data driven framework
4. Modularity driven test framework

2. Keyword driven means, It consists of 5 types of files.
1. control file, test case file, startup file, driver
script, and utility script. This i cant explain because i
have no time to type all these things. if you want you can
mail me.
3. In data driven framework, we will take input from one
input excel file, and process the input in the script and
send the result to the same excel file.
In this framework, we can take the data through excel
file, .csv file, ADO, DAO(Data Access Objects).....
ADO means ActiveX Data Objects. This is the current and
latest method of retrieving the information from the
databases.

4. Modularity driven means, we divide the script into
different modules and acheive the task. this becomes easy
for the person to read and understand the script. modular
means, In C language, we divide the code into functions. In
the similar fashion, here also we divide the script into
function libraries i.e, in the form of VBS files.

If you need any further information, you can mail me.
I think that this information is absolutely true to the
best of my knowledge, and if i am wrong please let me know.

Is This Answer Correct ?    2 Yes 0 No

Hai anyone please "Explain about Framework in QTP?"..

Answer / vengi

1.select manual tesat cases to be automated
2.prepare testdata for that selected testcases
3.make script for reusable and functional scenarios
4.convert those scripts as a reusable functions
5.make a test script by calling reusable functions

Is This Answer Correct ?    1 Yes 0 No

Hai anyone please "Explain about Framework in QTP?"..

Answer / mohammad

frame work is a set of guidelines desigened by anexpert to
do a speiffic task in an effective efficient and optimised way

Is This Answer Correct ?    0 Yes 0 No

Hai anyone please "Explain about Framework in QTP?"..

Answer / firoz shaik

my email id is : firozshaik27@yahoo.com

shoot a mail if you need any query

Is This Answer Correct ?    0 Yes 0 No

Hai anyone please "Explain about Framework in QTP?"..

Answer / 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

Hai anyone please "Explain about Framework in QTP?"..

Answer / kairam

Firoz Shaik, give ur mail ID.
We need Framework explanation in QTP

Is This Answer Correct ?    0 Yes 1 No

Post New Answer

More QTP Interview Questions

How to use the object spy in quicktest professional 8.0 version?

0 Answers  


Suppose i have some records in database now i want to use first 1000 records for one test and next 1000 to 2000 records for another test how can we do this just for ex oracle database pls tell me

1 Answers  


WHAT IS ENVIRONMENT VARIABLES?

6 Answers   Ordain Solutions,


How to create a run time propertyfor an object?

3 Answers   IBM,


What is the use of "New Property" in "Add properties" of testobject properties in object repository. How can i use "New properties" while writing scripts if i have assign some values to the testobject properties Can anyone help me? plz

0 Answers   Livetek,






i need qtp tutorial. pls send it to sridhar.k151@g mail.com

0 Answers  


How do you check ticket cost and ticket number in flight application?

0 Answers  


Count the number of radio buttons and randomly select one.

1 Answers   Deloitte,


How can we export test results to an excel sheet in QTP??? Can any one provide sample coding for this?????

6 Answers   TCS,


how to write script in qtp(vbscript)..i mean with out application deployed..and how to call script1 into script2?

8 Answers   INCA, Infosys, Logix, SLK Software, Symphony, Wipro,


How to find a window is minimized or not

0 Answers  


I have action1, action2, action3 r there.my query is while executing if i get any error in action1 i want exit from here itself, otherwise execute action2, if i get any error in action2 i want exit from hereitself, like this,what is the method for this?

5 Answers   AZTEC,


Categories