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 the tool(s) is/are available along with the installation of UFT?

  1. Silent Test Runner

  2. Test Batch Runner

  3. Script Batch Runner

  4. Test Result Creation Tool

  5. HP Video Player

  6. Remote Agent

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

B - (4) (5) and (6) Only

C - (1) (4) and (5) Only

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

Answer : D

Explanation

The tools that are available along with the installation of UFT are Silent Test Runner, Test Batch Runner, Remote Agent, HP Micro Player, Test Result Deletion tool.

Q 2 - You can use a checkpoint as in the statement below

Browser("Browser").Page("Page").check CheckPoint("text:=sometext")

A - True

B - False

Answer : B

Explanation

Descriptive programming can not be used with checkpoints.

Q 3 - During the planning phase, you decide to create multiple actions that can be combined and reused to achieve testing goals. Which element is critical for identifying the actions to be recorded and how to combine them?

A -input data

B - parameters

C -initial and end conditions

D -visual cue

Answer : C

Explanation

Initial and end conditions is critical for identifying and combining them.

Q 4 - You have defined a global synchronization timeout of 30 seconds for your test. The synchronization point timeout for a button to become enabled is set to 10000. During playback of the script, what is the maximum amount of time UFT will wait for the button to become enabled?

A - 10 seconds

B - 30 seconds

C - 40 seconds

D - 10030 seconds

Answer : C

Explanation

UFT waits up to the amount of time set for the object synchronization timeout option, plus the time set for the synchronization point timeout.

Q 5 - Which steps are required to connect to ALM from UFT? (Select three.)

  1. define a project

  2. connect to the server

  3. authenticate user

  4. create a user

  5. define a domain

  6. select a project

A - (2) (3) and (4)

B - (1) (2) and (3)

C - (2) (3) and (6)

D - (2) (3) and (5)

Answer : C

Explanation

Steps includes connect to the server,authenticate user and selecting a project.

Q 6 -If you need to add the steps or update the object repository while running your test, which run mode can be used?

A - Normal Run mode

B - Maintenance Run mode

C - Update Run mode

D - Debug mode

Answer : B

Explanation

Maintenance Run mode can be used to repair your test during run session.

Q 7 - 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 8 - You can specify the maximum number of rows at Database checkpoint wizard, that you would like to limit the wizard to check or output. What is the maximum limit that you can specify here?

A - 65356

B - 65000

C - 32000

D - 255

Answer : D

Explanation

You can specify a maximum of 32000 rows.

Q 9 - How many times 'LearnQTP' will be Printed?

Dim x, y

For x = 0 to 5 step 2

For y = 5 to 0 step -1

print LearnQTP

Next

Next

A - 36

B - 18

C - 15

D - 25

Answer : B

Explanation

Executing the given statements will print 'LearnQTP' 18 times as outer for loop executes for 3 times(index variable incremented by 2) and inner loop by 6 times.

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