Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 55

101) A test comprises calls to actions.

When you create a new test, it contains a call to


a ...... action.
A) One
B) Two
C) Three
D) Multiple
102) When you open a test, you can choose to view ......
A) the test flow (calls to actions)
B) you can view and edit the individual actions stored with your test.
C) Both A & B
D) None
103) For every action called in your test, QuickTest creates a corresponding ........ in the
Data Table so that you can enter Data Table parameters that are specific to that action
only.
A) action sheet
B) Excel sheet
C) Both A & B
D) None
104) When you create a test, it includes ..... action.
A) Single
B) unlimited
C) Three
D) Multiple
105) There are three kinds of actions:
A) non-reuse action, reuse action, external action
B) Call to internal action, Call to reusable action, external action
C) non-reusable action, reusable action, external action
D) Call to non-reusable action, reusable action, external action
106) By default, new actions are
A) Short
B) External
C) reusable
D) non-reusable
107) You can display or hide the Action toolbar in the Keyword View by choosing ........
A) View > Toolbars > Action
B) View > Toolbars > Actions
C) View > Toolbar > Action
D) Views > Toolbars > Action
108) The ...... enables you to view either the entire test flow (the calls to the actions in
the test) or you can view the steps for a selected reusable or external action.
A) Action Flow
B) Action file
C) Action List
D) Action Repository
109) In the ......., the Action List is always visible and the Expert View always displays
the script for the selected action.
A) Keyword View
B) Expert View
C) Action Flow
D) Action View
110) If the action is called more than once within the test flow or if the action is called by
a reusable action, the Reusable action option is ......
A) read-only
B) write-only
C) both read and write
D) read-write-executable.
111) You cannot expand ...... actions from the test flow view.
A) reusable
B) non-reusable
C) both A & B
D) None
112) You can associate shared object repositories with ...... actions simultaneously,
using the Associate Repositories dialog box
A) seven
B) Two
C) Three
D) Multiple
113) You can associate ....... object repositories with an action, and the same object
repository can be associated with different actions as needed
A) Nine
B) Twenty one
C) as many as you need
D) Twelve
114) Sometimes you may want to call an action from within an action. This is called .......
A) Reusability
B) Nesting
C) Sharing
D) None
115) If a reusable action is called more than once in a test and you split the action into
two independent actions, each call to the action within the test will be followed by a call
to the new (reusable) action. If a reusable action is called from another test, however,
...... it may cause the calling test to fail.
A) Nesting
B) Splitting
C) Reusing
D) Both A & C
116) You must use the ...... Action option in QuickTest if you want to save an action
under another name.
A) Resave
B) Rename
C) Reuse
D) Split
117) When you remove an external action, you remove all calls and the action from the
action list. The original action is also affected.
A) True
B) False
18) You can also press ...... to open the Rename Action dialog box
A) Shift + F2
B) Shift + F3
C) Shift + F4
D) Shift + F5
119) If you want to include one or more statements in every new action in your test, you
can create an ....
A) reusable action
B) split action
C) Function
D) action template
120) With QuickTest Professional 9.0, a maximum of .......... Actions can be placed into
a script
A) 110
B) 256
C) 120
D) 512
121) Only the file name ...... is recognized as an action template
A) ActionTemplate.mst
B) Action_Template.mst
C) Action-Template.mst
D) ActionTemplates.mst

Answers

101) a, 102) c, 103) a, 104) a, 105) c, 106) d, 107) a, 108) c, 109) b, 110) a, 111) a, 112) d, 113)
c, 114) b, 115) b, 116) b, 117) b, 118) a, 119) d, 120) c, 121) a

Object Repository

122) You can import and export object repositories from and to .... files.
A) XML
B) MTS
C) TSR
D) XLS
123) In general, the ....... object repository is easiest to use when you are creating
simple record and run tests.
A) Shared
B) Local
C) Both
D) None
124) The Object Repository automation object model enables you to manipulate
QuickTest ....... object repositories and their contents from outside of QuickTest.
A) Shared
B) Local
C) Both
D) None
125) Before using the Object Repository automation object model to manipulate shared
object repository stored in Quality Center, you must download the shared object
repository and save it to the file system.
A) True
B) False
126) SetTOProperty changes the property values used to identify an object during the
test run. It also effects the values saved in the Object Repository for the object.
A) True
B) False
127) After creating or editing an object repository XML file, it is recommended to use the
QuickTest ..........functionality to verify that your file conforms to the QuickTest object
repository schema.
A) Schema Verification
B) Schema Validation
C) XML Validation
D) XML Verification
128) To display the Comment in the Object Repository dialog box, you must use the
attribute name .........
A) miccommentproperty
B) commentproperty
C) mic_comment_property
D) None of above
129) ObjectRepositoryUtil Object Enables you to manipulate .....object repository files
from outside of QuickTest Professional.
A) Shared
B) Local
C) Both
D) None
130) You can use the Object Repository Merge Tool to merge objects from ......
A) two shared object repositories into a single shared object repository.
B) the local object repository of one or more actions or components into a shared object
repository.
C) Both A & B
D) None
131) GetTOProperty method returns the value of a specified property for a test object
from the Object Repository.
A) True
B) False
132) The new Object Repository Comparison Tool is accessible from the Object
Repository Manager. You can use this tool to identify the differences between objects in
........
A) two specified shared object repository files.
B) a Shared and a Local object repository files.
C) either Shared or Local object repository files.
D) two specified Local object repository files.
133) You can use the objects and methods of the QuickTest .................... to write
scripts that automatically manipulate object repositories, instead of performing these
operations manually using the Object Repository Manager.
A) Automation object model
B) Object Repository automation object model
C) Object Repository model
D) Object Repository Script Object model
134) You must convert object repository files from QuickTest Professional 8.2.1 or
earlier to the current format before you can use them in QuickTest Professional 9.0 or
later. Which method lets you do so.
A) Conversion method
B) Converge method
C) Convert method
D) None
135) You open the Object Repository window for a specific component by choosing
..........
A) Resources > Object Repository
B) Tools > Object Repository
C) File > Object Repository
D) Help > Object Repository
136) In QTP 9 or above, Test objects can be stored in two types of object repositories
........
A) a shared object repository and a Per-Action object repository.
B) a shared object repository and a local object repository.
C) a shared object repository and a Action object repository.
D) Both A & C
137) The Object Repository Manager enables you to open ...... shared object
repositories and modify them as needed
A) multiple
B) three
C) two
D) Seven
138) ........ Method Loads the specified object repository.
A) Overload
B) Load
C) Both A & B
D) None
139) An object repository that is currently open by another user is locked, is it possible
to merge a locked object repository.
A) Yes
B) No
140) You can manage the shared object repository associations of a selected test using
the ............
A) Associate Repositories dialog box
B) Object Repositories dialog box
C) Associate Repositories Manager dialog box
D) Object Repositories Manager dialog box
141) All changes you make to an object repository are automatically updated in all
components open on the same computer that use the object repository as soon as you
make the changeeven if you have not yet saved the object repository with your
changes.
A) True
B) False
142) If you want to modify an object stored in a shared object repository, you can modify
it.......
A) using the Object Repository Manager
B) you can modify it locally using the Object Repository window.
C) Both A & B
D) None of above
143) ................ Returns an ObjectRepositories collection representing all object
repository files associated with the action.
A) Object Property
B) Automation Object Model
C) ObjectRepositories Property
D) OR Property
Answers


