Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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

can the activities of test case design be automated?

1843


Qtp has been installed on my pc but recently ON opening it is giving this error PLEASE REPLY IT IS URGENT IT WAS WORKKING FINE QTPRO.EX THE instruction at "0x7.. ...". referenced memory at "0000....The memory could not be read... Awaiting QTP XPERTS REPly URGENT

2486


What if recovery scenarios is also failed for identify the alert ? (We are handling unexpected popup through recovery scenarios but if still recovery scenarios also failed than what should be the approach)

1524


What is the short cut keys for the following?

1067


unique properties of button,edit box, radio button,check box?

4439


When we r doing data driven test with chkpts, i want to insert formulae in data sheet but i didn't get. How we wil do that plz. explain in detail.

2036


Object repositories types, which and when to use?

1027


What are the two types of repositories available, explain them?

983


For which type of projects the iterative model is not suitable?

1835


Can anyone share/send me QTP 8.2 Crack as I had it before but now it's virus affected. Pls send me on Sawale.vijay@gmail.com Thanks, ~Vijay

3025


how to write xml output check point bu useing descriptive programing .means without useing output check point

2077


How you can find the absolute value of the number in qtp?

956


requirement is for combo box your expected value is str= "Denver.Frankfurt.London.Los Angeles.Paris.Portland.San Francisco.Seattle.Sydney.Zurich" you must get the text in combo box and need to compare them how

1957


What are the differences between quicktest professional and winrunner?

956


What is the descriptive programming?

1966