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 post the interview questions for QA position in FACTSET
before launching qtp, we need to close all the open browsers u dont know what are all the browsers either it might be ie,mozilla etc and u dont know how many brosers are open.... u need to close all these before launching qtp.. can anyone plz temme d solution...
Explain how you can find the absolute value of the number in qtp?
Diff b/w Health care domain and Banking Domain?
explain abt dyanamic changing object with example?
Hi, I'm a beginner in QTP and planning of a certification in QTP, but have no idea about it :P. Could anyone please tell me what certifications that a QTP- beginner can take? What is the fees and the syllabus for the certification? Please reply soon. Thanks Vidhya
What are the benefits of quick test pro(qtp)?
What is test object model in quicktest professional (qtp)?
How to call a test from another test?
What is the framework your company is following. What is the reason. Explain why key word driven frame work is chosen.
What is the difference between run time object and test object in QTP?
How do you send email with attachment from outlook using qtp ?
how to know no.of mails in our g mail by using vb-script
What is keyword view in qtp?
iam have done mba(finance)in 2008. in 2008 one reputed consultancy came off campus interview our institution. i got job as "manual test engineer". now iam working as "manual testing engineer". now my problem is when iam going interview the interviewer asking like " ur mba gradute how can u get job in test engineer." this question i have faced every interview. iam explaining how iam getting job. but they are not trust me". pls tell me answer how i am giving relavent ans.. this is my mail id y.ramana84@gmail.com