122) a, 123) b, 124) a, 125) a, 126) b, 127) b, 128) a, 129) c, 130) c, 131) a, 132) a, 133) b, 134)
c, 135) a, 136) b, 137) a, 138) b , 139) a, 140) a, 141) a, 142) c, 143) c.
Checkpoints
QTP Questions 14 - Checkpoints
154)
The ........ checks a variety of objects such as buttons, radio buttons, combo boxes, lists,
and so forth.

A) Image checkpoint
B) standard checkpoint
C) Bitmap checkpoint
D) Accessibility checkpoint

155)
You create an image checkpoint by inserting a ........ on an image object.

A) Image checkpoint
B) standard checkpoint
C) Bitmap checkpoint
D) Accessibility checkpoint

156)
......... are also supported for some list view objects, such as WinListView and
VbListView, as well as other list view objects in external add-in environments.

A) Table checkpoints
B) standard checkpoints
C) Accessibility checkpoints
D) XML checkpoints

157)
.......identifies areas of your Web site that may not conform to the World Wide Web
Consortium (W3C) Web Content Accessibility Guidelines.

A) Accessibility Checkpoint
B) standard checkpoints
C) Database checkpoints
D) Accessible Checkpoint

158)
........ Specifies the time interval (in seconds) during which QuickTest attempts to
perform the checkpoint successfully.

A) Check timeout
B) Checkpoint interval timeout
C) Checkpoint timeout
D) Quicktest timeout

159)
........... Specifies when to perform the checkpoint in the test.

A) Insert statement.
B) Check statement.
C) timeout statement.
D) checkpoint statement.

160)
You can view the results of the checkpoint in the ........

A) Test Results window
B) Checkpoint window
C) Information Pane
D) Checklist window

161)
By default, the bottom right part of the Test Results window displays information on the
selected checkpoint only if it has the status Failed.

A) True
B) False

162)
You can also use the ......... to check specific property values.

A) CheckProperty method
B) CheckItemProperty method
C) ItemProperty method
D) Property method

163)
If you want to retrieve the return value of a checkpoint (a boolean value that indicates
whether the checkpoint passed or failed), you must add ......... the checkpoint argument
in the statement in the Expert View.

A) parentheses around
B) Properties with
C) Arguments with
D) Values alongwith

164)
You can use a formula in a checkpoint to confirm that an object created on-the-fly
(dynamically generated) or another variable object in your Web page or application
contains the value it should for a given context.

A) True
B) False

165)
You cannot modify the settings of existing checkpoints.

A) True
B) False
Answers


154) b, 155) b, 156) a, 157) a, 158) c, 159) a, 160) a, 161) a, 162) a, 163) a, 164) a, 165) b
QTP Questions 15 - Data Table
166) You can edit information in the Data Table by typing directly into the table cells.
A) True
B) False
167) Each row in the table represents the set of values that QuickTest submits for the
......... arguments during a single iteration of the test or action.
A) parameterized
B) Non-parameterized
C) distributed
D) None of above
168) For every action called in your test, QuickTest creates a corresponding ........ in the
Data Table so that you can enter Data Table parameters that are specific to that action
only.
A) action sheet
B) Excel sheet
C) Both A & B
D) None
169) When you create a test, it includes ..... action.
A) Single
B) unlimited
C) Three
D) Multiple
170) There are three kinds of actions:
A) non-reuse action, reuse action, external action
B) Call to internal action, Call to reusable action, external action
C) non-reusable action, reusable action, external action
D) Call to non-reusable action, reusable action, external action
171) By default, new actions are
A) Short
B) External
C) reusable
D) non-reusable
172) You can display or hide the Action toolbar in the Keyword View by choosing View >
Toolbars > Action.
A) View > Toolbars > Action
B) View > Toolbars > Actions
C) View > Toolbar > Action
D) Views > Toolbars > Action
173) The ...... enables you to view either the entire test flow (the calls to the actions in
the test) or you can view the steps for a selected reusable or external action.
A) Action Flow
B) Action file
C) Action List
D) Action Repository
174) In the ......., the Action List is always visible and the Expert View always displays
the script for the selected action.
A) Keyword View
B) Expert View
C) Action Flow
D) Action View
175) ....... Method - Imports a sheet of a specified file to a specified sheet in the run-time
Data Table.

A) SheetImport
B) ImportSheet
C) ImportDataTable
D) ImportTable
176) The column headings in the sheet you import must match the Data Table
parameter names in the action for which the sheet is being imported. Otherwise, your
test or component may fail.
A) True
B) False

177) The sheet you import automatically takes the name of the sheet it replaces.
A) True
B) False
178) The use of complex and/or nested formulas in the Data Table is supported.
A) True
B) False

179) The data your test uses is stored in the ....... Data Table, which is displayed in the
Data Table pane at the bottom of the screen while you insert and edit steps.
A) design-time
B) Run-time
C) Current
D) None
180) During the run session, QuickTest creates a ....... Data Tablea live version of the
Data Table associated with your test.

A) True
B) False

181) If it is important for you to save the resulting data from the run-time Data Table,
you can insert a ..........statement to the end of your test to export the run-time Data
Table to a file.

A) Export.Datatable
B) DataTable_Export
C) DataTable.Export
D) Both A & B
182) When you parameterize a step in a test using the Data Table, you must decide
whether you want to make it a global Data Table parameter or an action Data Table
parameter.
A) True
B) False
183) After running a parameterized test, you can view the actual values taken from the
Data Table in the Test Results Run-Time Data Table.
A) True
B) False
184) ...... Property - Returns the design-time Data Table, which enables you to modify
the data that is used for the Data Table parameters in your test or business component.
A) DataTable
B) DesignTable
C) Design_Table
D) None
185) The Data Table assists you in parameterizing your test.
A) True
B) False
Answers


