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 - How can you can hide Item column in keyword view?

  1. Right click on column header and unselect item

  2. Right click select 'view options' and remove item from visible column list

  3. Select Item column at Tools > View Options

  4. you cannot hide Item column in keyword view

A - (1) and (3) only

B - (1) and (2) Only

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

D - (4) only

Answer : A

Explanation

You can hide a column in keyword view by right clicking on column header and unselect the header name or select view Option and remove the header from visible column list.

Q 2 - Which function can be used to convert data from one subtype to another?

  1. Date

  2. Format

  3. CInt

  4. CStr

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

B - (3) Only

C - (1) and(3) Only

D - (3) and (4) only

Answer : D

Explanation

CInt converts to Integer and CStr converts to string.

Q 3 - Which UFT View Option will show you the repositories associated with each action?

  1. Resources

  2. Information

  3. Script Repository

  4. Active Screen

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

B - (1) Only

C - (1) and(3) Only

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

Answer : B

Explanation

Resources pane shows the repositories associated with each action.

Q 4 - Which step categories can be added using the Step Generator Tool ?

  1. run-time objects

  2. default object types

  3. test objects

  4. utility objects

  5. data objects

  6. Functions

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

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

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

D - (3) (4) and (6)

Answer : D

Explanation

Test object, utility objects and functions can be added using the step generator tool.

Q 5 - Identify UFT resources. (Select three.)

  1. test versions

  2. actions

  3. checkpoints

  4. function libraries

  5. images

  6. recovery scenarios

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

B - (2 (3) and (4) Only

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

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

Answer : D

Explanation

UFT Resources in the above list are actions, checkpoints and recovery scenarios

Q 6 - What is the shortcut key to expand all the branches in the keyword view?

A +

B -

C ctrl+ENTER

D *

Answer : D

Explanation

Asterisk can be used to expand all the branches in the keyword view.

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 - Which test object property is used to access native properties of a run-time object?

A - ChildObjects

B - GetROProperty

C - GetTOProperty

D - Object

Answer : D

Explanation

Object property of an object can be used to access native properties of a run-time object.

Answer : D

Explanation

Defualt mandatory properties for an WebImage Object are – alt, html tag and image type.

Q 10 - After running a test which has been parameterized using Datatable, where can you view the actual values taken from the data table during Run session?

A - Local Data table

B - Global Data table

C - Run Time Data table

D - Debug viewer

Answer : C

Explanation

Value set to or taken from a data table during run session can be viewed in Run Time Data table.

qtp_questions_answers.htm
Advertisements