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 - Which is the best match for the regular expression for deer|dees

  1. deer

  2. deedess

  3. deerees

  4. dees

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

B - (3) Only

C - (1) and(4) Only

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

Answer : C

Explanation

'|' instructs UFT to match one of a choice of expressions.

Answer : A

Explanation

It comprises of calls to actions

Q 4 - You need to change the properties of an object in your object repository. Which repository feature enables you to quickly access the specific item if your repository contains hundreds of objects?

A - Highlight in Application

B - Search in Repository

C - Identify in Repository

D - Locate in Repository

Answer : D

Explanation

Locate in repository is used to quickly access the specific item if your repository contains hundreds of objects.

Q 5 - Which Recording mode records mouse and keyboard operations.

A - Analog

B - Low

C - Normal

D - Insight

Answer : A

Explanation

Analog Recording mode records mouse and Keyboard Operations.

Answer : A

Explanation

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

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 : B

Explanation

To disable a virtual object collection, select Disable virtual objects in General options'.

Q 9 - There are two objects on a webpage with same description. How will you distinguish between these two objects?

A - using 'text' property

B - using 'class name' property

C - using 'index' property

D - using 'html tag' property

Answer : C

Explanation

For more than one object with same description, you can define the index property for the description.

Answer : A

Explanation

It supports testing custom controls on both Internet Explorer and Firefox, and on different versions of these browsers.

qtp_questions_answers.htm
Advertisements