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 - 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 - If you drag-drop a function into your test, UFT removes that function from Available Keywords pane and inserts a call to the function in the test.

A - True

B - False

Answer : B

Explanation

UFT does not remove the function from Available keywords pane if you drag-drop any function to the test.

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 feature requires a connection to ALM?

  1. Version Control

  2. Jump to Step

  3. System Monitor

  4. Save Test with Resources

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

B - (3) Only

C - (1) Only

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

Answer : C

Explanation

User has to connect to ALM if Version Control is enabled for the 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 - Result.qtp file at Test Result Location stores all information on each of the test result nodes that are displayed in Test Result Viewer.

A - True

B - False

Answer : B

Explanation

The file that stores information about the test result nodes is Results.xml and not Result.qtp

Q 8 - Where can you define or override default shortcut keys for editing?

A - Tools > Options

B - Tools > View Options

C - Tools > Customize

D - Shortcut keys cannot be personalized.

Answer : B

Explanation

You can personalize the default keyboard shortcuts for editing at Tools > View options in key binding tab.

Answer : B

Explanation

Description Properties followed by VRI then by Smart identification and finally by ordinal identifier.

qtp_questions_answers.htm
Advertisements