Can u explain about QTP framework

Answers were Sorted based on User's Feedback



Can u explain about QTP framework..

Answer / srinivas

amith tewari answer is wrong

sorry amith

Is This Answer Correct ?    8 Yes 1 No

Can u explain about QTP framework..

Answer / navin

I have seen an umpteen no of posts in every QTP group I
visited asking about Test Automation frameworks. Here I
would like to collate the useful inputs i received from
various QTP groups and discussion forums.

1) Key Word Driven Testing:

The Keyword Driven framework consists of the basic
components given below
1. Control File
2. Test Case File
3. Startup Script
4. Driver Script
5. Utility Script

1. Control File a)Consists details of all the Test
scenarios to be automated b)User will be able to select a
specific scenario to execute based on turning on or off a
flag in the Control File c) Control File is in the form of
an excel worksheet and contains columns for Scenario
ID,Execute (Y/N),Object Repository Path, Test Case File Path

2. Test Case File a)Contains the detailed steps to be
carried out for the execution of a test case b) It is also
in the form of an excel sheet and contains columns for
Keyword, Object Name, Parameter

3. Startup Script a) The Starup script is utilised for the
initialization and reads the control files b) It then calls
the driver script to execute all the scenarios marked for
execution in the control file

4. Driver Script a) It Reads the Test Case files. Checks
the keywords and calls the appropriate utility script
functions based on specific keyword b) Error Handling is
taken care of in the driver script.

5. Utility Scripts a) Perform generic tasks that can be
used across applications. It should not be application
dependent Advantage of Framework.


•The main advantage of this framework is the low cost for
maintenace. If there is change to any test case then only
the Test Case File needs to be updated and the Driver
Script and Startup script will remain the same.
•No need to update the scripts in case of changes to the
application.
ALSO

Keyword-driven testing is a Software testing technique that
separates much of the programming work from the actual test
steps so that the test steps can be developed earlier and
can often be maintained with only minor updates, even when
the application or testing needs change significantly.

Read full article here



2) Data-driven Testing:

Data-driven testing is a framework where test input and
output values are read from data files (datapools, ODBC
sources, csv files, Excel files, DAO objects, ADO objects,
and such) and are loaded into variables in captured or
manually coded scripts. In this framework, variables are
used for both input values and output verification values.
Navigation through the program, reading of the data files,
and logging of test status and information are all coded in
the test script.

Read Full article here


3) Modularity-driven testing

The test script modularity framework requires the creation
of small, independent scripts that represent modules,
sections, and functions of the application-under-test.
These small scripts are then used in a hierarchical fashion
to construct larger tests, realizing a particular test case.

Is This Answer Correct ?    5 Yes 0 No

Can u explain about QTP framework..

Answer / a

If they are asking about Framework -
May be / May not be 4 type of frameworks.
If it is this..
Linear
Modular
Keyword Driven
Hybrid.

Is This Answer Correct ?    3 Yes 0 No

Can u explain about QTP framework..

Answer / krishna

It's

1. Modularity-driven testing
2. Data-driven testing
3. Keyword-driven testing
4. Model-based testing
5. Hybrid testing

Is This Answer Correct ?    3 Yes 1 No

Can u explain about QTP framework..

Answer / lalithareddy

automatin framework can be classified into 2 phases
1. analysis
2. implementation

in analysis phase
study the application or website
find out all the screens or windows
find out all the objects in the windows (standard or custom)
standard means they can be identfied by the tool where as
custom can't be, so try to configure custom to standard
if we can't avoid those non configurable objects
try to plan for the automation architecture
create software structure for automation
prepare tcd for the scenarios where in you go for automation
create the object repository
generate the script
prepare test data and enhance the script using that test
data(replacing the fixed values with parameters)

Is This Answer Correct ?    1 Yes 0 No

Can u explain about QTP framework..

Answer / rajesh

Thank u Lalitha Reddy for ur Answer..RAJESH

Email:trajesh.qa@gmail.com

Is This Answer Correct ?    1 Yes 1 No

Can u explain about QTP framework..

Answer / rajesh

plzzz any body tell the correct answer iam facing this
question every where in the interviews...RAJESH

Is This Answer Correct ?    0 Yes 1 No

Can u explain about QTP framework..

Answer / sudhindra

can you give me a overview these four types of frameworks

Is This Answer Correct ?    0 Yes 1 No

Can u explain about QTP framework..

Answer / lalithareddy

Hi Everybody,

most of them that we have only 4 frameworks.
frameworks are mainly used for optimization (less effort
more output)

while implementing a framework, another framework may come
into existence.

up to my knowledge,

modular
hybrid
keyword
linear or sequential
functional decomposition multiaction framework
artificial intelligence framework (AIR)
advanced keyword
QC Framework

Is This Answer Correct ?    1 Yes 2 No

Can u explain about QTP framework..

Answer / amit tewari

in qtp framework there are basically 4 phases.

1.prepare enviorment:- do preparation for automation mean
arrange hardware as well as software requirements.prepare
test cases and initial and end conditions.
2.record:-in this record the application and generate the
test scripts.then playback the record then using the object
repository.
3:-inhance or upgrade:-in this section use syncronization
and cheack points and then data driven testing.
4:-inthis see the behaviour of application when it passes
through muliple data

Is This Answer Correct ?    2 Yes 11 No

Post New Answer

More QTP Interview Questions

when I was doing the web testing with QTP using with standard checkpoint the Object selection -checkpoint properties dialog box not displaying pages and links hierarchical order. Could you please tell me. thanks

0 Answers  


Explain about opening notepad in QTP and writing of test result in notepad?

4 Answers  


What is diff. between ordinal identifier INDEX and Location?

3 Answers  


Local Obj Repository and SOR are editable know, y we have to edit those.. i mean in which situation we need to edit those and how to do..? pls help me..

2 Answers  


How to write business scripts using object repository with different scenarios

0 Answers  






Hi I have created a table in the MS access database. I want to access the table in this database through QTP. The code is given below. The code is not working.The following error is displayed "Data source name not found and no default driver specified". Any one can correct the code. Thanks in advance. Dim dbconnection, rs Dim ca, sname Set dbconnection = createobject("ADODB.Connection") Set rs = createobject("ADODB.Recordset") dbconnection.open "DSN = MS Access Database","", "" rs.open "select * from Research", dbconnection rs.movefirst If rs.EOF <> True AND rs.BOF<> True then ca = rs("order_number") sname = rs("customer_number") rs.movenext msgbox ca msgbox sname End If

1 Answers  


Define Canvas view of UFT?

0 Answers  


Will down time for server and content maintenance/upgrades be allowed? how much?

0 Answers  


Could you please any body help me.for example in web table in the first row and first column there are 3 links like l1,l2,l3 having indexes 0,1,2 but second time links will change their order like l2,l3,l1 and indexes also changed how can we handle this situvation with script....

2 Answers  


how to write script in qtp(vbscript)..i mean with out application deployed..and how to call script1 into script2?

2 Answers  


hi all, I want to know about the QTP scripts, i have read more books but all areis to be a theory so how can i improve my script skills. if anybody knows about qtp scripts plz guide me and i need a sample scripts.my mail id is karthis4u@gmail.com, 9986667831 If you all have any data send it to akadi111@gmail.com

3 Answers  


What is the Difference Between Quick Test Pro and Quick test professional?

5 Answers   Infotech,


Categories