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 - Why do you use Add-in Manager?

  1. to open UFT.

  2. to load objects and properties for testing your application

  3. to load support for testing your application.

  4. to create object repository for testing your application

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

B - (3) Only

C - (1) and(3) Only

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

Answer : B

Explanation

You use the Add-in Manager to load support for testing your applications.

Q 3 - When you use 'Object' Property of an object. What does it imply?

  1. you get a reference to the DOM object

  2. you can access the internal methods and properties of the object

  3. you can use an object that is not in Object Repository

  4. you can access the test object properties of an object from object repository

A - (1) and (2) only

B - (3) Only

C - (1) and(3) Only

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

Answer : A

Explanation

Object property accesses the internal methods and properties also references to the DOM object.

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 - Which menu option should you use to save your test to a version controlled ALM/QC project for the first time?

A - Check-in

B - Save As

C - Save Test with Resources

D - Create Version

Answer : B

Explanation

Save As Option to be used inorder to save your test to a version controlled ALM/QC project for the first time.

Q 6 - Which method retrieves a property of a runtime object?

A - GetROProperty

B - GetTOProperty

C - GetRuntimeObjectProperty

D - GetRTProperty

Answer : A

Explanation

GetROProperty retrieves a property of a runtime object.

Q 7 - Which function is used to create an object of specified type?

A - Description.Create

B - CreateObject

C - Object.Create

D - Object.Createtype

Answer : B

Explanation

CreateObject is used to create an object of specified type.

Answer : B

Explanation

To disable a virtual object collection, select Disable virtual objects in General options'.

Q 9 - Some of the properties of an object can be changed during runtime, which are known as Run time properties but some of them can not be changed, what do we call those?

A - Description Properties

B - Test Properties

C - Test Object Properties

D - Native Properties

Answer : C

Explanation

Object properties which does not change during run time are known as Test Object Properties.

Answer : A

Explanation

same name different description, similar description

qtp_questions_answers.htm
Advertisements