Friday, January 21, 2011

QTP Interview Questions set 1


1)      Where are virtual object collections stored?
     * In a Function Library
    * In the local Object Repository
    * In the Object Repository Manager
    * Dat folder inside of the QTP installation directory
 2)      What does the GetTOProperty method do?
     * Retrieves the value of a property from a test object
    * Retrieves the available properties from a test object
    * Retrieves the value of a property from a run-time object
    * Retrieves the available properties from a run-time object
 3)      What is the keyword used to define how the counter variable in a or lext loop increments?
     * ++
    * Next
    * Skip
    * Step
4)      To use low-level recording, what must you do first?
     * Start a new test
    * Be in the KeyWord view
    * Be recording in Normal mode
    * Click Low Level Recording under the Automation Menu
 5)      When a test is run in update mode, what is updated?

    * The test results
    * The object descriptions
    * The action names in the test
    * The logical names in the test
6)      To bypass the Object Repository you can:
     * Turn the Object Repository off
    * Use a programmatic description
    * Delete all objects in all repositories
    * Add the object to the Object Repository Manager
 7)      Why is low-level recording mode useful?
     * It records exact keyboard operations on an object.
    * It records exact coordinates of all mouse movements.
    * It uses the object repository to determine what methods can be used.
8)
      In Test Settings ->Run the Data Table iteration options are for which data sheet?
     * Local
    * Global
    * Run-time Data Table
    * Design-time Data Table
 9)      What must you do before a shared object repository can be edited?
     * Enable Editing
    * Add a new object
    * Open the object repository
    * Open an action that uses that shared object repository
10)  Which statement is used to associate a procedure with a test object class?
     * RegisterFunction
    * RegisterUserProc
    * RegisterUserFunc
    * RegisterProcedure

No comments:

Post a Comment