Learning Center
Plans & pricing Sign in
Sign Out

QTP Fundamentals

VIEWS: 1,292 PAGES: 7

this document is for indexing qtp tool fundamentals and features.

More Info

QTP Fundamentals

  for QTP Scripts and Documents

G.C.Reddy, QTP Trainer, Hyderabad (9247837478)      1

      QuickTest Window / Key Elements of QTP
1) Test Pane
2) Active Screen
3) Data Table
4) Debug viewer
5) Information pane
6) Missing Resources pane
7) QTP Tool bars
8) QTP Menu items / QTP commands
9) Tool Settings

                           Object Repository
1) Software objects
2) Types of object in QTP
      a) Runtime Objects
      b) Test Objects
      c) Utility Objects
      d) Automation Objects
3) Object Repository
      a) Local Repository
      b) Shared Repository
4) Operations on Object Repository
      a) Adding Objects
      b) Renaming Objects
      c) Deleting Objects
      d) Associating Object Repositories to an Action
      e) Exporting Local Objects
      f)   Merging Repositories
      g) View Options
      h) Spying Objects
      i)   Importing and Exporting Repositories using XML

   G.C.Reddy, QTP Trainer, Hyderabad (9247837478)                        2

                       QTP Testing Process
1) Planning

     a) Analyzing the AUT
     b) Implementing Automation Framework
     c) Creating/Selecting Test cases
     d) Collecting Test Data
     e) Object Identification Configuration
         i.   Normal Identification
                  1. Mandatory Properties
                  2. Assertive Properties
        ii.   Smart Identification
                 1. Base filter Properties
                 2. Option filter properties
       iii.   Ordinal Identifier
       iv.    Making Tool Settings Global
2) Generating the basic Test
     a) Recording
       i.     Normal Recording
       ii.    Analog Recording
      iii.    Low Level Recording
      iv.     Record and Run Settings
     b) Keyword driven methodology/Shared object repository
        method/Preparing the script manually
     c) Descriptive programming/Programmatic Descriptions
       i.     Entering Programmatic Descriptions Directly into Statements
       ii.    Using Description Objects for Programmatic Descriptions
      iii.    Retrieving Child Objects
      iv.     Using the Index Property in Programmatic Descriptions
       v.     Creating Checkpoints Programmatically

3) Enhancing the Test
     a) Inserting Check points
       i.     Standard Checkpoint
       ii.    Text Checkpoint

  G.C.Reddy, QTP Trainer, Hyderabad (9247837478)                            3

   iii.    Text Area Checkpoint
   iv.     Bitmap Checkpoint
    v.     Database Checkpoint
   vi.     Accessibility Checkpoint
  vii.     XML Checkpoint (From Application)
  viii.    XML Checkpoint (From Resource)
   ix.     Page Checkpoint
    x.     Image Checkpoint
   xi.     Table Checkpoint
  b) Inserting Output values
     i.    Standard Output value
    ii.    Text Output value
   iii.    Text Area Output value
   iv.     Database Output value
    v.     XML Output value (From Resource)
  c) Adding Comments
  d) Synchronization
     i.    Inserting Wait Statement
    ii.    Inserting Synchronization Point
   iii.    Increasing Tool Default Synchronization Time
   iv.     Sync method (only for web)
    v.     Selecting appropriate method
  e) Parameterization
     i.    Data Driven Testing through Loop statements
    ii.    Dynamic Test Data Submission through Looping
   iii.    Data Driven Testing through Data Table
   iv.     Importing Test Data from External files
    v.     Creating a Database, Tables and Entering Data
   vi.     Creating DSN
  vii.     Importing Test Data from Databases
  f) Inserting Programmatic statements
      i.   Inserting Conditional Statements
     ii.   Inserting Loop statements
    iii.   Using VB Script Built-in Functions
  g) Generating steps through Step Generator
  h) Inserting Transaction points

G.C.Reddy, QTP Trainer, Hyderabad (9247837478)                        4

        i.    Start Transaction
       ii.    End Transaction
     i) Enhancing Tests with the windows API
4) Debugging the Test
     a) Debug Commands
        i.    Step Into
       ii.    Step Over
       iii.   Step Out
     b) Inserting/Removing Brake Points
     c) Watching variables
     d) Changing Variable values
5) Running the Test
     a) Normal execution
     b) Test Batch execution
        i.    Test batch formation
       ii.    Batch execution
       iii.   Partial Batch execution
6) Analyzing the Test Results
     a) Test Result Viewer
     b) Analyzing Test Results
     c) Exporting Test Results
     d) Test Results Deletion
7) Reporting Defects
     a) Manual Defect Reporting
     b) Tool based Defect Reporting
     c) Integration with Quality Center

                    QTP Advanced Features
1) Regular expressions
2) Environment Variables
   a) Built-in Variables
   b) User Defined Variables
   c) Defining, modifying and associating environment variables
3) Methods
     a) QTP Methods

  G.C.Reddy, QTP Trainer, Hyderabad (9247837478)                     5

       b) VB Script Methods
4) Actions
  a) Types of actions
         i.    Non-reusable Actions
        ii.    Re-Usable actions
        iii.   External Actions
  b) Creating an Action
  c) Splitting Actions
  d) Renaming an Action
  e) Deleting an Action
  f)   Making an Reusable/Non-Reusable
  g) Calling an existing Action
  h) Copying an Actions
  i)   Action Parameters
5) Functions
  a) Preparing Procedures
  b) Associating Procedures to QTP tests
  c) Modifying Procedures
  d) Calling Procedures
6) Dynamic Handling of Object Repositories
  a) Loading Repositories directly through Utility Object
  b) Finding Repository Position
  c) Removing Repositories
7) Data Driven Testing through Scripting
  a) Importing Data from Flat files
  b) Importing Data from spread sheets
  c) Importing Data from Databases
         i.    Ms Access
        ii.    SQL Server
        iii.   Oracle
8) File System Operations
  a) File system Object
  b) Creating Files
  c) Reading Data
  d) Writing Data

  G.C.Reddy, QTP Trainer, Hyderabad (9247837478)                       6

  e) Creating Folders
  f)   Creating Drives
9) Recovery Scenarios
  a) Trigger events
          i.   Pop-Up window
         ii.   Object State
        iii.   Test Run Error
        iv.    Application Crash
  b) Recovery Operations
        i. Keyboard or Mouse Operation
       ii. Close Application Process
       iii. Function Call
       iv. Restart Microsoft Windows
  c) Creating Recovery Scenarios
  d) Associating Recovery Scenarios
10)        Virtual Object Configuration
  a) Virtual Object Manager
  b) Defining a Virtual Object
  c) Removing or Disabling Virtual Object Definitions
11)        Test Automation Frameworks
  a) Automation Framework
  b) Record & Playback or Linear Framework
  c) Modular Driven framework
  d) Keyword Driven framework
  e) Hybrid driven Framework
12)        Automation Object Model

  G.C.Reddy, QTP Trainer, Hyderabad (9247837478)                     7

To top