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 - An action cannot be splitted when :

  1. An external action is selected.

  2. The first step of an action is selected

  3. A reusable action is selected

  4. Recording a test

A - 1 only

B - (2) and (3) Only

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

D - All the Above

Answer : C

Explanation

An action cannot be splitted when an external or reusable action is selected or in a record session.

Q 2 - Which property/method can be used as custom checkpoints in UFT?

  1. Wait

  2. Exist

  3. Sync

  4. GetROProperty

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

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

C - (1) and(3) Only

D - (2) and (3)

Answer : D

Explanation

Exist and Sync can be used as custom checkpoints.

Q 3 - Which UFT menu item should you use when emailing a UFT test to another tester?

A - Send Email

B - Export Test and Email

C - Save Test with Resources

D - Export Test to Zip File

Answer : D

Explanation

Export Test to ZIP File is used to email UFT test to another tester.

Q 4 - Which Checkpoint validate the image color.

A - Standard

B - Bitmap

C - Page

D - Picture

Answer : B

Explanation

Bitmap checkpoint helps us to validate the image color.

Answer : C

Explanation

local data sheet iterations are specified in Action call Properties.

Q 6 - Which operator do you use to concatenate two strings in VBScript?

A - &

B - &&

C - concat

D - ++

Answer : A

Explanation

Concatenation can be done either by using & or using '+'

Answer : B

Explanation

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

Q 8 - When you use Option Explicit and try to use an undeclared variable name, what is the error that occurs?

A - Variable is undefined

B - Option Explicit Violation Error

C - Value cannot be assigned to variable

D - General Run Error

Answer : A

Explanation

Using an undeclared variable implicitly will cause an error - Variable is unidentified.

Answer : D

Explanation

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

Q 10 - How does HP UFT identify each object you record? (Select two.)

  1. by class

  2. by properties

  3. by methods

  4. by ID

  5. by name

A - (1) and (3) only

B - (2) and (4) only

C - (1) and (2) only

D - (4) and (5) only

Answer : C

Explanation

UFT recognizes objects through class and properties

qtp_questions_answers.htm
Advertisements