Friday, January 21, 2011

QTP Interview Questions set 6


 51)  What method is used to send a run-time Data sheet to an Excel file?
     * Send
    * Export
    * SendSheet
    * Exportsheet
52)  If the Global Data sheet contains no data and the Local Datasheet contains two rows of data, how many times will the test iterate?
    * 1
    * 2
    * 3
    * 5
 53)  What object is used to send information to test results at the completion of the test run?
     * Result
    * Reporter
    * ReportEvent
    * ResultReport
54)  If a procedure is defined in a test script, that procedure is accessible to which tests/scripts?
     * Only to other procedures
    * It is not usable to any test scripts
    * The test script in which it is defined
    * Using the Step Generator, it is available to any test script
 55)  When does a Do loop statement evaluate for continuation?
     * At the end of the loop
    * At the start of the loop
    * At the start or the end of the loop
    * This loop uses a counter variable
56)  What is the default ordinal identifier?
     * The location
    * The object id
    * The nativeclass
    * The index number
 57)  What are bitmap checkpoints sensitive to?
     * Image size and object type
    * Object type and image type
    * Screen resolution and object type
    * Screen resolution and image size
58)  What information can be seen in the information pane?
     * Syntax errors
    * The test name and author
    * The QTP license information
    * The machine id and operating system

QTP Interview Questions set 5


41)  After running a test that contains both input and output parameters, where can the results of an output parameter be found?
    * Local DataSheet
    * Global DataSheet
    * Run-time Data Table
    * Design-time Data Table
42)
  If the Local Data sheet contains two rows of data, how many times will the action iterate, by default?
     * 1
    * 2
    * 3
    * 5
 43)  How do you close the database session after examining the results of an SQL query?
     * Call the ADO.Close function
    * Use the close method for the RecordSet object
    * Set the RecordSet and Connection objects equal to Nothing
    * Use the close method for the RecordSet and Connection objects
44)  By default, how does QuickTest pass arguments to the procedure?

ByVal
ByRef
ByArg
ByRes
45)  What does the ChildObjects method return?
     * A Collection object
    * A string true/false
    * A Boolean TRUE/FALSE
    * The number of objects matching the ChildObject description
46)  How do you declare a constant?
     * Dim statement
    * Con statement
    * Const statement
    * Option Explicit statement
 47)  When a procedure is created in the Function Library editor, what is the extension on the file?
     * INI
    * TXT
    * QFL
    * VBS
48)
  What can you use to handle unpredictable testing exceptions?
     * A Do Loop
    * Recovery Scenario
    * IFHEN statement
    * Selectase statement
 49)  In which command can you associate a function library to a test?
     * Run Options
    * Test Settings
    * View Options
    * Function Definition Generator
50)  What is created, by default, with each new action?
     * Local Data Sheet, Global Data Sheet, Folder
    * Local Object Repository, Local Data Sheet, Folder
    * Global Data Sheet, Local Object Repository, Folder
    * Local Data Sheet, Global Data Sheet, Local Object Repository

QTP Interview Questions set 5


41)  After running a test that contains both input and output parameters, where can the results of an output parameter be found?
    * Local DataSheet
    * Global DataSheet
    * Run-time Data Table
    * Design-time Data Table
42)
  If the Local Data sheet contains two rows of data, how many times will the action iterate, by default?
     * 1
    * 2
    * 3
    * 5
 43)  How do you close the database session after examining the results of an SQL query?
     * Call the ADO.Close function
    * Use the close method for the RecordSet object
    * Set the RecordSet and Connection objects equal to Nothing
    * Use the close method for the RecordSet and Connection objects
44)  By default, how does QuickTest pass arguments to the procedure?

ByVal
ByRef
ByArg
ByRes
45)  What does the ChildObjects method return?
     * A Collection object
    * A string true/false
    * A Boolean TRUE/FALSE
    * The number of objects matching the ChildObject description
46)  How do you declare a constant?
     * Dim statement
    * Con statement
    * Const statement
    * Option Explicit statement
 47)  When a procedure is created in the Function Library editor, what is the extension on the file?
     * INI
    * TXT
    * QFL
    * VBS
48)
  What can you use to handle unpredictable testing exceptions?
     * A Do Loop
    * Recovery Scenario
    * IFHEN statement
    * Selectase statement
 49)  In which command can you associate a function library to a test?
     * Run Options
    * Test Settings
    * View Options
    * Function Definition Generator
50)  What is created, by default, with each new action?
     * Local Data Sheet, Global Data Sheet, Folder
    * Local Object Repository, Local Data Sheet, Folder
    * Global Data Sheet, Local Object Repository, Folder
    * Local Data Sheet, Global Data Sheet, Local Object Repository