QTP Multiple Choice Questions Set 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


1) A, 2) A, 3) C, 4) A, 5) D, 6) B, 7) B, 8) A, 9) D, 10) D

No comments: