Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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

Hello Guys, Can anybody Explain me about Automation framework?? and how can we prepareAutomation Framework using QTP

3 Answers   CTS, IBM, Sapient,


How can we retrieve the Bug Ids which are open&Reopen in status through QTP scrit?Please find the script which i tried... Dim objBugFactory, objBug Dim BugId Set TDConnection = QCUtil.TDConnection Set objBug = TDConnection.BugFactory If QCUtil.IsConnected then Reporter.ReportEvent 0, "Connected", "Connected to server: " + QCUtil.TDConnection.ServerName + chr (13) +"Project: " + QCUtil.TDConnection.ProjectName + chr (13) + "Domain: " + QCUtil.TDConnection.DomainName Reporter.ReportEvent 0, "Current time on server is","==>" & TDConnection.ServerTime Else Reporter.ReportEvent 1, "Not connected", "Not connected to Quality Center" End If If mybug.Status="Open" Then BugId=mybug.DefectId MsgBox BugId End If 'OR**********************************--------------------- -----********************************** If Bug_Fields("BG_STATUS").Value ="Open" Or "Re Open"Then BugId=Bug_Fields("BG_BUG_ID").Value MsgBox BugId End If

0 Answers   TCS,


in qtp if we record a object and we record the object using virtual wizard then by which way the object is recognized that means recorded

0 Answers  


what is framework? which frame work u follow for writting script?

5 Answers   IBM,


IF I SET THE VIRTUAL OBJECT AFTER THAT MAXIMIZE THE APPLICATION THEN QTP SENT ERROR OR EXECUTE SUCCESSFULLY? WHY ?

2 Answers   CTC, Infosys,


hi in real time who will execute the qtp test scripts? my faculty said, in a companty automation testers are written the test scripts and manual testers are execute the test scripts...IS IT RIGHT OR NOT?

2 Answers  


There is a very good institute for Automation Testing using QTP.For more details please visit jbslearnings.com.

1 Answers  


Hello, Can we capture only the labels of the web page in the object repository. If yes, then how. Actually my scenario is: I have to capture all the label of mercury site http://newtours.mercuryinteractive.com/tour/mercurypurchase. php. and want to copy all these labels in the notepad. So,please help me how to do this all. Thanks in advance, Gaytri

4 Answers  


what is the diffrence between script and Language ? (Chandana)

6 Answers   Cognizant, Wipro,


Hi all, I am using windows vista, I am in the process of learning QTP. When ever I try to work with insert mode in flight application , i am getting the error of 'Operation must use an update table query, fractional truncation(null) error. Can anyone help me regarding this?

0 Answers  


Could anyone help me for the below scenario: i am using the descriptive programming for my account, in which we have to generate the contract in the MS-word. when i generate this doc, we need to click on enable macros to continue further. but i am unable to make qtp to click on this. if anybody faced the problem like this??? pls help to get it resolved? Thanks in advance

0 Answers  


Explain how qtp identifies object?

0 Answers  


Categories