QTP Online Quiz


Advertisements


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 open a process that is available for currently open document?

  1. File > Process Guidance Management

  2. Automation > Process Guidance List

  3. Process Guidance Pane

  4. we cannot open a process.

A - (1) and (3) only

B - (2) and (4) Only

C - (2) and (3) Only

D - (1) and (4) only

Answer : C

Explanation

A Process can be viewed in Process Guidance Pane and also can be opened by selecting Automation > Process Guidance list.

Q 2 - While creating a database checkpoint, you can define your database query ________

  1. Using Connectionstring

  2. Using Microsoft Query

  3. Using Microsoft Debugger

  4. By Manually defining a SQL Statement

A - (2) and (4) only

B - (3) Only

C - (1) and(3) Only

D - (2) and (3)

Answer : A

Explanation

A database query can be defined by using Microsoft Query or by Manually defining a SQL statement.

Answer : A

Explanation

It comprises of calls to actions

Q 4 - You need to change the properties of an object in your object repository. Which repository feature enables you to quickly access the specific item if your repository contains hundreds of objects?

A - Highlight in Application

B - Search in Repository

C - Identify in Repository

D - Locate in Repository

Answer : D

Explanation

Locate in repository is used to quickly access the specific item if your repository contains hundreds of objects.

Q 5 - Which Settings tab enables UFT to measure the resources being used by the application?

A - Resources

B - Environment

C - Local System Monitor

D - Run

Answer : C

Explanation

Local System Monitor enables UFT to measure the resources being used by the application.

Answer : B

Explanation

WebEdit("Name:=Author" , "Index:=3") is the correct syntax of descriptive programming.

Answer : A

Explanation

Table checkpoint can be created by inserting a standard checkpoint on a table object.

Q 8 - What will happen if more than one function of same name exists in the test or function library.

A - UFT stops and returns error

B - UFT gives a warning and continue running

C - UFT always considers the last function

D - UFT always considers the first function

Answer : C

Explanation

When more than one function with the same name exists in the test script or function library, the last function will always be called.

Q 9 - How many times 'LearnQTP' will be Printed?

Dim x, y

For x = 0 to 5 step 2

For y = 5 to 0 step -1

print �LearnQTP�

Next

Next

A - 36

B - 18

C - 15

D - 25

Answer : B

Explanation

Executing the given statements will print 'LearnQTP' 18 times as outer for loop executes for 3 times(index variable incremented by 2) and inner loop by 6 times.

Answer : B

Explanation

Description Properties followed by VRI then by Smart identification and finally by ordinal identifier.


qtp_questions_answers.htm

Advertisements