what is framework? which frame work u follow for writting
script?

Answer Posted / kumar

Framework....it is the model or structure we follow for a
project. It is the approach that we follow to automate the
project. There are so many types of framework in QTP.

1. Datadriven frame work

2. Keyword driven frame work

3. Module driven framework

4. Hybrid driven frame work

The framework you choose, depends on the model of your
project. Usually most of projects fall under hybrid driven
frame work.

Datadriven framework: Here we divide the entire project in
to modules and start automation by writing datadriven
scripting for each one of them. We will have test data
either in excel sheet or flat files or from database...we
will pass that test data in to the script and perform data
driven testing.

Keyword driven framework:

Firstly we should add the objects to repository( Shared
repository is preferable)

Then we can generate/write scripts for each functionality
and save them as the library files ( .vbs files)

Then we have to associate all these library files(which are
generated to test different funtionalities) to Quick Test.

For example consider Flight application

we can generate library files for
login()
open order()
fax order()
delete order()
update order()
logout() etc..,


select case k = datatable.value("keys",1)

case A : login()
case B : open order()
case C : fax order()
case D : delete order()
case E : update order()
case F : logout()

end case

Module driven frame work: we will divide entire project in
to modules and write functions or procedures for each and
every module and automate the project.

Hybrid driven framework: it is combination of Datadriven
and module driven framework.

Hope this clarifys your query...

Kumar.
Kumar.rnv@gmail.com
Broadridge

Is This Answer Correct ?    5 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How many types of actions are there in quicktest professional?

507


Difference between action & Reusable action?

677


What is clean sweep?

1370


explain how to write vb script in qtp?when will you write own script?

1851


How does qtp identify gui object?

582






can any body clearly explain about keyword driven framework .give me the explanation for files what ever you use in this frame work?

1678


how will you check how many members visited the website www.infosys.com?

1476


To retrive the test data which tool vl use and whats basis u vl write test data? its urgent

1437


Client is able to provide budget..he want you to choose the automation tool for the web application? which one you will select ? QTP or Selenium ? what are the reasons?

1223


Can we Test Welcome Screens and Process Images with QTP

1420


How can I find out the cursor position through QTP suppose I am keep tabbing(Pressing the tab key continuously) and stoped at a position Now I want to find out where the cursor position is

6296


.have you ever written compiled module? if yes , tell me about some of the function that you wrote.

1676


What are the features and benefits of quick test pro (qtp 8.0)?

590


Explain the concept of object repository?

521


How many types of recording modes in the qtp?

585