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 QuickTest operation can not be performed on a virtual object?

  1. cannot be used in expert view

  2. cannot insert a standard checkpoint

  3. cannot insert a image checkpoint

  4. cannot use object spy

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

B - (3) Only

C - (1) and(3) Only

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

Answer : D

Explanation

You cannot insert any type of checkpoint on a virtual object, or use the Object Spy to view its properties.

Q 3 - We can use regular expression for urls in the list of Browsers under Tools > Options > Web to ignore them during record and replay time.

A - True

B - False

Answer : A

Explanation

We can use regular expression for urls in the list of browsers to ignore.

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 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 - 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 - You decided to parameterize a value using Random Number parameter, what option you will choose to generate a new number and use it for the parameter throughout the test?

A - Generate new random number for each action iteration

B - Generate new random number once per entire test run

C - Generate new random number for each test iteration

D - None of these

Answer : B

Explanation

Select ‘Generate new random number once per entire test run’ generates a new number which can be used throughout the test.

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 - What are the options available under Quality Center version Control menu list?

  1. Check out, Undo Check out, Check In

  2. Check Out, Check In, Version History

  3. Check Out, Check In, Get Latest version

  4. Baseline History, Version History

  5. Verify Version, delete Version

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

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

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

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

Answer : C

Explanation

Options available under Quality Center control menu are – Check out, Check in, Undo Check out, Version History,Baseline History.

Q 10 - A Test "DemoApp" has been set to run on row 1-9 in Test Settings Dialog Box. The "Action call properties" for action "login" use the default configuration and the "login" action datasheet has 6 rows in it. How may iteration will the test run if it has 20 rows in the global data sheet?

A - 120

B - 54

C - 180

D - 9

Answer : D

Explanation

Test Settings dialog box controls the global data sheet so it will run 9 rows of global data sheet. By default action call properties runs for the first row in data table., so it will run 1 rows. In all 9*1 = 9 iterations will run.

qtp_questions_answers.htm
Advertisements