QTP 9.2 Practice Test Set5

15 Questions | Total Attempts: 154

SettingsSettingsSettings
Please wait...
QTP Quizzes & Trivia

QTP Practice Test


Questions and Answers
  • 1. 
    What method is used to retrieve the number of columns in the query results?
    • A. 

      Field.Count

    • B. 

      Fields.Item

    • C. 

      Fieds.Count(BOF)

    • D. 

      Fields.Count.Value

  • 2. 
    You should use local object repositories when you?
    • A. 

      Work with single-action tests

    • B. 

      Work with multiple-action tests

    • C. 

      Create multiple tests for a single application.

    • D. 

      Expect the test object properties to change frequently.

  • 3. 
    In Test Settings-->Run the Data Table iteration options are for which data sheet?
    • A. 

      Local

    • B. 

      Global

    • C. 

      Run-time Data Table

    • D. 

      Design-time data Table

  • 4. 
    Why is low-level recording useful?
    • A. 

      It records exact keyboard operations on an object.

    • B. 

      It records exact coordinates of all mouse movements.

    • C. 

      It uses the object repository to determine what methods can be used.

  • 5. 
    Where are virtual objects collections stored?
    • A. 

      In a Function Library

    • B. 

      In the local Object Repository

    • C. 

      In the Object Repository Manager

    • D. 

      Dat folder inside of the QTP installation directory.

  • 6. 
    What is the correct set of add-ins installed automatically with Quick Test 9.2?
    • A. 

      .NET, Web, Java

    • B. 

      Web, SAP, VB

    • C. 

      Active X, VB, Web

    • D. 

      Active X, TE, Web Services

  • 7. 
    If you have a Virtual Object Collectio stored on your machine, and you dont want to use it,what must you do?
    • A. 

      Disable Virtual Object in Test Settings

    • B. 

      Remove the collection from you machine

    • C. 

      Disable virtual objects in General options

    • D. 

      Remove the collections from the resources list.

  • 8. 
    How do you close the database session after examining the results of an SQL query?
    • A. 

      Call the AOD close function

    • B. 

      Use the close method for the RecordSet object

    • C. 

      Set the RecordSet and Connection objects equal to nothing

    • D. 

      Use the close method for the RecordSet and Connection objects

  • 9. 
    Where you can merge two shared object repositories?
    • A. 

      The Object Repository

    • B. 

      The Object Repository Manager.

    • C. 

      The Associate Object Repositories Tool.

    • D. 

      You can only merge local object repositories.

  • 10. 
    What object is used to send information to test results at the completion of the test run?
    • A. 

      Result

    • B. 

      Reporter.

    • C. 

      ReportEvent

    • D. 

      Resultreport

  • 11. 
    What can you use to handle unpredictable testing exceptions?
    • A. 

      A Do Loop

    • B. 

      Recovery Scenario

    • C. 

      IF then Statement

    • D. 

      Select case statement.

  • 12. 
    After running a test that contains both input and output parameters, where can the results ofan output parameter be found/
    • A. 

      Local DataSheet

    • B. 

      Global DataSheet

    • C. 

      Run-time Data Table

    • D. 

      Design-time Data Table.

  • 13. 
    Which statement is used to associate a procedure with a test object class?
    • A. 

      RegisterFunction

    • B. 

      RegisterUserProc

    • C. 

      RegisterUserFunc

    • D. 

      RegisterProcedure

  • 14. 
    How do you declate a constant
    • A. 

      Dim Statement

    • B. 

      Con Statement

    • C. 

      Const Statement

    • D. 

      Option Explicit Statement

  • 15. 
    What is created, by default with each new action?
    • A. 

      Local Data Sheet, Global data sheet, Folder

    • B. 

      Local Object Repository, Local Data Sheet, Folder

    • C. 

      Global Data Sheet, Local Object Repository, Folder

    • D. 

      Local Data Sheet, Global Data Sheet, Local Object Repository