166) a, 167) a, 168) c, 169) b, 170) c, 171) b, 172) a, 173) d, 174) a, 175) b, 176) a, 177) a, 178)
b, 179) a, 180) a, 181) c, 182) a, 183) a, 184) a, 185) a

QTP Questions 16 - Descriptive Programming in QTP
1) Programmatic description can be very useful if you want to perform an operation on
an object that is stored in the object repository.
A) True
B) False
2) There are two types of programmatic descriptions:
A) Static & Dynamic
B) Statement & Dynamic
C) Step & Dynamic
D) Standard & Dynamic
3) You can also use programmatic descriptions to perform the same operation on
several objects with certain identical properties, or to perform an operation on an object
whose properties match a description that you determine dynamically during the run
session.
A) True
B) False
4) QuickTest evaluates all property values in programmatic descriptions as regular
expressions
A) True
B) False
5) From the below 4 statements which one is invalid:
A) Browser("Title:=Mercury Tours").Page("Title:=Mercury Tours").WebEdit("Name:=Author", "Index:=3").Set
"Amit Kumar"
B) Browser("Index").Page(Desc1).Link(docu3)
C) Browser("Mercury Tours").Page("Title:=Mercury Tours").WebEdit("Name:=Author", "Index:=3").Set "Amit
Kumar"
D) Browser("Title:=Mercury Tours").Page("Title:=Mercury Tours").WebEdit("Author").Set "Amit Kumar"
6) When using programmatic descriptions from a specific point within a test object
hierarchy, you must continue to use programmatic descriptions from that point onward
within the same statement.
A) True
B) False
7) You can run any application from a specified location using a ..... statement.
A) Start.Application
B) System.UtilRun
C) SystemUtil.Run
D) SystemUtii.RUn
8) When creating a programmatic description for an ActiveX test object and the relevant
run-time object is windowless (has no window handle associated with it), you must add
the ........ property to the description and set its value to True.
A) Window Handle
B) WindowLess
C) Winless
D) None
9) You can compare the run-time value of a specified object property with the expected
value of that property using either programmatic descriptions or user-defined functions.
A) True
B) False
10) When you specify an application to open using the Record and Run Settings dialog
box, QuickTest adds a SystemUtil.Run statement to your test.
A) True
B) False
QTP Questions 17 - QTP Expert View
1) You can use the Expert View tab to view a text-based version of your test.
A) True
B) False
2) Expert View contains each step as a VBScript line. In object-based steps, the
VBScript line defines the ........ hierarchy.
A) Action
B) Object
C) Test
D) Step

3) If you focus on a specific step in the Keyword View and switch to the Expert View, the
cursor is located in that ..... line of the test.
A) Next
B) Previous
C) Last
D) Corresponding

4) For each object and method in an Expert View statement, a corresponding row exists
in the Keyword View.
A) True
B) False
5) When you switch from the Expert View to the Keyword View, QuickTest automatically
checks for syntax errors in your script, and shows them in the Information pane.
A) True
B) False
6) In the Expert View, the ....... is always visible and the Expert View always displays the
script for the selected action.
A) Action List
B) Expert List
C) Check List
D) View List

7) You can insert a checkpoint or output value statement in the Expert View manually.
A) True
B) False
8) You can copy a Checkpoint or Output statement from the Expert View to another test.
A) True
B) False

9) You can also manually enter standard VBScript statements, as well as statements
using QuickTest test objects and methods, in the Expert View.
A) True
B) False
10) You cannot print the test displayed in the Expert View or a function library.
A) True
B) False
11) When you type in the Expert View or a function library, .......... enables you to select
the test object, method, property, or collection for your statement from a drop-down list
and view the relevant syntax.
A) Object Property dialog box
B) Web edit Property dialog box
C) Intellisense
D) dropdown list
QTP Questions 18 - Function Library
1)
Using QuickTest, you can define and store your user-defined functions in a .....

A) function library
B) directly in an action within a test.
C) both A & B
D) None

2)
Default file extention of function library is

A) .flf
B) .qtfl
C) .qfl
D) .tfl

3)
When you store a function in a test action, it can be called from any other action or test.

A) True
B) False

4)
You cannot define private functions and store them in a function library.

A) True
B) False

5)
You can drag and drop a function (or part of it) from one document to another.

A) True
B) False

6)
You can add steps to your function library manually or using the Step Generator.

A) Manually
B) using Step Generator
C) Both A & B
D) None

7)
In function libraries, IntelliSense does not enable you to view test object names or
collections because function libraries are not connected to object repositories.

A) True
B) False

8)
Function Libraries can be edited during the debug session.

A) True
B) False

9)
To close all open function libraries:

A) Choose File > Close All Function Libraries,
B) Window > Close All Function Libraries.
C) Widow > Close All
D) Both A & B

10)
Any text file written in standard VBScript syntax can be used as a function library.

A) True
B) False

11)
If you create a user-defined function manually and do not define the scope as Public or
Private, it will be treated as a ..... function, by default.

A) Private
B) Public
C) Both A & B
D) None

12)
If you choose not to register your function at this time, you can manually register it later
by adding a RegisterUserFunc statement after your function
A) RegisterUserFunction
B) RegisterUserFunc
C) RegUserFunc
D) Both A & B
QTP Questions 19 - QTP Parameterization

1)
You can parameterize values ..... in your test.

A) in Steps
B) in Checkpoints
C) of Action Parameters
D) Both A & B
E) All of above

2)
You can parameterize values in steps and checkpoints while ...... your test.

A) recording
B) editing
C) Both A & B

3)
There are four types of parameters: Test/Action, Random number, Environment
Variable, Regular Expression.

A) True
B) False

4)
While using Test and Action Input Parameters,you can enter the parameter name in the
Expert View using the Parameter utility object, in the format: ............ for the current
action.

A) Parameter("ParameterName")
B) ParameterName("Parameter")
C) Parameter("Parameter-Name")
D) Parameter("Parameter_Name")

5)
..... parameters are available only for top-level actions.

A) Action
B) Environment Variable
C) Test
D) None

6)
...... parameters are available for subsequent steps and for nested actions. They are
defined in the action containing the steps or in the action that calls the nested action.

A) Action
B) Environment Variable
C) Test
D) Parent action

7)
When specifying the name for data table parameter, the first character of the parameter
name must be a ......

