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
when I was doing the web testing with QTP using with standard checkpoint the Object selection -checkpoint properties dialog box not displaying pages and links hierarchical order. Could you please tell me. thanks
Hi All, I have QTP installed on my machine but the application under test (AUT) is on remote desktop.My scenarios is like that,it should contain following steps. 1)Automatically it should click on start and then on remote desktop connection. 2)it should enter the IP address and then connect to remote desktop. 3)and then it should be able to record the application in remote machine and then run it also. Can somebody tell me how to record the application which is in remote machine.
desribe a situation where u faced a stressful situation and how did u cope with it
what and how to answer for the question "tell me about yourself ?" for 3 years experience. can anyone say inj detail please... its urgent
what r the verstions from 1st to present (verstions) of mercury tools (like winrunner,QTP,Loadrunner) ? Chandana
i'm using the qtp to test to vb appliction,i wanted to get the new application's title.i didn't want to use the winAPI to get it ,i 'd like to know whether a QTP function can do it. Eg: SystemUtil.Run "C:\Program Files\.....","","","" 'run an application, and misure the application is activating,then how to get the hwn wihtout using windowns api
How you can delete excel file in qtp?
What are the types of data tables in qtp?
Where you get the run time data table?
Differentiate the type of test cases which can be automated and which cannot be automated?
Explain the check points in quicktest professional (qtp)?
How you can write contexts to text file in qtp?
what r the main attributes of test automation?
In qtp, explain what is qrs file?
What are the various automation frameworks available in qtp?