QuickTest Professional (QTP) Fundamentals

Test your knowledge of QTP (QuickTest Professional) automation testing, including object repositories, descriptive programming, checkpoints, parameterization, and integration with Quality Center.

20 Questions Published

Questions

Question 1 Multiple Choice (Single Answer)

To Ensure that the Quality Center can Run Tests in QTP, what setting must be set first in QTP?

  1. Allow QC to run tests remotely
  2. Enable QC Integration
  3. Allow other Products to control QTP
  4. Allow other Products to run tests remotely
Question 2 Multiple Choice (Single Answer)

If you see a “Winobject” in your script, what does this mean?

  1. QTP is couldn’t see your application
  2. QTP could see the objects but unable to recognize the class details
  3. QTP cannot see the Object
  4. None of the above
Question 3 Multiple Choice (Single Answer)

How can the Object Repository be made more flexible for objects with dynamic Properties

  1. Regular Expressions
  2. Parameterization
  3. Descriptive Programming
  4. All the Above
Question 4 Multiple Choice (Multiple Answers)

What type of the files can be managed using the Object Repository manager

  1. Local Object Repositories
  2. All Repository Types
  3. Shared Object Repositories
  4. All the Above
Question 5 Multiple Choice (Single Answer)

Which looping statement is guaranteed to execute at least once

  1. For…NEXT
  2. While…Wend
  3. Loop
  4. Do…While
Question 6 Multiple Choice (Single Answer)

How can you ensure that all the variables must be declared thin a script?

  1. You Can’t
  2. OptionDeclare
  3. Declare Explicit
  4. Option Explicit
Question 7 Multiple Choice (Single Answer)

What Checkpoint type is used to check the values of Properties of the object?

  1. Low Level
  2. Active Screen
  3. JPEG Sample
  4. Standard
Question 8 Multiple Choice (Single Answer)

To change the currently loaded Add-ins in QTP you must…

  1. Close QTP & Restart it, then select Add-ins from the Add-in Manager
  2. From the Help Menu choose “About QTP” then check the Add-ins required
  3. Open the Add-in Manager from the QTP main menu & change the Add-ins as required
  4. All of the Above
Question 9 Multiple Choice (Single Answer)

When inserting an Output value in your script, which DataTable sheet can you choose to output to?

  1. Local Data Sheet
  2. Global Data Sheet
  3. Both 1 & 2
  4. Either 1 Or 2
Question 10 Multiple Choice (Single Answer)

Which of these can be parameterized?

  1. Checkpoints
  2. Test Objects in the Repository
  3. Database Checkpoints
  4. All of the Above
Question 11 Multiple Choice (Single Answer)

With the following statement, how long will QTP check for the existence of the Button?Window (“Flight Reservation”).WinButton (“OK”).Exist (3)

  1. 3 Seconds
  2. 20 Seconds
  3. Whatever the default time is Set to plus 3 Seconds
  4. Whatever the default time Set to
Question 12 Multiple Choice (Single Answer)

Which utility is used to investigate Object Properties?

  1. GUI Spy
  2. Object Repository
  3. Object Repository manager
  4. Object SPY
Question 13 Multiple Choice (Single Answer)

What does the “ChildObjects” method return?

  1. A Collection of Objects
  2. A count of the number of Objects on the page
  3. All the Web pages displayed in the browser
  4. None of the above
Question 14 Multiple Choice (Single Answer)

Using the following DataTable value Property, what does the number indicate? X= Datatable.value (“Column1”,1)

  1. That you want the data from the first row in the table
  2. That you want the data from the first column in the table
  3. To get the data from the data sheet
  4. To access the data from the data sheet with the index Value ‘1’
Question 15 Multiple Choice (Single Answer)

The Object Properties (Mandatory & Assistive) for the “Test Object Classes” can be defined using one of the following

  1. Object Spy
  2. Object Repository Manager
  3. Object Identification
  4. All the above
Question 16 Multiple Choice (Single Answer)

In which tab of Test Setting, do you find the associated add-ins

  1. Run
  2. Resources
  3. Properties
  4. Parameters
Question 17 Multiple Choice (Single Answer)

What is the default Browser navigation timeout in QTP

  1. 30000 ms
  2. 60000 ms
  3. 90000 ms
  4. 40000 ms
Question 18 Multiple Choice (Single Answer)

What is the shortcut key to Run from Step

  1. CTRL + F10
  2. CTRL + F5
  3. CTRL + F12
  4. CTRL + F2
Question 19 Multiple Choice (Single Answer)

Under which menu option, Recovery Scenario Manager is available

  1. File
  2. Insert
  3. Automation
  4. Resources
Question 20 Multiple Choice (Single Answer)

The type of descriptive programming in which you add a collection of properties and values to a Description object, and then enter the Description object name in the statement is

  1. Static
  2. Scripting
  3. Dynamic
  4. Framework