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 - Mark all the ways that can be used to share values between actions.

  1. using Global Data Table

  2. using Environment Variables

  3. using sendparameter command

  4. using Dictionary Objects

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

Explanation

Global data table, environment variables and dictionary object can be used to share values among actions.

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.

Answer : A

Explanation

It comprises of calls to actions

Q 4 - Which status is reported in the Test Results Summary if the test does not include checkpoints?

A - Fail

B - Passed

C - Done

D - Complete

Answer : C

Explanation

Done is used in Reporter.Report event method to report in test result summary if it doesnot include checkpoints.

Answer : D

Explanation

Define a monitor limit can be used to cause the test to fail?

Q 6 - What happens during a run session, if an object is contained in both local and shared repositories.

A - QTP uses objects from Shared Repository

B - QTP uses objects from Local Repository

C - Run Error occurs

D - QTP does not identify the object and skip the step.

Answer : B

Explanation

If an action uses an object contained in both local and shared repository QuickTest always searches for and uses objects in the local object repository.

Q 7 - 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 - 32400

Answer : C

Explanation

You can specify a maximum of 32000 rows.

Q 8 - What is the default value for the 'Generate with statements for _____ or more objects' in General pane at Options dialog box ?

A - 0

B - 1

C - 2

D - v

Answer : C

Explanation

Default value is 2 for the option 'Generate with statements'

Q 9 - Selecting File > Print Preview, Displays the _________ as it will look when printed and enables you to modify the page setup.

A - Keyword view

B - Expert view

C - Object repository

D - Test Flow

Answer : A

Explanation

Print Preview displays the preview only for Keyword view.

Q 10 - Which tool can be used to merge checkpoints and output objects from primary or secondary object repository into a shared object repository?

A - Object Spy

B - Object Repository Merge Tool

C - Object Repository Comparison Tool

D - No tool can merge checkpoint or output objects

Answer : D

Explanation

There is no tool available to merge checkpoint or output objects.

qtp_questions_answers.htm
Advertisements