1.
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 Expert View.
A) parentheses around
B) Properties with
C) Arguments with
D) Values alongwith
Ans: A
A) parentheses around
B) Properties with
C) Arguments with
D) Values alongwith
Ans: A
2.
You can also use the ……… to check specific property
values.
A) CheckProperty method
B) CheckItemProperty method
C) ItemProperty method
D) Property method
Ans: A
A) CheckProperty method
B) CheckItemProperty method
C) ItemProperty method
D) Property method
Ans: A
3.
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
Ans: A
A) True
B) False
Ans: A
4.
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
Ans: C
A) action sheet
B) Excel sheet
C) Both A & B
D) None
Ans: C
5.
By default, new actions are
A) Short
B) External
C) reusable
D) non-reusable
Ans: B
A) Short
B) External
C) reusable
D) non-reusable
Ans: B
6.
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
Ans: D
A) Action Flow
B) Action file
C) Action List
D) Action Repository
Ans: D
7.
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
Ans: A
A) Keyword View
B) Expert View
C) Action Flow
D) Action View
Ans: A
8.
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
Ans: A
A) design-time
B) Run-time
C) Current
D) None
Ans: A
9.
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
Ans: A
A) True
B) False
Ans: A
10. 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
Ans: A
A) True
B) False
Ans: A
11. 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
Ans: E
A) in Steps
B) in Checkpoints
C) of Action Parameters
D) Both A & B
E) All of above
Ans: E
12. 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
Ans: E
A) in Steps
B) in Checkpoints
C) of Action Parameters
D) Both A & B
E) All of above
Ans: E
13. There
are four types of parameters: Test/Action, Random number, Environment Variable,
Regular Expression.
A) True
B) False
Ans: B
A) True
B) False
Ans: B
14. You
can parameterize values in steps and checkpoints while …… your test.
A) recording
B) editing
C) Both A & B
Ans: C
A) recording
B) editing
C) Both A & B
Ans: C
15. 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”)
Ans: A
A) Parameter(“ParameterName”)
B) ParameterName(“Parameter”)
C) Parameter(“Parameter-Name”)
D) Parameter(“Parameter_Name”)
Ans: A
16. …..
parameters are available only for top-level actions.
A) Action
B) Environment Variable
C) Test
D) None
Ans: C
A) Action
B) Environment Variable
C) Test
D) None
Ans: C
17. ……
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
Ans: D
A) Action
B) Environment Variable
C) Test
D) Parent action
Ans: D
18. 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
Ans: D
A) letter
B) underscore
C) number
D) both A & b
Ans: D
19. ……
parameters are especially useful for localization testing, when you want to
test an application where the user You can also store environment variable
files in Quality Center.
A) True
B) False
Ans: A
A) True
B) False
Ans: A
20. interface
strings change, depending on the selected language.
A) Action
B) Environment
C) Test
D) Parent action
Ans: B
A) Action
B) Environment
C) Test
D) Parent action
Ans: B
21. …….
built-in environment variable that tells version of the OS on which you are
working.
A) OS
B) OS_Ver
C) OSVER
D) OSVersion
Ans: D
A) OS
B) OS_Ver
C) OSVER
D) OSVersion
Ans: D
22. Random
number parameters are appropriate for non-numeric
values, such as text or hypertext links.
A) True
B) False
Ans: B
values, such as text or hypertext links.
A) True
B) False
Ans: B
23. You
can use regular expressions only for values of type string and number.
A) True
B) False
Ans: B
A) True
B) False
Ans: B
24. 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
Ans: B
A) True
B) False
Ans: B
25. All
…….. are automatically treated as regular expressions.
A) programmatic description
B) Window
C) WinObject
D) Collection
Ans: A
A) programmatic description
B) Window
C) WinObject
D) Collection
Ans: A
26. Virtual
objects enable you to record and run tests on objects that are normally
recognized by QuickTest.
A) True
B) False
Ans: B
A) True
B) False
Ans: B
27. QuickTest
does not support virtual objects for ……. recording.
A) analog
B) low-level
C) normal
D) both A & B
E) both A & C
Ans: D
A) analog
B) low-level
C) normal
D) both A & B
E) both A & C
Ans: D
28. You
can use the Object Spy to view virtual object properties.
A) True
B) False
Ans: B
A) True
B) False
Ans: B
29. 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
Ans: E
A) disabling recognition of
B) deleting
C) deleting virtual object collection files of
D) All of Above
E) both A & B
Ans: E
30. 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
Ans: C
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
Ans: C
31. QuickTest
identifies a virtual object according to its ……
A) Properties
B) boundaries
C) Object Spy
D) Edges
Ans: B
A) Properties
B) boundaries
C) Object Spy
D) Edges
Ans: B
32. Recovery
scenarios activate specific recovery operations when ……… occur.
A) Specific Errors
B) Test Errors
C) Trigger Events
D) QTP Errors
Ans: C
A) Specific Errors
B) Test Errors
C) Trigger Events
D) QTP Errors
Ans: C
33. 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
Ans: B
A) True
B) False
Ans: B
34. 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
Ans: B
A) True
B) False
Ans: B
35. 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
Ans: A
A) True
B) False
Ans: A
36. 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
Ans: A
A) Pause
B) Run
C) F14
D) Session
Ans: A
37. .
While the test and function libraries are running in debug mode, they are
read-only
A) True
B) False
Ans: A
A) True
B) False
Ans: A
38. The
debug session can continue at the backend while you can perform file operations
like opening a new test etc.
A) True
B) False
Ans: B
A) True
B) False
Ans: B
39. 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
Ans: B
A) True
B) False
Ans: B
40. 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
Ans: A
A) Start from Step
B) Run to Step
C) Run from Step
D) Start to Step
Ans: A
41. 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
Ans: C
A) internal
B) external
C) built-in
D) All of above
Ans: C
42. 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
Ans: B
A) AddinsUpdate
B) AddinsUpgrade
C) Addins_upgrade
D) Both A & B
Ans: B
43. 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
Ans: A
A) True
B) False
Ans: A
44. 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
Ans: D
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
Ans: D
45. If
you define environment variables to specify the record and run details, those
values override the values in the
46. Record
and Run dialog box.
A) True
B) False
Ans: A
A) True
B) False
Ans: A
47. You
can add up to … applications to the application list displayed in the Windows
Applications tab
A) 10
B) 12
C) 24
D) 64
Ans: A
A) 10
B) 12
C) 24
D) 64
Ans: A
48. 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
Ans: A
A) True
B) False
Ans: A
49. 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
Ans: B
A) does not
B) ignores
C) may or may not ignore
D) None of above
Ans: B
50. 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
Ans: D
A) repeating time
B) waiting time
C) average time
D) recording time
Ans: D
51. 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
Ans: B
A) Parameters
B) Location
C) Associated Repositories
D) Type
Ans: B
52. 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
Ans: D
A) F3
B) alt
C) shift
D) ctrl
Ans: D
53. 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
Ans: D
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
Ans: D
54. 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
Ans: A
A) True
B) False
Ans: A
55. 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
Ans: C
A) Recent Folders list
B) Current Files list
C) Recent Files list
D) Both A & c
Ans: C
56. 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
Ans: A
A) Navigate and Learn
B) Navigate and earn
C) Navigate
D) Navigate and Click
Ans: A
57. 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
Ans: D
A) Microsoft
B) Adobe
C) HP
D) QuickTest
Ans: D
58. It
is possible that you can use the Object property to access the native
properties of any run-time object.
A) True
B) False
Ans: A
A) True
B) False
Ans: A
59. 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
Ans: D
A) Test
B) Function Library
C) Applciation area
D) Both A & B
Ans: D
60. You
cannot add to the list of properties that QuickTest uses to identify an object.
A) True
B) False
Ans: B
A) True
B) False
Ans: B
61. Generate
Script’ is in which tab of Test Settings (File->Settings)window
A) Properties
B) Web
C) Resources
D) Recovery
Ans: A
A) Properties
B) Web
C) Resources
D) Recovery
Ans: A
62. You
can insert additional steps on the test objects captured in the Active screen
after the recording session.
A) True
B) False
Ans: A
A) True
B) False
Ans: A
63. The
Active Screen enables you to parameterize object values andinsert checkpoints
A) True
B) False
Ans: A
A) True
B) False
Ans: A
No comments:
Post a Comment