A) letter
B) underscore
C) number
D) both A & b

8)
By outputting values to the global Data Table sheet from one action and using them as
input parameters in another action, you can easily pass values from one action to
another.

A) True
B) False

9)
....... parameters are especially useful for localization testing, when you want to test an
application where the user interface strings change, depending on the selected
language.

A) Action
B) Environment
C) Test
D) Parent action

10)
You can also store environment variable files in Quality Center.

A) True
B) False

11)
....... built-in environment variable that tells version of the OS on which you are working.

A) OS
B) OS_Ver
C) OSVER
D) OSVersion

12)
Random number parameters are appropriate for non-numeric
values, such as text or hypertext links.

A) True
B) False

Answers


1) e, 2) c, 3) b, 4) a, 5) c, 6) D, 7) d, 8) A, 9) b, 10) a, 11) d, 12) b
QTP Questions 20 - Regular Expressions

1)
Regular expressions enable QuickTest to identify objects and text strings with
undependable values.

A) True
B) False

2)
You can use regular expressions only for values of type string and number.

A) True
B) False

3)
If you expect the value of a property to change in an unpredictable way during each run
session, you can use regular expressions

A) True
B) False

4)
All ........ are automatically treated as regular expressions.

A) programmatic description
B) Window
C) WinObject
D) Collection

5)
If a backslash character is used before a character that has no special meaning, the
backslash is ignored.

A) True
B) False

6)
You can use regular expressions in the Find what and Replace with strings to enhance
your search.
A) True
B) False

7)
Regular Expressions can also be used with XML checkpoints.

A) True
B) False

8)
What is the Regular Expression Matching Zero or More Specific Characters

A) x
B) #
C) *
D) &
Answers


1) A, 2) B, 3) B, 4) A, 5) A, 6) A, 7) A, 8) c
QTP Questions 21 - Virtual Object
1)
Virtual objects enable you to record and run tests on objects that are normally recognized by
QuickTest.

A) True
B) False

2)
In the test results, the virtual object is displayed as though it is a standard class object.

A) True
B) False

3)
QuickTest does not support virtual objects for ....... recording.

A) analog
B) low-level
C) normal
D) both A & B
E) both A & C

4)
You can use the Object Spy to view virtual object properties.

A) True
B) False

5)
You cannot insert any type of checkpoint on a virtual object

A) True
B) False

6)
The ............ contains all the virtual object collections defined on your computer.

A) Virtual Objects Manager
B) Virtual Manager
C) Virtual Object Manager
D) Virtual Object Wizard

7)
Extention of virtual object collection files

A) .vcf
B) .vot
C) .vct
D) .vcd

8)
You can remove virtual objects from your test by ....... these objects.

A) disabling recognition of
B) deleting
C) deleting virtual object collection files of
D) All of Above
E) both A & B

9)
When you want QuickTest to recognize virtual objects during recording, ensure that the .......
check box in the General tab of the Options dialog box is cleared.

A) Disable recognition of virtual object Files while recording
B) Disable recognition of virtual object Collection while recording
C) Disable recognition of virtual objects while recording
D) Enable recognition of virtual objects while recording

10)
QuickTest identifies a virtual object according to its ......

A) Properties
B) boundaries
C) Object Spy
D) Edges

Answers


1) B, 2) A, 3) D, 4) B, 5) A, 6) C, 7) b, 8) E, 9) C, 10) B
QTP Questions 22 - Recovery scenarios
1)
Recovery scenarios activate specific recovery operations when ......... occur.

A) Specific Errors
B) Test Errors
C) Trigger Events
D) QTP Errors

2)
You can also control and activate your recovery scenarios during the run session by inserting
.............. into your test.

A) Trigger Events
B) Recovery Events
C) Recovery Statements
D) Catch Statements

3)
If you choose On error in the Activate recovery scenarios box in the Recovery tab of the Test
Settings dialog box, the recovery mechanism does not handle triggers that occur in the last step
of a test.

A) True
B) False

4)
By default, recovery scenario operations are activated only after a step returns an error.

A) True
B) False

5)
A ....... is a convenient way to organize and store multiple recovery scenarios together.

A) recovery file
B) recovery folder
C) Recovery Log
D) Log File

6)
The Recovery Scenario Manager dialog box enables you to create and edit recovery files, and
does not let you create and manage the recovery scenarios stored in those files.

A) True
B) False


7)
Each recovery scenario is represented by an icon that indicates its type.

A) True
B) False

8)
The Recovery Operations screen in Recovery Scenario Wizard enables you to manage the
collection of ........ in the recovery scenario.

A) recovery operations
B) recovery Files
C) Trigger events
D) All of Above

9)
If you define a Restart Microsoft Windows recovery operation, it is always inserted as the last
recovery operation, and you can change its position in the list.

A) True
B) False

10)
If more than one scenario uses a function with the same name from different function libraries,
the recovery process may fail.

A) True
B) False
Answers


1) c, 2) c, 3) a, 4) A, 5) A, 6) b, 7) a, 8) a, 9) b, 10) a
QTP Questions 23 - Debug
1)
To debug a function library, you must first associate it with a test and then debug it from that
test.

A) True
B) False

2)
To detect and isolate defects in a test or function library, you can control the run session using
the .... command

A) Pause
B) Run
C) F14
D) Session

3)
When the test or function library run stops at a breakpoint, you can use the ...... to check and
modify the values of VBScript objects and variables.

A) Debug Window
B) Debug Dialog
C) Debug Viewer
D) Debug page

4)
While the test and function libraries are running in debug mode, they are read-only

A) True
B) False

5)
You cannot debug a file that is called using an ...... statement, or any of the functions contained
in the file.

A) ExecuteFiles
B) Execute_File
C) Execute-File
D) ExecuteFile

6)
The debug session can continue at the backend while you can perform file operations like
opening a new test etc.

A) True
B) False

7)
Any changes you apply to external resources saved in the file system, such as function libraries,
are implemented only when the test is closed and reopened but any changes you apply to any
external resource that is saved in your Quality Center project, such as a function library, will be
implemented immediately.

A) True
B) False

8)
You can use the .......... command to begin your debug session at a specific point in your test.

A) Start from Step
B) Run to Step
C) Run from Step
D) Start to Step

9)
You can specify the time (in milliseconds) QuickTest pauses between each step by modifying the
..... option in the Run tab of the Options dialog box (Tools > Options).

A) Delay step execution by
B) Delay every step execution by
C) Delay all steps execution by
D) Delay each step execution by

