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 |
Do you have any knowledge about Business Processing Testing in QTP
Explain more about the Test Fusion Report of QTP?
How can we disable popup blocker? (I think it means when we get a pop up messge(its error) how we wil disable that one with out interrupting normal process)
What is clean sweep?
what is recovery scenario in QTP? what is the need of the recovery scenario in QTP? what are the advantages of the recovery scenarios in QTP?
hi Sudhananda reddy, in my resume, i written as , I Am working as a Test Engineer for xyz company. IS IT RIGHT OR WRONG? WHAT IS THE ACTUAL meaning of "IN XYZ COMPANY", "FOR XYZ COMPANY", "WITH XYZ COMPANY".
when i am running login page i got test run error? Please give me the script to handle run time exceptions. It's urgent for me.
can we run the scripts of qtp 8.2 in the qtp7.0?
I recorded a Web based Application running on JAVA and when I went to play them back a week later they didn't run. I noticed that the Browser was putting in a (Underscore and a Number) for each line so i re-recorded and noticed the Underscore line wasn't the same as what i recorded last week so any script I record today will not work next week because the browser settings or how QTP recognizes it keeps changing. This is the new line Browser("Bureau of Labor Statistics_4").Page("Bureau of Labor Statistics").JavaApplet("SurveyApplet").JavaList ("Select an Area").Select "U.S. city average" This is the old line 'Browser("Bureau of Labor Statistics_3").Page("Bureau of Labor Statistics").JavaApplet("SurveyApplet").JavaList ("Select an Area").Select "U.S. city average" Notice the Burearu of Labor Statistics_3 adn Burearu of Labor Statistics_4. Why does it change and how do I prevent it from changing.
What is the use of ordinal identifier in qtp?
can u please explain what r the challenges u faced in ur automation testing
Friends please let me know how id following possible in QTP: Can I apply conditional loop on a bitmap/image or any other checkpoint. Like if checkpoint passes then if or Else