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 - When you call a sub procedure, you can use the call statement as

  1. call mySubProc(argument)

  2. Also,you can omit the call statement and just use − mySubProc(argument)

A - True

B - False

Answer : B

Explanation

When you don't use call statement, parenthesis can not be used while calling a sub.

Q 2 - Which QuickTest operation can not be performed on a virtual object?

  1. cannot be used in expert view

  2. cannot insert a standard checkpoint

  3. cannot insert a image checkpoint

  4. cannot use object spy

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

B - (3) Only

C - (1) and(3) Only

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

Answer : D

Explanation

You cannot insert any type of checkpoint on a virtual object, or use the Object Spy to view its properties.

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 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 : B

Explanation

Update from Local Repository Tool is the option to be used for merging OR.

Answer : C

Explanation

GetTOProperties fetches test object's properties during the test run.

Q 7 - You can specify the maximum number of rows at Database checkpoint wizard, that you would like to limit the wizard to check or output. What is the maximum limit that you can specify here?

A - 65356

B - 65000

C - 32000

D - 32400

Answer : C

Explanation

You can specify a maximum of 32000 rows.

Q 8 - What is the equivalent method available in vbscript for ExecuteFile method in UFT?

A - ExecuteGlobal

B - ExecuteLocal

C - Execute

D - ExecuteFile

Answer : A

Explanation

The ExecuteFile statement utilizes the VBScript ExecuteGlobal statement.

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.

Q 10 - In the test results, square brackets around a test object name indicate that the test object was dynamically created using which functions? (Select two.)

  1. Child Objects method

  2. Smart Identification

  3. DynamicBuild method

  4. Create method

  5. Programmatic Description

A - (2) and (5)

B - (3) and (1)

C - (2) and (4)

D - (1) and (5)

Answer : D

Explanation

Child Objects method and Programmatic Description

qtp_questions_answers.htm
Advertisements