Hai anyone please "Explain about Framework in QTP?"

Answers were Sorted based on User's Feedback



Hai anyone please "Explain about Framework in QTP?"..

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

Hai anyone please "Explain about Framework in QTP?"..

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

Hai anyone please "Explain about Framework in QTP?"..

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

Hai anyone please "Explain about Framework in QTP?"..

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

Hai anyone please "Explain about Framework in QTP?"..

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

Hai anyone please "Explain about Framework in QTP?"..

Answer / kairam

Firoz Shaik, give ur mail ID.
We need Framework explanation in QTP

Is This Answer Correct ?    0 Yes 1 No

Post New Answer

More QTP Interview Questions

How to test whether the navigation i.e. from one page to another is working r not using QTP for web based application

1 Answers  


Which line will be executed 1-B(DP).P(OR.link(DP) 2-B(OR).P(Or).Link(DP)

2 Answers   Broadridge,


How should I check my code( Before going to execute) without executing the script in QTP

1 Answers  


What is throw object?

1 Answers  


when i add the items to the repositry, the item is loading is "winmenu", but wn i write the script the tool is not able to recognise the item, i know that we need to define the mandatory or assitive properties here, but i am confused wt i need to difine here and on wt basis i need to select the properties and define it, can any one help me out on this.

0 Answers  


What is meant by virtual obj and Y do v need virtual obj configuration.

4 Answers  


How to handle Run-time errors?

2 Answers  


Hi, I want to retrieve the cell data in the WebTable. For that I have defined a new test object under the browser and have given html tag and text as the test object properties. But while I try to identify it it says 'Object description is not unique'. I tried adding innerhtml, outerhtml, innertext and outertext along with the ordinal identifiers; but no use. What more properties need to be added to identify it? Also I want to enable smart identification for this object but the field is disabled in the object repository for this object alone(In QTP tools->object identification the enable smart identification checkbox is enabled). How do I enable it?

3 Answers  


How will you check that your test cases covered all the requirements?

0 Answers  


I open login gmail page after that QTP is not able to identify the object present in it then what u will do

3 Answers   Accenture,


QTP 1.What type of bugs u commonly find in u r project? 2.what is agile testing explain with example? 3.application is given req n functionality r missing then how can u start testing? 4.what r the types of defect tracking tools? 5.what is functionality testing? 6.what is change req how u use it? 7.diff bet gul n functional testing? 8.test cases for IE 6.0? 9.where do u store test cases? 10.what r design objects in qtp? 11.what r 5 types of objects in qtp? 12.how to change .mtr to .tsr n vice versa? 13.in which situations qtp will not recoznize objects? 14.how to call .vbs fuctions, library files in qtp? 15.if 10 windows r ope write command to close all windows in qtp? 16from what stage u start automation in u r project? 17.what is VSS? it is usedin automationr manual? 18.size of object repository? 19.how to conduct GUI testing n performance testing on MS-Word? what r performance TEST CASES? 20. use of virtual objects explain? 21.how to connect buzilla with qtp? 22. what is API ? 23.how to merge 2 object repositories in qtp? 24.what is recovery scenario manager? 25. diff bet link n hyper link? 26.diff bet test case n test case scenario? 27.what is relational testing? 28.where do we write test cases? 29.what is base line in testing? 30.what r key process areas(KPA) in u r company? 31.what is hot fix? 32.what is sql injection? 33.what is valnerability? 34.what is TOM in qtp? 35.can we do qtp testing with out creating objects in object repository? can we completely write code in expert view only? 36.where we cant do automation testig? give example using OR is a advantage r a disadvantage?

6 Answers   IBM,


What is a recovery scenario?

0 Answers  


Categories