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 - While merging two object repositories using Merge Tool, if an object in the secondary repository has the same name, description properties and values as an object in the primary object repository which has some additional properties and values, how this conflict can be handled?

  1. By keeping the object added from the primary object repository only.

  2. By keeping the object added from secondary repository only.

  3. By keeping the object added from both the repository.

  4. by ignoring both repository and adding a fresh new object.

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

B - (2) and (4) Only

C - (2) and (3) Only

D - (3) and (4) only

Answer : A

Explanation

You can handle this conflict by either adding objects from primary object repository only or only from secondary object repository or both..

Q 2 - How can you create a .zip file of your test?

  1. File > Export Test to zip file

  2. File > Save as zip file

  3. File > Save Test with sources and select Archive test and resource files in a zip file check box

  4. CTRL+ALT+S

  5. you can not create a .zip file of the test.

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

B - (4) Only

C - (1) and(3) Only

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

Answer : A

Explanation

UFT has a feature to export youur test to a zip file. you can do this by selecting File >> Export Test to zip file (CTRL+ALT+S) menu options, or while saving the test with resources(File>Save Test with Resources) and select Archive test and resource files in a zip file check box.

Q 3 - What are the default add-ins checked for installation in UFT

  1. .NET

  2. ActiveX

  3. HTML

  4. Web

  5. Java

  6. Visual Basic

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

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

C - (1) and(4) Only

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

Answer : B

Explanation

While installing UFT, the .NET, Wen and VB plugins are activated by default for installation

Q 4 - Which checkpoint type should you use to validate the enabled state of a button?

A - text

B - enabled

C - standard

D - XML

Answer : C

Explanation

Standard checkpoint helps us to validate the enabled state of a button.

Answer : D

Explanation

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

Q 6 - Which DataTable method makes an external spreadsheet available to UFT?

A - GetSheet

B - OpenSheet

C - ImportSheet

D - ExportSheet

Answer : C

Explanation

ImportSheet method makes an external spreadsheet available to UFT.

Answer : B

Explanation

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

Answer : C

Explanation

To call a test script in another script, you need to make the actions in corresponding script reusable.

Q 9 - Where can you see the TO and RO properties and methods of an object?

A - Object Identification

B - Object Spy

C - Object Repository

D - Object Repository Manager

Answer : B

Explanation

TO and RO Properties for an object can be seen in Object spy.

Answer : A

Explanation

GETROPROPERTY - to retrieve a property value of a runtime object

qtp_questions_answers.htm
Advertisements