QTP Online Quiz


Following quiz provides Multiple Choice Questions (MCQs) related to QTP Framework. You will have to read all the given answers and click over the correct answer. If you are not sure about the answer then you can check the answer using Show Answer button. You can use Next Quiz button to check new set of questions in the quiz.

Questions and Answers

Q 1 - You can modify the concurrent license server.

  1. using License Wizard

  2. by setting LSHOST user variable

  3. by setting LSFORCEHOST user variable

  4. at Help > About dialog box

A - (1) and (2) only

B - (1) (2) and (4) Only

C - (1) (2) and (3) Only

D - All (1) (2) (3) and (4)

Answer : C


Concurrent license server details can be modified using License Wizard or by setting LSHOST or LSFORCEHOST user variable. It cannot be modified using Help > About Dialog box

Q 2 - You can copy and paste OR drag-drop steps to move the steps to a different location in Keyword view.

A - True

B - False

Answer : A


Copy paste and drag drop steps can be done to move steps to a different location in Keyword view.

Q 3 - Where can you reset the add-in manager if it does not display when you launch UFT?

A - General Options

B - Run Options

C - Test Properties

D - Test Settings

Answer : A


It is available under Tools menu.

Q 4 - You have defined a global synchronization timeout of 30 seconds for your test. The synchronization point timeout for a button to become enabled is set to 10000. During playback of the script, what is the maximum amount of time UFT will wait for the button to become enabled?

A - 10 seconds

B - 30 seconds

C - 40 seconds

D - 10030 seconds

Answer : C


UFT waits up to the amount of time set for the object synchronization timeout option, plus the time set for the synchronization point timeout.

Answer : A


You have to navigate to Resources > Object Repository Manager.

Answer : A


DataTable.Export (Filename) to be used to export all sheets in a datatable.

Q 7 - The Documentation cell in Keyword view is ____________.

A - Read-only

B - Write-only

C - Read-Write

D - read, write and execute

Answer : A


You cannot edit documentation cell in keyword view.

Q 8 - When you use Option Explicit and try to use an undeclared variable name, what is the error that occurs?

A - Variable is undefined

B - Option Explicit Violation Error

C - Value cannot be assigned to variable

D - General Run Error

Answer : A


Using an undeclared variable implicitly will cause an error - Variable is unidentified.

Q 9 - Which objectRepositoryUtil method is used to add an object to the object repository?

A - Load

B - GetObject

C - AddObject

D - Add

Answer : C


You can add an object to Object Repository using the ObjectRepositoryUtil method AddObject.

Q 10 - After running a test which has been parameterized using Datatable, where can you view the actual values taken from the data table during Run session?

A - Local Data table

B - Global Data table

C - Run Time Data table

D - Debug viewer

Answer : C


Value set to or taken from a data table during run session can be viewed in Run Time Data table.