10)
To display the Debug toolbar, choose ............

A) View > Toolbar > Debug
B) View > Toolbars > Debugs
C) Views > Toolbar > Debug
D) View > Toolbars > Debug
Answers

1) A, 2) A, 3) C, 4) A, 5) D, 6) B, 7) B, 8) A, 9) D, 10) D
QTP Questions 24 - Add-in
1)
You can install the QuickTest...... add-ins (Web, ActiveX, Visual Basic) when you install
QuickTest Professional, or you can install the QuickTest built-in add-ins at a later time by
running the installation again.

A) internal
B) external
C) built-in
D) All of above

2)
Add-ins that are installed separately from the QuickTest Professional installation are referred to
as ....... add-ins.

A) internal
B) external
C) built-in
D) built-out

3)
When QuickTest opens, you can choose which of the installed add-ins you want to load using the
QuickTest Professional - ...... dialog box.

A) Add-In Window
B) Add-In
C) Add-In Manager
D) Add-In Management

4)
Installing and Loading an Add-in is one and the same thing.

A) True
B) False

5)
You can install Add-in Upgrade patches by running the relevant patch executable from the \......
folder.

A) AddinsUpdate
B) AddinsUpgrade
C) Addins_upgrade
D) Both A & B

6)
In Add-in Manager dialog box, Time-Limited column displays values only when using a
QuickTest seat license not a concurrent license.

A) True
B) False

7)
You can view the list of add-ins that are currently installed or loaded by choosing ...................

A) File > Settings
B) Tools > Options and click the General tab.
C) Help > About QuickTest Professional.
D) both A & B

8)
To maximize performance and object identification reliability, load all the add-ins.

A) True
B) False

9)
The add-in is displayed as Not Licensed in the License column of the Add-in Manager dialog
box:

A) If an add-in license has not yet been installed for a specific external add-in.
B) if no concurrent license server within your subnet has a registered license for the specific add-
in
C) if all concurrent licenses are in use
D) All of Above

10)
You can use only one license type per session for QuickTest Professional and all loaded add-ins-
either seat or concurrent.

A) True
B) False


Answers

1) C, 2) B, 3) C, 4) B, 5) B, 6) A, 7) C, 8) B, 9) D, 10) A
QTP Questions 25 - Record & Run Options
1)
Before you record or run a test on a Web or Windows application, you can use the .... dialog box
to instruct QuickTest which applications to open when you begin to record or run your test.

A) Record and Run
B) Record and Run Settings
C) Run and Record
D) Run and Record Settings

2)
If you define environment variables to specify the record and run details, those values override
the values in the Record and Run dialog box.

A) True
B) False

3)
You can record tests only on ............

A) Microsoft Internet Explorer
B) Netscape Browser
C) Mozilla Firefox
D) Opera

4)
Record and Run Settings window contains two tabs

A) Web & Window
B) Web & Windows Applications
C) Web & Window Applications
D) Web & Windows Application

5)
You can add up to ... applications to the application list displayed in the Windows Applications
tab

A) 10
B) 12
C) 24
D) 64

6)
You can use special, predefined environment variables to specify the applications or browsers
you want to use for your test while specifying the Record and Run Details

A) True
B) False

7)
If you select the option to Record and Run on any application or browser (the upper radio button
in each tab of the Record and Run Settings dialog box), QuickTest ..... any defined record and
run environment variables.

A) does not
B) ignores
C) may or may not ignore
D) None of above

8)
To use environment variables to specify the applications or browsers you want to use for your
test run, you must use the appropriate variable names E.g. the variable name for the Web address
to display in the browser is

A) URL_VAR
B) URL_EN
C) URL_ENV
D) URL_VA

9)
The setting of the Active Screen capture level (Tools > Options > Active Screen tab) can
significantly affect the ..... for your test and the functionality of the Active Screen while editing
your test.

A) repeating time
B) waiting time
C) average time
D) recording time

10)
The Web tab (Record and Run Settings dialog box) is available only when Web support is
installed and loaded.

A) True
B) False
Answers
1) B, 2) A, 3) A, 4) B, 5) A, 6) A, 7) B, 8) C, 9) D, 10) A
QTP Questions 26 - Actions - 2
1)
The ...... enables you to view either the entire test flow (the calls to the actions in the test) or you
can view the steps for a selected reusable or external action.

A) Action Menu
B) Action List
C) Action Toolbar
D) Action View

2)
You can view the ....... of the original action in the General tab of the Action Properties dialog
box.

A) Parameters
B) Location
C) Associated Repositories
D) Type

3)
You can create an additional call to any reusable or external action in your test by pressing ......
while you drag and drop the action to another location at a parallel (sibling) level within your
test.

A) F3
B) alt
C) shift
D) ctrl

4)
You can use action parameters in any step in your action (including function calls).

A) True
B) False

5)
Input values for an action parameter can be retrieved

A) from the test (for a top-level action)
B) from the parameters of the parent action that calls it (for a nested action)
C) from the output of a previous action call (for a sibling action)
D) All of above

6)
The Action Call Properties dialog box enables you to set options that apply only to a ...... action
call.

A) following
B) preceeding
C) specific
D) internal

7)
Specifying input and output parameter values in action calls is .......

A) required
B) optional
C) required only for internal action
D) both A & B

8)
You can share a value that is generated in one action with other actions in your test by storing the
value in the ..... Data Table.

A) Internal
B) External
C) Local
D) Global

9)
ExitAction:

A) Exits the current action, regardless of its iteration attributes.
B) Exits the current iteration of the action.
C) Exits the test, regardless of its iteration attributes.
D) Exits the current global iteration.

10)
If the action called by the RunAction statement includes an ExitAction statement, the RunAction
statement can return the value of the ExitAction's RetVal argument.

A) True
B) False
Answers
1) B, 2) B, 3) D, 4) A, 5) D, 6) C, 7) b, 8) d, 9) A, 10) A
QTP Questions 27 - Object Repository - 2
1)
If an object with the same name and description is located in both the local object repository and
in a shared object repository that is associated with the same action, the action uses the ......
object definition.

A) shared
B) local
C) Can use any
D) None of above.

2)
You cannot use the same shared object repository with multiple actions.

A) True
B) False

3)
If one or more of the property values of an object in your application differ from the property
values QuickTest uses to identify the object, your test ..... fail.

A) may
B) must
C) should
D) will certainly

4)
You can open as many shared object repositories as you want.

A) True
B) False

5)
You can also open an object repository from the .......... in the File menu.

