QTP Online Quiz


Advertisements


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 - While merging two object repositories using Merge Tool, if an object in the secondary repository has the same name, description properties and values as an object in the primary object repository which has some additional properties and values, how this conflict can be handled?

  1. By keeping the object added from the primary object repository only.

  2. By keeping the object added from secondary repository only.

  3. By keeping the object added from both the repository.

  4. by ignoring both repository and adding a fresh new object.

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

B - (2) and (4) Only

C - (2) and (3) Only

D - (3) and (4) only

Answer : A

Explanation

You can handle this conflict by either adding objects from primary object repository only or only from secondary object repository or both..

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 checkpoint type uses a query to validate expected value?

A - standard

B - table

C - database

D - SQL Checkpoint

Answer : C

Explanation

Database checkpoint is used to query to validate expected value.

Answer : D

Explanation

Define a monitor limit can be used to cause the test to fail?

Answer : B

Explanation

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

Q 7 - A checkpoint returns a _________ value.

A - Integer

B - Float

C - Boolean

D - Checkpoint does not return a value

Answer : C

Explanation

Checkpoint returns a Boolean value.

Q 8 - What is the shortcut key for the standard checkpoint?

A - F8

B - F10

C - F11

D - F12

Answer : D

Explanation

Shortcut key for the standard checkpoint is F12.

Q 9 - How many counters are getting displayed at system monitor tab in test result?

A - 0

B - 1

C - 2

D - 3

Answer : C

Explanation

System Monitor tab can display a maximum of 2 counters at a time.

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