Hai anyone please "Explain about Framework in QTP?"
Answers were Sorted based on User's Feedback
Answer / firoz shaik
A framework is a set of guidelines, concepts , practices
that provide support for automated software testing.
The advantage of framework is it provides an easy way of
doing the work with less time.
There are 4 types of frameworks available:
1. Record and playback framework
2. Keyword driven framework
3. data driven framework
4. Modularity driven test framework
2. Keyword driven means, It consists of 5 types of files.
1. control file, test case file, startup file, driver
script, and utility script. This i cant explain because i
have no time to type all these things. if you want you can
mail me.
3. In data driven framework, we will take input from one
input excel file, and process the input in the script and
send the result to the same excel file.
In this framework, we can take the data through excel
file, .csv file, ADO, DAO(Data Access Objects).....
ADO means ActiveX Data Objects. This is the current and
latest method of retrieving the information from the
databases.
4. Modularity driven means, we divide the script into
different modules and acheive the task. this becomes easy
for the person to read and understand the script. modular
means, In C language, we divide the code into functions. In
the similar fashion, here also we divide the script into
function libraries i.e, in the form of VBS files.
If you need any further information, you can mail me.
I think that this information is absolutely true to the
best of my knowledge, and if i am wrong please let me know.
Is This Answer Correct ? | 2 Yes | 0 No |
Answer / vengi
1.select manual tesat cases to be automated
2.prepare testdata for that selected testcases
3.make script for reusable and functional scenarios
4.convert those scripts as a reusable functions
5.make a test script by calling reusable functions
Is This Answer Correct ? | 1 Yes | 0 No |
Answer / mohammad
frame work is a set of guidelines desigened by anexpert to
do a speiffic task in an effective efficient and optimised way
Is This Answer Correct ? | 0 Yes | 0 No |
Answer / firoz shaik
my email id is : firozshaik27@yahoo.com
shoot a mail if you need any query
Is This Answer Correct ? | 0 Yes | 0 No |
Answer / sandeepguttikonda
The word framework tell us it is am outline sketch or it a
planning we do before perfomring the task and also it
indicates what we do too.
Here in QTP frameworks are braodly divided into 4 types:
1) Linear Frmework
2) Action Framework or Modular Framework
3) Data Driven Framework
4) Keyword Driven Framework
Note: Any combination of above listed frameworks known as
Hybrid Framework.
Linear Framework: Here we prepare the script using record
and playback method.
Modular or Action Framework: Here we prepare the script
using Reusable Action. Here we have multiple action in role
play and follows Master Action and Sub actions (Reusable
actions) concept.
Data Driven Framework: Here we drive the script with the
help of data in the sheets.
Example: A login page having username and password and
login button.
We need to test the whether the members of the page are
successfully logging in or not into the page.
Hence here we right the script in one action and test with
multiple test data driving from the sheets.
Keyword Driven Framework: Here we prepare the script by
using the functions and drive the script with the keywords
(function Names).
Hybrid Framework: Most in End to end scenario cases (
System Integration Testing) we will go for Hybrid Framework.
Need For framework is as said above it help for easy
development and maintenance. It also helps for the
continuity of the work (development, BCP).
Folder Structure: This also come under one of the activity
in framework other are like proper naming conventions,
giving comment to the code, Documenting the important
things etc.
Actually we will have a clear floder structre in Quality
Center under Test Plan: Like..
1) Reusable Actions
2) Test Data
3) Recovery Scenarios
4) Functions
5) Master Action
6) Deleted Files
7) Test Log
If you need amy further info, please let me know.
Thanks.
Regards,
Sandeep Guttikonda.
Is This Answer Correct ? | 0 Yes | 0 No |
Answer / kairam
Firoz Shaik, give ur mail ID.
We need Framework explanation in QTP
Is This Answer Correct ? | 0 Yes | 1 No |
What is Virtual Object? Plz Explain me with an example?
what is the exact Diff. Between Test and Component in QTP?
what we do after completion of functional and regression testing
How the QTP recognize, handle n reports that a error has been handled by it(QTP) when we perform a recovery scenario in our application n in what manner it will display it in resulting window? Plz help me out.
Differences between quicktest professional (qtp) and winrunner?
What is difference between shared and local object repository?
How does qtp identify gui object?
I am automating a Java application. This application is developed using SWT. I am not able to get the GUI object. Even i tried with Java add-in. In tutorial it states SWT is not supported any idea. Anybody worked in such appln. My question is whether it is possible to record the GUI object of SWT appln. how it is possible.
How many types of Parameters are available in QTP? and Pls Explain with example.
What are the common defects found in your project? (in qtp interview)
After executing the script in qtp suppose i found some script execute successfully and found some error.So how to report the status for both (i.e pass and fail report)in test director. For "fail" We use "defect tab" in testdirector. But for "pass" how to report it to TL.what is the process plz anybody ans
What is meant by Environmental variables?2 types r there know…can u pls explain clearly?