A) Recent Folders list
B) Current Files list
C) Recent Files list
D) Both A & c

6)
QuickTest saves the object repository with a ..... extension in the specified location

A) .vsr
B) .tsr
C) .lsr
D) .qsr

7)
If you opened the object repository in ...... mode, you must enable editing for the object
repository before you can modify it.

A) read-write mode
B) read-execute mode
C) read-write-execute mode
D) read-only mode

8)
You can also modify a shared object repository by merging it with another shared object
repository.

A) True
B) False

9)
You can also add objects to a shared object repository using the ....... option.

A) Navigate and Learn
B) Navigate and earn
C) Navigate
D) Navigate and Click

10)
While Finding Objects in an Object Repository, You can use the Find and Replace dialog box to
replace property or object names.

A) True
B) False
Answers
1) B, 2) B, 3) A, 4) A, 5) C, 6) B, 7) D, 8) A, 9) A, 10) B
QTP Questions 28 - Object Properties
1

In the Expert View, you can use the Object property to activate the method for a Web object.
A) True
B) False

2

The test object property set for each test object is created and maintained by ....... The run-time
object property set for each run-time object is created and maintained by the object creator

A) Microsoft
B) Adobe
C) HP
D) QuickTest

3

You can view or modify the test object property values that are stored with your component in
the Object Properties or Object Repository dialog box.

A) True
B) False

4

It is possible that you can use the Object property to access the native properties of any run-time
object.
A) True
B) False

5
You cannot retrieve the values of test object properties from a run-time object.
A) True
B) False

6

You can use the GetTOProperty, GetTOProperties, and SetTOProperty methods in your ........ to
set and retrieve the test object property values of the test object.

A) Test
B) Function Library
C) Applciation area
D) Both A & B

7

Because QuickTest refers to the temporary version of the test object during the run session, any
changes you make using the SetTOProperty method apply only during the course of the run
session, and do not affect the values stored in the test object repository.
A) True
B) False

8

You can use the Object Spy at any time to view ..... properties and values of the objects in the
application you are testing.

A) run-time
B) test object
C) Both A & B
D) None
9

You cannot add to the list of properties that QuickTest uses to identify an object.
A) True
B) False


10

The default properties for a Link object (hypertext link) are...

A) Name
B) text
C) HTML tag
D) Tag
Answers
1) A, 2) D, 3) A, 4) A, 5) B, 6) D, 7) A, 8) C, 9)B, 10) B,C
QTP Questions 29 - API's
1)
Text (or text area) checkpoints may behave differently in different run sessions depending on the
APIs used in your application
A) True
B) False

2)
Using the Windows API, you can extend testing abilities and add usability
and flexibility to your...... .

A) tests
B) function libraries
C) applications
D) Both A & B

3)
API functions are located inside Windows DLLs

A) True
B) False

4)
Integrating QuickTest with Quality Center enables you to store and access
files in a Quality Center project, as well as use the ....... object to access the
wide range of functionality provided in the Quality Center Open Test
Architecture API.

A) QCUtil
B) QCUtility
C) QCUtill
D) QCUntil

5)
QuickTest works directly with the SAP Gui Scripting API to record your operations. Therefore,
QuickTest adds steps to your test or component only when ........ are sent to the server.

A) API catches
B) API events
C) API starts
D) API stops

6)
QuickTest communicates directly with the SAP Gui Scripting API to record and run your
operations on SAP Windows objects.

A) True
B) False

7)
........... declares references to external procedures in a dynamic-link library

A) Declare
B) Extern
C) Intern
D) None

8)
The QuickTest automation object model supplies a type library file named ........... This file is
stored in \bin.

A) QTObjectModel.dll
B) QTObjectModell.dll
C) QTObjecModel.dll
D) Both A & B

9)
If you want to call a QuickTest test containing Stingray objects from WinRunner or vice versa,
you must first ensure that WinRunner and QuickTest are both using the latest version of the
Stingray agent. To do this, search for the .......... file in \bin and in \arch. Then replace the earlier
file with the later one.

A) Stagent.dll
B) Stagerent.dll
C) Staent.dll
D) Stagents.dll


10)
In the General tab of Options dialog box, Use text recognition mechanisms in this order: (Please
select valid options from below)

A) First Windows API then OCR
B) First Windows API then LCR
C) First Windows API then MCR
D) First Windows API then NCR


Answers
1) A, 2) D, 3) A, 4) A, 5) B, 6) A, 7) A, 8) A, 9)A, 10) A
QTP Questions 30 - Sharing Information Between Actions
1)
A Dictionary object is the equivalent of a PERL associative array.

A) True
B) False

2)
Values from one part of a run session cannot be used later in the run session

A) True
B) False

3)
For other actions to use the value in the Data Table as an input parameter, you can store a value
in the Data Table by outputting the value to the ..... Data Table

A) local
B) global
C) action
D) both A & B

4)
The Dictionary object enables you to assign values to variables that are accessible from ....
actions

A) local
B) external
C) both A & B
D) None of above

5)
After you have added the reserved Dictionary object to the registry, it is .... to restart QuickTest.

A) required
B) not required
C) may or may not be
D) None of above

6)
It is possible to create nested Dictionary objects.

A) True
B) False

7)
A function cannot return a dictionary object.

A) True
B) False

8)
A function can accept a dictionary object as a parameter.

A) True
B) False

9)
By default if you want to debug a dictionary object, then QTP debug window helps a lot in that.

A) True (QTP debug window can be used with Dictionary objects)
B) False (QTP debug window cannot be used with Dictionary objects)

10)
............ Removes a key, item pair from a Dictionary object

A) Remove Method
B) RemoveAll Method
C) Delete Method
D) DeleteAll Method
Answers
1) A, 2) B, 3) B, 4) C, 5) A, 6)A, 7) B, 8) A, 9) B, 10) A
QTP Questions 31 - Maintenance Run Mode
1)
As QuickTest runs in Maintenance Run Mode, it identifies discrepancies between the objects in
the repository and those in your .......

A) Function
B) Action1
C) application
D) Both A & B

2)
In Maintenance Run Mode, the run ..... each time an object is not found.

A) Resumes
B) Stops
C) pauses
D) None

3)
When you run a test in Maintenance Mode, the ........ opens for steps that failed because an object
was not found in the application.

A) Maintenance Wizard
B) Maintenance Run wizard
C) Maintenance Run option
D) Maintenance Work Wizard

4)
When the Maintenance Run Mode ends, Maintenance Mode wizard provides a summary of the
changes it made to your test.

