You are on page 1of 14

1.What are the kinds object Repositories in QTP?

QTP supports two varieties of Object Repository


1) Shared Object Repository (also known as Global)
2) Per-Action Object Repository, (also known as Local)

For Free Demo Ph:+1 (646) 880-9474


For Details : Folkstrain.com

2.what's the utilization of Text output worth in QTP?


Text Output values change you to capture text showing on the
appliance underneath check throughout run-time.
If parameterized, text output values can capture values showing in every
iteration which might be hold on within the run-time information table for
more analysis.

For Free Demo Ph:+1 (646) 880-9474


For Details : Folkstrain.com

3.Define keyword view and Expert view in QTP?


Keyword view is Associate in nursing icon primarily based read that
shows check steps in tabular format. It additionally mechanically
generates documentation for the check steps.
Expert view provides the corresponding VB Script statement for each
check step within the Keyword read.

For Free Demo Ph:+1 (646) 880-9474


For Details : Folkstrain.com

4.Explain QTP batch testing tool?


Youll be able to use the Batch testing tool to run multiple scripts. Once
the scripts area unit extra within the tool, it can mechanically open the
scripts and begin capital punishment them one once the opposite.

For Free Demo Ph:+1 (646) 880-9474


For Details : Folkstrain.com

5.What area unit the drawbacks of QTP?


As of QTP version ten
1) Huge Tests in QTP consume various memory and increase central
processor unit utilization.
2) Since QTP stores leads to hypertext markup language file (and not txt)
the result folder generally becomes massive.

For Free Demo Ph:+1 (646) 880-9474


For Details : Folkstrain.com

6. However would you export a Script from one laptop to a


different in QTP?
We can build use of the "Generate Script" perform on the market in
Object Identification, check Settings and Tools/Options tab to form a zipper
of the script at the supply pc. These zip files then are often foreign into
QTP at the destination pc.

For Free Demo Ph:+1 (646) 880-9474


For Details : Folkstrain.com

7.What area unit the kinds of error ought to be handle in


UFT?
There area unit 3 varieties of error that one can face in UFT
a) Syntax Errors
b) Logical Errors
c) Runtime Errors

For Free Demo Ph:+1 (646) 880-9474


For Details : Folkstrain.com

8.What area unit the ways in which you'll be able to


handle run time errors?
a) Using check settings
b) Using on error statement
c) Using error Object
d) Using Exit Statement
e) Recovery eventualities
f) Report Object

For Free Demo Ph:+1 (646) 880-9474


For Details : Folkstrain.com

9. Explain diff between exitaction and exititeration?


Exitaction is employed after we need to exit from a selected action,
whereas exititeration is employed to exit from a selected action iteration of
action.

For Free Demo Ph:+1 (646) 880-9474


For Details : Folkstrain.com

10. Define a case for however you'll be able to notice


length of array in QTP?
The code to search out the length of array in QTP is
print (ubound (arr)+1)
Ubound returns the last index in array- thus length of array are going to be
+1. this may be total range of components in array

For Free Demo Ph:+1 (646) 880-9474


For Details : Folkstrain.com

11. Which environments area unit supported by QTP?


Java
.NET
Oracle
People Soft
SAP
Terminal person
Visual Basic
Visual Age
Web
Web Services and etc.

For Free Demo Ph:+1 (646) 880-9474


For Details : Folkstrain.com

12. Define Step Generator?


Step Generator allows use to feature check Steps in your script. Using
step generator you'll be able to add steps to your script while not really
recording it.

For Free Demo Ph:+1 (646) 880-9474


For Details : Folkstrain.com

For Free Demo Ph:+1 (646) 880-9474


For Details : Folkstrain.com