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 - Mark all the ways that can be used to share values between actions.

  1. using Global Data Table

  2. using Environment Variables

  3. using sendparameter command

  4. using Dictionary Objects

A - (1) and (2) only

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

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

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

Answer : B

Explanation

Global data table, environment variables and dictionary object can be used to share values among actions.

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 is the best match for the regular expression for dee(r|d)ees

  1. deer

  2. deedees

  3. deerees

  4. dees

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

B - (2) and (3) Only

C - (1) and (4) Only

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

Answer : B

Explanation

| instructs QTP to match one of a choice of expression, ( groups the expression.

Q 4 - After playing back a test containing output values, where can the output values be viewed?

A - global Data Table

B - local Data Table

C - design-time Data Table

D - run-time Data Table

Answer : D

Explanation

Run time data table is available in the Results viewer where the output values can be viewed.

Q 5 - Which feature requires a connection to ALM?

  1. Version Control

  2. Jump to Step

  3. System Monitor

  4. Save Test with Resources

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

B - (3) Only

C - (1) Only

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

Answer : C

Explanation

User has to connect to ALM if Version Control is enabled for the project.

Q 6 - What is the maximum number of characters limit that can be displayed in comments tab available under ToDo Pane?

A - 250

B - 260

C - 255

D - 32

Answer : B

Explanation

The text displayed in the comments tab is limited to 260 characters. If it exceeds, the comments can be viewed by jumping to the comment statement.

Q 7 - What is the value of x in the following piece of code :

Dim a(10)

a(0) = 10

a(1) = 20

a(2) = 30

x = UBOUND(a)

A - 0

B - 3

C - 10

D - 30

Answer : C

Explanation

UBound returns the largest subscript for the dimension of an array.

Q 8 - 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 - 255

Answer : D

Explanation

You can specify a maximum of 32000 rows.

Q 10 - Which third party tool should be installed on your machine to enable debugging in QTP scripts?

A - JInitiator

B - Oracle Debugger

C - Microsoft Debugger

D - HP Assist

Answer : C

Explanation

MS Debugger should always be installed on a QTP machine to make use of debug feature

qtp_questions_answers.htm
Advertisements