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 of the following could be possible objective(s) for test automation? Mark all that apply.

  1. Increase speed of testing

  2. Reduce manual effort

  3. Ensure consistency

  4. Eliminate manual testing.

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

B - (3) Only

C - (1) and(3) Only

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

Answer : A

Explanation

Automating a test, provides you an increased speed of your testing, it reduces manual effort and ensures consistency, It does not replace manual testing.

Q 3 - Where can you reset the add-in manager if it does not display when you launch UFT?

A - General Options

B - Run Options

C - Test Properties

D - Test Settings

Answer : A

Explanation

It is available under Tools menu.

Q 4 - Which UFT feature should you use to view methods and properties of objects in your application?

A - Spy Object

B - Object Repository

C - Object Spy

D - Object Viewer

Answer : C

Explanation

Object Spy tool helps tester to view methods and properties of objects.

Q 6 - What is the maximum number of characters limit that can be displayed in comments tab available under ToDo Pane?

A - 250

B - 260

C - 255

D - 32

Answer : B

Explanation

The text displayed in the comments tab is limited to 260 characters. If it exceeds, the comments can be viewed by jumping to the comment statement.

Answer : B

Explanation

There are three options are there to define table checkpoint row range All Rows, Visible Rows and Another Range

Q 8 - If the local data table contains 5 rows and global data table contains 2 rows, how many times the test will iterate?

A - 1

B - 2

C - 5

D - 10

Answer : D

Explanation

Test will iterate for each of the rows in global datasheet. Hence 10 is the correct answer

Q 9 - What is the method of datatable which can be used to retrieve information from datatable?

A - Value

B - GetCell

C - GetValue

D - Import

Answer : A

Explanation

Datatable.Value retrives information from a datatable.

Q 10 - If a list of recovery scenarios are made default for all new tests that you create. What happens if you make any changes to this list for a new test?

A - it affects the current test only

B - it affects all the existing tests

C - the defined default list changes.

D - there will be no affect at all.

Answer : A

Explanation

If you make any changes to the default list of recovery scenarios, it affects the current test only where the changes have been made.

qtp_questions_answers.htm
Advertisements