A) True
B) False

5)
You can run in Maintenance Run Mode only when QuickTest is set to use the ..... run mode.

A) Maintenance
B) Low Level
C) Analog
D) Normal

6)
You can run in Maintenance Run Mode on applications that do not have a user interface, such as
Web services.

A) True
B) False

7)
You must have the Microsoft Script Debugger installed to run the tests in Maintenance Mode.

A) True
B) False

8)
The Add Comment screen enables you to add a comment to your test or component ..... the
current step.

A) After
B) before
C) At Last
D) Both A & C

9)
The Add Object to Repository screen opens if the object to which you pointed .... in any
associated object repository.

A) is not added
B) exist
C) does not exist
D) is added

10)
Maintenance Mode makes changes to the .... object repository only.

A) Shared
B) Local
C) Both
D) None
Answers
1) c, 2) c, 3) b, 4) a, 5) d, 6) b, 7) a, 8) b, 9) c, 10) b
QTP Questions 32 - QTP Test Run Results
1)
After a run session, you view the results in the Test Results window. By default, the Test Results
window opens when a run session is ........
A) completed
B) half completed
C) about to be completed
D) Both A & C

2)
The left pane in the Test Results window displays the .............--a graphical representation of the
test results.

A) run results images
B) run results tree
C) run results icons
D) None

3)
By default, when the Test Results window opens, a test summary is displayed in the .......... tab in
the right pane of the window.

A) Result Detail
B) Res Details
C) Result Details
D) Details

4)
The right pane of the Test Results Window contains tabs labeled ......................

A) Result Details and Screen Recorder
B) Result Detail and Screen Recorder
C) Res Details and Screen Recorder
D) Details and Screen Recorder


5)
QuickTest Professional can capture still images and movies of your application during a run
session.

A) True
B) False

6)
You can view the results of an individual.................

A) iteration
B) an action
C) a step
D) All of above

7)
A test, iteration, or action containing a step marked Warning may still be labeled Passed or
Done.

A) True
B) False

8)
You can use ............. statements in the Expert View to disable or enable the saving of selected
steps, or to save only steps with Failed or Warning status.

A) Reporter.Event
B) Reporter.Results
C) Reporter.Filter
D) Reporter.Result

9)
You can view the saved results for the current test or component, or you can view the saved
results for other test or components.

A) True
B) False

10)
You can use the .............. to remove unwanted or obsolete run results from your system,
according to specific criteria that you define.

A) Test Results Tool
B) Test Results Deletion Tool
C) Results Deletion Tool
D) RunResults Deletion Tool
Answers
1) A, 2) B, 3) C, 4) A, 5) A, 6) D, 7) A, 8) C, 9)A, 10) B
QTP Questions 33 - Relative & Absolute Path
1)
In Edit > Action > Action Properties, in Associated Repositories tab, you cannot enter an
associated object repository as a relative path.

A) True
B) False

2)
..............method helps you resolve the specified relative file path and returns its absolute path.

A) Local
B) Lrelative
C) Locate
D) Lresolve

3)
In the FIle ->Settings, Resource tab, you can enter an associated function library as a relative
path.

A) True
B) False

4)
ExecuteFile Statement which executes the VBScript statements in the specified file can accept
............ of the file to execute.

A) Absolute
B) Relative
C) Both A & B
D) None

5)
When working with tests, if your recovery files are stored in the file system and you want other
users or Mercury products to be able to run this test on other computers, you should set the
recovery file path as a ......... path.

A) Absolute
B) Relative
C) Both A & B
D) None

6)
When you choose Insert-> Call to Existing Action, in the Select Action dialog that opens, you
cannot enter the relative path in "From test" dropdown.

A) True
B) False

7)
If you expect other users to open your tests and all actions in your tests are stored in the same
drive, you should use absolute paths for your reusable actions so that other users will be able to
open your tests even if they have mapped their network drives differently

A) True
B) False

8)
A relative path is a path that is indicated relatively to a ......... location in the file system tree.

A) previous
B) root
C) current
D) base

9)
You can use a .......statement in your test to retrieve the complete path that QuickTest will use for
a specified relative path based on the folders specified in the Folders tab.

A) PathFinder.Locale
B) PathFinder.Locate
C) Locale.PathFinder
D) Locate.PathFinder

10)
.................. Property Assigns a relative path to a shortcut, or identifies the relative path of a
shortcut.

A) RelativePath
B) Relative_Path
C) Relative-Path
D) RelativePaths
Answers
1) B, 2) C, 3) A, 4) C, 5) B, 6) B, 7)B, 8) C, 9)B, 10) A
QTP Questions 34 - Reporter Object
1)
The object used for sending information to the test results is....

A) ReporterEvent
B) Reporter
C) both A & B
D) None of above

2)
Reporter object is an utility object

A) True
B) False

3)
ReportEvent Method .......

A) Reports an event to the Quality Center
B) Reports an event to the Excel Sheet
C) Reports an event to the test results.
D) Reports an event to the Business Process Testing.

4)
ReportEvent method's EventStatus argument has the following predefined constants: (click all
answers that apply)

A) 0 or micPass
B) 1 or micFail
C) 2 or micDone
D) 3 or micWarning
E) 4 or micError

5)
.........Retrieves the run status at the current point of the run session.

A) RunStatuses
B) RunStatus
C) Run_Status
D) Run-Status

6)
The following example uses the RunStatus property to retrieve the status of the run session at a
specific point and exit the action if the test status is .......
If Reporter.RunStatus = 1 Then ExitAction

A) Pass
B) Fail
C) Error
D) Warning


7)
.................Retrieves or sets the current mode for displaying events in the Test Results

A) Filters
B) RFilter
C) R.Filter
D) Filter

8)
You can use ...... property to completely disable or enable reporting of steps

A) enable
B) disable
C) filter
D) enable-disable

9)
How would you insert result for a step in Test Results

A) Reporter.Reports micPass, "step", "details"
B) Reporter.ReportEvent micPass, "step", "details"
C) Reporter.PassEvent , "step", "details"
D) Reporter.Event.Report micPass, "step", "details"

10)
.....................Retrieves the folder path in which the current test's results are stored

A) Reporter.Report.Path
B) Reporter.ReportsPath
C) Reporter.ReportPath
D) Reporter.Report_Path
Answers
1) B, 2) A, 3) C, 4) A,B,C,D 5) B, 6) B, 7) D, 8) C, 9) B, 10) C

Sunday, July 31, 2011
QTP Multiple Choice Questions Part2
1. The automation infrastructure usually includes ...................

