Sunday, September 26, 2010

QTP - Q & A : Series III

--------------------------------------------------------------------------------------------
Software Testing (2nd Edition)

Agile Testing: A Practical Guide for Testers and Agile Teams

Testing Computer Software, 2nd Edition
--------------------------------------------------------------------------------------------
1. If you are typing in Expert view and you type an object followed by a dot, what does Quick Test display?
       A. Nothing
       b. The arguments for that object
       C. The methods and properties for that object
       D. The child objects and methods for that object

2. What are bitmap checkpoints sensitive to?
       A. Image size and object type
       B. Object type and image type
       C. Screen resolution and object type
       D. Screen resolution and image size

3. When a test is run in update mode, what is updated?
      A. The test results
      B. The object descriptions
      C. The action names in the test
      D. The logical names in the test

4. What object is used to read information from a text file?
      A. Read
      B. Readline
      C. TextStream
      D. File System
      E. Open Text file

5. What must you do before a shared object repository can be edited?
       A. Enable Editing
       B. Add a new object
       C. Open the object repository
       D. OPen an action that used that shared object repository

6. What is the difference between a subroutine and a function?
       A.  Subroutine can call itself, a function cannot
       B.  A function returns a value; a subroutine cannot
       C. A function can accept arguments; a subroutine cannot
       D. A subroutine can call other procedures; a function cannot

7. What are the phases in the Quick Test flow?
       A. Plan, Record. Enhance, Run
       B. Prepare,  Record, Verify, Run
       C. Plan, Create, Verify, Run
       D. Prepare, Create, Verify & Enhance, Integrate

8. What does the GetTOProperty method do?
     A. Retrieves the value of a property from the test object.
     B. Retrieves the available properties from a test object.
     C. Retrieves the value of a property from a run time object.
     D. Retrieves the available properties from a run time object.

9. The key that is used to Start/End analog recording mode?
  1. F3
  2. SHIFT+ALT+F3
  3. CTRL+SHIFT+F3
  4. F10 
10. The list of test objects and their properties and values are stored in the
  1. Object Repository
  2. Object Identification
  3. Object Class 
11. The statement that calls the recorded analog file is
  1. RunAnalog
  2. CallAnalog
  3. ExecuteAnalog 

12.In Batch Test process, the test list are saved in file format as,
     A.*.mtb
     B.*.mts
     C.*.mbt
     D.*.mtr       

13.The method that adds to the test while implementing Synchronization is
     A.Synchronize
     B.Wait
     C.WaitProperty
     D.Pause

14. What is the extension for Script file?
     .mts

15.What is the extension for Recovery Scenario File?
     .qrs

16.What is the extension for shared object repository?
     .tsr

17.What is the extension for Per Action repository?
      .mtr

18.What is the extension for Action Template?
     .mst

19.What is the extension for virtual object collection?
     .vot

20. what is the extension for Test Results?
     .xml

21. what is the extension for Batch file?
     .mtb


Source: Google

No comments:

Post a Comment