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 - Which of these checkpoints does not require the test to be in recording mode?.

  1. Standard checkpoint

  2. Database checkpoint

  3. XML checkpoint

  4. Page checkpoint

  5. Bitmap Checkpoint

A - (1) and (2) only

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

C - (2) and (3) Only

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

Answer : C

Explanation

You can insert database and xml checkpoint without being in recording mode.

Q 2 - Which of the following is a recovery operation available in UFT?

  1. Click Button with label

  2. Click Link with Text

  3. Click Default Button/Press the Enter Key

  4. Click Cancel Button/Press the Enter Key

  5. Mouse Left/Right Click

  6. Press Key or Key Combination

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

B - (1) and (3) Only

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

D - (3) (4) and (5) Only

Answer : A

Explanation

The valid recovery operations are Click Default Button/Press the Enter Key, Click Cancel Button/Press the Escape Key, Click Button with Label and Press Key or Key Combination.

Q 3 - Input or Output action parameter name are not case sensitive.

A - True

B - False

Answer : B

Explanation

Input or output action parameter names are case sensitive.

Q 4 - Which UFT feature should you use to view methods and properties of objects in your application?

A - Spy Object

B - Object Repository

C - Object Spy

D - Object Viewer

Answer : C

Explanation

Object Spy tool helps tester to view methods and properties of objects.

Q 5 - How can you pause and interact with the playback of a test?

A - Add a wait statement.

B - Add a breakpoint.

C - Add a delay.

D - Add a stop point.

Answer : B

Explanation

Testers has to add a break point to debug or to pause and interact with the playback of a test.

Q 6 - What happens when you hit debug button on a run error message box during a run session?

A - stops the run session.

B - attempts to perform the step again.

C - skips the step and continue execution.

D - suspends the run session.

Answer : D

Explanation

UFT suspends the run session and enable you to debug the test.

Q 7 - Which built-in environment variable indicates the test iteration running currently?

A - Action Iteration

B - TestIteration

C - Iteration Id

D - IterationID

Answer : B

Explanation

TestIteration indicates which test iteration is currently running.

Answer : D

Explanation

The correct servername.typename for QTP to open using createobject is QuickTest.Application.

Q 9 - What is the method of datatable which can be used to retrieve information from datatable?

A - Value

B - GetCell

C - GetValue

D - Import

Answer : A

Explanation

Datatable.Value retrives information from a datatable.

Q 10 - Which of the following datatable functions return the column name?

A - getcolumnname()

B - getparametername()

C - columnname()

D - parametername()

Answer : B

Explanation

getparametername return the column name.

qtp_questions_answers.htm
Advertisements