A) one or more shared object repositories
B) one or more function libraries
C) Both A & B
D) None

2. HP QTP provides support for development environments using add-ins.

A) True
B) False

3. While you record your test steps, QuickTest Professional creates test objects representing the
objects in your application on which you perform operations. This enables QuickTest to identify
the objects in your application both while and .

A) creating a test
B) during a run session
C) Both A & B
B) None

4. By default, each test includes a single action, but can include multiple
actions.

A) True
B) False

5. By default, QuickTest records in the ............ recording mode.

A) Analog
B) Standard
C) Normal
D) Low Level

6. This method enables you to record the exact mouse and keyboard operations you perform in
relation to either the screen or the application window.

A) Analog
B) Standard
C) Normal
D) Low Level

7. When you record in Analog Recording mode, QuickTest adds to your test a .......... statement
that calls the recorded analog file.

A) RunTime
B) RunAnalog
C) RunAction
D) None

8. You can switch to either Analog Recording or Low Level Recording in the middle of a
recording session for specific steps.

A) True
B) False

9. QuickTest can record only on Web browsers that were opened after QuickTest.

A) True
B) False

10. QuickTest records the visual relation identifier property when recording steps.

A) True
B) False



Answers:

1)c, 2)a, 3) c, 4) a, 5)c, 6) a, 7)b, 8) a, 9)a, 10) b
Sunday, July 31, 2011
QTP Multiple Choice Questions Part2
1. The automation infrastructure usually includes ...................

A) one or more shared object repositories
B) one or more function libraries
C) Both A & B
D) None

2. HP QTP provides support for development environments using add-ins.

A) True
B) False

3. While you record your test steps, QuickTest Professional creates test objects representing the
objects in your application on which you perform operations. This enables QuickTest to identify
the objects in your application both while and .

A) creating a test
B) during a run session
C) Both A & B
B) None

4. By default, each test includes a single action, but can include multiple
actions.

A) True
B) False

5. By default, QuickTest records in the ............ recording mode.

A) Analog
B) Standard
C) Normal
D) Low Level

6. This method enables you to record the exact mouse and keyboard operations you perform in
relation to either the screen or the application window.

A) Analog
B) Standard
C) Normal
D) Low Level

7. When you record in Analog Recording mode, QuickTest adds to your test a .......... statement
that calls the recorded analog file.

A) RunTime
B) RunAnalog
C) RunAction
D) None

8. You can switch to either Analog Recording or Low Level Recording in the middle of a
recording session for specific steps.

A) True
B) False

9. QuickTest can record only on Web browsers that were opened after QuickTest.

A) True
B) False

10. QuickTest records the visual relation identifier property when recording steps.

A) True
B) False



Answers:

1)c, 2)a, 3) c, 4) a, 5)c, 6) a, 7)b, 8) a, 9)a, 10) b
Sunday, July 31, 2011
QTP Multiple Choice Questions Part3
1. You can use the Keyword View to add new steps to your test and but you cannot view and
modify existing steps.

A) True
B) False

2. In the keyword view, in a Value cell, press ....... to add line breaks (multi-line arguments) to
your argument value.

A) CTRL+ENTER
B) SHIFT+ENTER
C) ALT+ENTER
D) F12+ENTER

3. In a Value cell (keyword view),if you enter quotation marks as part of the argument value,
they are included in the argument value used during the run session.

A) True
B) False

4. You can copy or cut a parent object together with only some of its child objects.

A) True
B) False

5. In case of Keyboard Shortcuts in the Keyword View, Press.... to add a new step below the
currently selected step.

A) F9
B) F11
C) F8
D) F12

6. ....... tool enables you to encode passwords so that you can use the resulting strings as method
arguments or data table parameter values (enabling you to place secure values into the data
table).

A) Password Tool
B) Password coder Tool
C) Password decoder Tool
D) Passworder Tool

7. IntelliSense information works in the QTP keyword view.

A) True
B) False

8. A test comprises calls from actions.

A) True
B) False

9. An action consists of its own test script, including all of the steps in that action, and any
objects in its shared object repository.

A) True
B) False

10. An action in HP QTP can correspond to more than one DataSheet.

A) True
B) False



Answers:

1)b, 2)b, 3) a, 4) b, 5)c, 6) b, 7)a, 8) b, 9)a, 10) a
Sunday, July 31, 2011
QTP Multiple Choice Questions Part4
1. To modify a called external action, you may or may not open the test with which the action is
stored and make your modifications there.

A) True
B) False

2. Input values for an action parameter in QTP can be retrieved from any of the following:

A) the test (for a top-level action)
B) the parameters of the parent action that calls it (for a nested action)
C) the VBScript Engine
D) the output of a previous action call (for a sibling action)

3. Action parameters in Quicktest enable you

A) to transfer input values from your test to a top-level action,
B) to transfer input values from a parent action to a nested action,
C) to transfer input values from an action to a sibling action that occurs later in the test.
D) to transfer output values from a step in an action to its parent action,
E) to transfer output values from a top-level action back to the script or application that ran
(called) your test.

4. The actual value specified for an input action parameter and the location specified for action
output parameter cannot be different for each call to the action.

A) True
B) False

5. You can share a value that is generated in one action with other actions in your test by storing
the value in the global data table. Other actions can then use the value in the data table as an .....
parameter.

A) input
B) output
C) both
D) none

6. As an alternative to using environment variables to share values between actions, you can use
the Dictionary object.

A) True
B) False

7. An action call in the Expert View of QTP can define

A) the action iterations,
B) inputparameter values,
C) output parameter storage locations,
D) an action return values.
E) Both A & B

8. An action call with parameters has the following syntax:

A) RunAction ActionCall, IterationQuantity, Parameters
B) RunAction ActionName, IterationQuantity, Parameters, Time
C) RunAction ActionName, IterationQuantity, Parameters,
D) RunAction ActionName, IterationQuality, Parameters

9. If you expect other users to open your tests and all actions in your tests are stored in the same
drive, you should use ....... paths for your reusable actions so that other users will be able to open
your tests even if they have mapped their network drives differently.

A) Relative
B) Absolute
C) Any
D) None

10. If a test contains a call to an action from another test, and that other test
was renamed in Quality Center, the original test name still appears (in
square brackets) in the Test Flow pane.

A) True
B) False



Answers:

1)b, 2)a,b,d 3) a,b,c,d,e 4) b, 5)a, 6) a, 7)a,b,c,d 8) c 9)a, 10) a

You might also like