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

Explanation

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 - How can you remove a stored movie from the test result?

  1. Selecting File > Remove Movie from Results.

  2. Selecting Tools > Remove Movie from Results.

  3. Delete physical movie file from the result location.

  4. once recorded you can not remove the movie from test result.

A - (1) (2) and (3) only

B - (3) Only

C - (2) and(4) Only

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

Answer : C

Explanation

To remove recorded movie from the test result, you can either select Remove Movie from Results in File menu or you can delete the physical movie file at result location.

Q 3 - Conditional statements cannot be inserted in Keyword view.

A - True

B - False

Answer : B

Explanation

You can insert conditional statements in keyword as well as expert view.

Answer : B

Explanation

The summary reports the status for each iteration in the test result summary page.

Answer : B

Explanation

When call to copy of an action is performed all the steps, checkpoints, parameterizations, action parameters, and object repository are all copied over.

Answer : A

Explanation

If is best to use when we work with properties and methods of an object not in the object repository.

Answer : A

Explanation

The main difference between function and sub procedure is that function can return a value whereas sub procedure.

Q 8 - How can you declare a variable in UFT?

A - Dim MyVar

B - Dim 123MyVar

C - Dim MyVar, 123MyVar

D - Dim My.Var

Answer : A

Explanation

A variable should not begin with a numeric character and should not contain an embedded period.

Q 9 - Which toolbar contains pause button, to interrupt a run session?

A - Automation toolbar

B - Debug toolbar

C - Edit Toolbar

D - Action Toolbar

Answer : B

Explanation

The pause button is contained in Debug toolbar.

Answer : C

Explanation

List of recovery scenarios can be made by default all the tests by selecting Set as Default button at Recovery pane of test setting.

qtp_questions_answers.htm
Advertisements