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 - When you call a sub procedure, you can use the call statement as

  1. call mySubProc(argument)

  2. Also,you can omit the call statement and just use − mySubProc(argument)

A - True

B - False

Answer : B

Explanation

When you don't use call statement, parenthesis can not be used while calling a sub.

Q 2 - The changes made in Call to Action, will be reflected in the original action (from where the script is called) where as in Copy Action , the changes made in the script ,will not effect the original script(Action)

A - True

B - False

Answer : A

Explanation

Seat license is specific to a computer on which it is installed.

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.

Q 4 - Which UFT feature confirms that the application is functioning correctly?

A - parameterization

B - checkpoint

C - breakpoint

D - validation

Answer : B

Explanation

Checkpoint confirms if the application is functioning correctly.

Q 5 - Which feature can you use to teach UFT to recognize any area of your application

A - object identification

B - object wizard

C - virtual objects

D - virtual identification

Answer : C

Explanation

Virtual Objects can teach UFT to recognize any area in your application.

Answer : B

Explanation

WebEdit("Name:=Author" , "Index:=3") is the correct syntax of descriptive programming.

Q 7 - Result.qtp file at Test Result Location stores all information on each of the test result nodes that are displayed in Test Result Viewer.

A - True

B - False

Answer : B

Explanation

The file that stores information about the test result nodes is Results.xml and not Result.qtp

Q 8 - What will happen if more than one function of same name exists in the test or function library.

A - UFT stops and returns error

B - UFT gives a warning and continue running

C - UFT always considers the last function

D - UFT always considers the first function

Answer : C

Explanation

When more than one function with the same name exists in the test script or function library, the last function will always be called.

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.

Q 10 - Which tool can be used to merge checkpoints and output objects from primary or secondary object repository into a shared object repository?

A - Object Spy

B - Object Repository Merge Tool

C - Object Repository Comparison Tool

D - No tool can merge checkpoint or output objects

Answer : D

Explanation

There is no tool available to merge checkpoint or output objects.

qtp_questions_answers.htm
Advertisements