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 - There is no need to specify HP ALM / QC in the list of browser to ignore at Record and Run settings dialog box..

A - False

B - True

Answer : B

Explanation

By Default, UFT ignores all instances of HP ALM / Quality center.

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 - During the planning phase, you decide to create multiple actions that can be combined and reused to achieve testing goals. Which element is critical for identifying the actions to be recorded and how to combine them?

A -input data

B - parameters

C -initial and end conditions

D -visual cue

Answer : C

Explanation

Initial and end conditions is critical for identifying and combining them.

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 - A tester uses UFT connected to Quality Center (ALM) and the tests are stored in ALM. At an upcoming conference, this tester wants to demonstrate a new UFT test. The test makes calls to reusable actions from other QuickTest Professional tests stored in Quality Center. What is the simplest way to make the test portable so it can run disconnected from Quality Center?

A - Use the QuickTest Professional Save test with resources feature.

B - Change the calls to the reusable actions, use copies of the reusable actions, and then use the QuickTest Professional Save test with resources feature.

C - Use the QuickTest Professional Save test with resources feature for main test and do the same for the test that contains the called reusable actions.

D - Use the QuickTest Professional Export to zip feature.

Answer : A

Explanation

Tester should use the QuickTest Professional Save test with resources feature to demonstrate a new UFT test inorder to make the test portable so it can run disconnected from Quality Center.

Q 7 - If you have defined an input parameter for an action as "TestId", which of the following can be used to retrieve this parameter value?

A - Parameter("TESTID")

B - Parameter("TestId")

C - Parameter("testid")

D - Parameter("TestID")

Answer : B

Explanation

Input or output action parameter names are case sensitive.

Q 8 - While comparing two object repository using Object Repository Comparison tool, If the same object is contained in both repositories but with different names, how this will be shown in repository?

A - as a single object

B - as two separate objects

C - removes the objects

D - there will be a conflict

Answer : B

Explanation

If the same object is contained in both the object repositories but with different names, they will be shown in the object repositories as two separate objects.

Q 9 - What is the numeric value for a Pass step for Eventstatus while sending result using Reporter.ReportEvent

A - 0

B - 2

C - 3

D - 1

Answer : A

Explanation

value for micPass event status is 0

Q 10 - In update run mode, QuickTest saves the updated objects in _________ Repository

A - Local

B - Shared

C - Local and Shared both

D - either Local or Shared

Answer : A

Explanation

UFT saves the updated objects in the local object repository.

qtp_questions_answers.htm
Advertisements