There are 3 types of frame works in QTP
1. Linear frame work
2. Modular frame work
3. Key word driven frame work.
Can any body explain the above 3 frame work models.
y2k_ram2000@yahoo.com
Answers were Sorted based on User's Feedback
Answer / rafi
Frame work is nothing but a collection of folder structurea
and placing all files into corresponding folders.
Linear FW is the individual scripts written in QTP and
executing the scripts individually..
Modualr FW is the collection of actions created as reusable
in one test and calling these actions in the other test
where we need..
Keyword Driven FW is creating functional libraries and
calling funtion name as keywords in the test using
default.xls data table...
Note:But in real time companies follow their own frame
work..
| Is This Answer Correct ? | 71 Yes | 8 No |
Answer / sharanya
Automation frame work is nothing but a set of guidelines
designed by expert to accomplish a task in an effective,
efficient and an optimised way.
There are 4 different types of frame work:
1) linear
2) modular
3) keyword
4) hybrid
Maximum we follow keyword framework
Keyword frame work is nothing but creating a software
structure like
1) scripts 2)object repository 3)test data 4)recovery
scenario 5)log files 6)library files etc
1) create scripts and save it in scripts component
2) create shared or and save it in or component
3) Create test data and save it in test data component
etc.,after creating all these components include the files
or Components to script or QTP and execute the script
Automation Framework: it is nothing but a
Standard/Procedure/Guidelines/process which is use to
Automation Planning with respect to AUT.
Linear Framework: If your application is supposed to
Regression run on Local System then this framework is
better.
Modular Framework: If AUT is supposed to Regression run in
which More than one Action has to be performing for the
same script then Modular framework is better. You might be
making your test Modular by dividing your test into many re-
usable actions and either any action can call any of the
action within that test.
Keyword Driven Framework:
It sound like business process testing where you might be
able to write business logics/code and develop your script
and those scripts can be call from outside of your test.
Moreover there might be various functions libraries to be
build and to be use, Recovery Scenarios, OR maintenance etc
will provide your test Reusable.
| Is This Answer Correct ? | 21 Yes | 7 No |
Answer / mythreyi_bh
Test Script Modularity FW: This FW requires creation of
test scripts(programs)for the functionality of the AUT.
2) A small scripts combined together in order to construct
large test scripts.
3) It follows the principle of Data Abstraction or
Encapsulation inorder to mnaintain the scalability of the
AUT.
4) This FW is used for Winrunner
Keyword Driven FW:This is QTP Framework.
1) this FW is involved with creating keywords & data tables.
2) the driven script is created to read in each steps and
execute each step from key word as wel as data table.
If this is wrong,plz. correct me
mythreyi_bh@allinterview.com
| Is This Answer Correct ? | 22 Yes | 12 No |
Answer / tester
Following are the different QTP Frameworks -
1. Linear Framework
2. Modular Framework
3. Keyword Driven Framework
4. Data Driven Framework
5. Hybrid Framework
Check the below link for more details.
http://www.automationrepository.com/2012/03/qtp-framework-types-an-introduction/
| Is This Answer Correct ? | 13 Yes | 3 No |
Answer / deven
Linear Framework: Record and play. If your application is
supposed to Regression run on Local System then this
framework is
better.
Keyword driven framework:
-Driver script
-Call the functions on the fly depends what
test cases to be run
e.g.
Open app test case
-call opeapp function
Login test case:
-call openapp function
-Call login function
Create reservation test case:
-call openapp function
-Call to login function
-call to reservation
function
Fax order test case
-call openapp function
-Call to login function
-call to reservation
function
-Call to fax order function
-Write more functions
-each function will be
recognised as keyword
-Hybrid framework
- combination of Data driven and Keyword
driven frameworks
-BPT framework
-Business Process Testing
-test business process
-ERP:
-SAP
-sell side process:
(walmart =>
Customer)
-how to sell
product to
customer
-Sales order
-Deliver
goods
-Billing
-Receive
payments
-buy side process: (vendor
and walmart)
-how to purchase
products from vendor
-Crate
purchase order
-Receive
goods
-Billing
-Outgoing
payments
| Is This Answer Correct ? | 2 Yes | 0 No |
Answer / ram
any two combination of frameworks called as hybrid frame work like combination of modular and data driven frame works
| Is This Answer Correct ? | 2 Yes | 0 No |
How can I deploye a 'QTP Runtime environment only'
I have given u a application.To automate it what are the things will u consider?
In my Script Firstly i have to parametrize the data then we import the data from c drive.suppose i have parametrize the Person name and company Name and i have enter one person name and one company name in the excel sheet now we import the sheet and the script is passed i want to ask one thing can we add more than one person name and more than one company name in the excel sheet suppose firstly we create person name "ADDy" and company nmae.'Wipro" and we set the current row in the script for this data and now we want run the script another set of data so how we can run the script with another set of data
How to sendKeys in QTP? Diff b/w sendkeys and device replay? Diff b/w function and Sub? Diff b/w Array and List Different Types of running Keys other than Fast, slow,Normal mode Regular expression for http://newtours.demoaut.com Difference between \w and \W How to generate script button Recording Types Different Types of Actions? Using DP performance degrades, If Yes why? How to close all the opened browsers? Diff b/w SystemUtil.Run and invoke application? If qtp not recognized the combo box How to select values from drop down?
I hav installed QTP8.2, im working on webapplication, while running the script giving error msg like "QTPro.exe generated errors and will be closed by windows. You will restart the program. An error log is being created". Pls anybody what is the problem, what i have to do for this? Thanks...
How exactly you start scripting in QTP? In the interview he was not satisfied with my answer.Please post what is correct answer.
what is the extension of action script template?
How can i learn Descriptive programming in QTP. Please reply.
how do you done Data-driven test using MS-Word Instead of DataTable
what QTP Options do you know?
How to handle run time errors?
want to learn real time automation project(QTP)?