The BEST QTP Tutorial/Training (Online)

Email:  aqtptutorial@gmail.com
Weekend: Saturday & Sunday
Timings: 08:00 AM EST to 12:00 Noon EST

1. Introduction & QTP Test Process
        1.1.1         Manual Testing
            1.1.1.1         Drawbacks of Manual Testing
        1.1.2         Test Automation
            1.1.2.1         Advantages of Test Automation
            1.1.2.2         Drawbacks of Test Automation
            1.1.2.3         Types of Automation Test Tool (Business Classification)
            1.1.2.4         Types of Automation Test Tool (Technical Classification)

o    Basic Features of QTP
*         Supporting Environments
*         Version History
*         Types of License
*         Built-in features
*         Integrated Tools (from HP)
*         Integrated Tools (Others)

o    QTP Test Process
*         Planning
*         Generating Basic Tests
*         Enhancing Tests
*         Debugging Tests
*         Running Tests
*         Analyzing Test Results
*         Reporting Defects

2-Key Elements of QTP, Recording & Running
------------------------------------------------------
o       Key Elements of QTP
*         Test Pane
*         Active Screen
*         Data Table
*         Debug Viewer
*         Missing Resources
*         Information
*         QTP Commands
o       Recording & Running Tests
*         Recording Process
*         Running Process
*         Recording Modes
*         Advantages of Recording
*         Drawbacks of Recording

3- Object Repository
-------------------------
Software objects
Types of object in QTP
*         Runtime Objects
*         Test Objects
*         Utility Objects
*         Automation Objects

Object Repository
*         Local Repository
*         Shared Repository

Operations on Object Repository
*         Adding Objects
*         Renaming Objects
*         Deleting Objects
*         Associating Object Repositories to an Action
*         Exporting Local Objects
*         Merging Repositories
*         View Options
*         Spying Objects
*         Importing and Exporting Repositories using XML
*         Defining New Test Objects
*      Keyword driven methodology
*         Generating Tests Manually through Expert view
*         Generating Steps through Keyword view
*         Generating statements through Step Generator

4-Object Identification Configuration
--------------------------------------------
Object Identification Configuration
*    Normal Identification
*    Mandatory Properties
*    Assertive Properties
*    Smart Identification
*    Base filter Properties
*    Option filter properties
*    Ordinal Identifier
*    Making Tool Settings Global

Virtual Object Configuration
*         Virtual Object Manager
*         Defining a Virtual Object
*         Removing or Disabling Virtual Object Definitions

5-Descriptive Programming
---------------------------------

Descriptive Programming
*         Advantages of Descriptive Programming
*         Static Programming
*         Dynamic Programming
*         Creating Library files using Constants /Collection objects
*         Handling Dynamic Objects
*         Handling duplicate Objects
*         Retrieving Child Objects
Methods/Operations
(Activate Click, Close, dblclick, Set, SetSecure, Select, GetVisibleText, GetRoProperty, GetContent, GetItemsCount, GetItem, Sync, Navigate, WaitProperty and Others…)

6-Checkpoints & Output Values
-------------------------------------
Inserting Check points
*         Standard Checkpoint
*         Text Checkpoint
*         Text Area Checkpoint
*         Bitmap Checkpoint
*         Database Checkpoint
*         Accessibility Checkpoint
*         XML Checkpoint (From Application)
*         XML Checkpoint (From Resource)
*         Page Checkpoint
*         Image Checkpoint
*         Table Checkpoint
Inserting Output values
*         Standard Output value
*         Text Output value
*         Text Area Output value
*         Database Output value
*         XML Output value (From Application)
*         XML Output value (From Resource)

7-Parameterization, Synchronization
------------------------------------------
Synchronization
*         Inserting Wait Statement
*         Inserting Synchronization Point
*         Increasing Tool Default Synchronization Time
*         Sync method (only for web)
*         Selecting appropriate method 
Parameterization
*         Data Driven Testing through Loop statements
*         Dynamic Test Data Submission through Looping
*         Data Driven Testing through Data Table
*         Importing Test Data from External files (Text and Excel Files)
*         Creating a Database, Tables and Entering Data
*         Creating DSN
*         Importing Test Data from Databases
*         Data Driven Testing using Data Table Methods
*         Data Driven Testing by fetching the Test Data directly from a Text file
*         Data Driven Testing by fetching the Test Data directly from an Excel file
*         Data Driven Testing by fetching the Test Data directly from a Database

8-Actions, Environment Variables
------------------------------------------
Actions
*    Types of actions
*         Non-reusable Actions
*         Re-Usable actions
*         External Actions
*    Creating an Action
*    Splitting Actions
*    Renaming an Action
*    Deleting an Action
*    Making an Reusable/Non-Reusable
*    Calling an existing Action
*    Copying an Actions
*    Action Parameters

Environment Variables
Built-in Variables
User Defined Variables
Defining, modifying and associating environment variables
Loading Environment file during run-time

9-Transaction Points, Adding Comments
------------------------------------------
Inserting Transaction Points
*         Start Transaction & End Transaction
*         Timer Function
*         Defining Test Results
Adding Comments
*         Purpose of Comments
*         Basic Syntax
*         Comment a Block of Statements
*         Uncomment a Block

10- Debugging Tests, Batch Testing
------------------------------------------
Debug Commands & Break Points
*         Step Into
*         Step Over
*         Step Out
o        Inserting/Removing Brake Points
o        Watching variables
o        Changing Variable values
Batch Testing
*    Test Batch Runner
*    Creating Test Batches
*    Providing permission to Test Batch Runner
*    Running Test Batches
*    Running Partial Batches
Automation Object Model
Automating QuickTest Operations

11- Recovery Scenarios, Quality Center
------------------------------------------
Recovery Scenarios
Trigger events
Pop-Up window
Object State
Test Run Error
Application Crash
Recovery Operations
Keyboard or Mouse Operation
Close Application Process
Function Call
Restart Microsoft Windows
Creating Recovery Scenarios
Associating Recovery Scenarios
Quality Center (Site Administration)
*         Creating Domains/ Deleting domains
*         Creating a project/ deleting a project
*         Creating users
*         Deleting users
*         Assigning users to a project
*         Tracking a project status

12 –Quality Center
------------------------------------------
Quality Center
a) Requirements
Creating/Modifying/Deleting test requirements and child requirements
b) Test plan
Creating/Modifying/Viewing/Deleting manual as well as automated tests
Mapping requirements with test cases
Exporting Manual test cases to quality center project
Exporting QTP tests to quality center project
c) Test Lab
Creating folders
Forming test batches
Executing manual and automated tests
d) Defects
Posting defects
Tracking defects
Sending defects directly from QTP result window

VB Script

13 –Introduction, Variables
------------------------------------------
VB Script Fundamentals & Features
o    Scripting Languages vs. Programming Languages
o    Basic Features of VBScript
o    Hosting Environments & Script Engines
o    Crating & Running a Script
Data Types, Variables
o    VBScript data types
o    Declaring Variables and Option Explicit Statement
o    Assigning Values to Variables
o    Scalar Variables and Array Variables
o    Dynamic Arrays, Dimensional Arrays

14 –Comments, Constants, Operators
------------------------------------------
Comments
Constants
Operators
o    Operator Precedence
o    Arithmetic Operators
o    Comparison Operators
o    Concatenation Operators
o    Logical Operators

15 –Flow Control (Conditional Statements)
------------------------------------------
o    VBScript Conditional Statements
o    Running a statement if condition is true (Single line Syntax)
o    Running a block of Statements if Condition is true
o    Running Certain Statements if a Condition is True and Running Others if a Condition is False
o    Deciding Among Several Alternatives (IF..Else If…)
o    Executing a certain block of statements when two / more conditions are True (Nested If…)
o    Deciding among several Alternatives (Select Case Statement)

16 –Flow Control (Looping through the Code)
------------------------------------------
o    Do…Loop (Loops while or until a condition is True.)
o    While…Wend (Loops while a condition is True.)
o    For…Next: Uses a counter to run statements a specified number of times.
o    For Each…Next (Repeats a group of statements for each item in a collection or each element of an array.)
o    Nested Loops

17 –User Defined Functions
------------------------------------------
o    Types of Procedures
o    Internal & External Functions
o    Creating Library files
o    Creating Sub Procedures
o    Creating Function Procedures
o    Associating Library files
o    Loading Function Libraries run-time
o    Generic Functions
o    Project Specific Functions

18–Built-In Functions
------------------------------------------
o    Conversions (Cdbl. Cint etcc…)
o    Dates/Times (Date, Time, Now, IsDate, DateDiff, etc…)
o    Formatting Strings
o    Input/Output (InputBox and MsgBox)
o    Math
o    Miscellaneous
o    Rounding
o    Strings (Len, Left, Right, Mid Etc….)
o    Arrays (Array, IsArray, Split etc..)
o    Variants

19 –File System Operations
------------------------------------------
File System Operations
o    Computer File System
o    OS Distribution
o    FileSystemObject
Examples:
o    Create a Folder
o    Check if the Folder Exist or not? If not create the Folder
o    Copy a Folder
o    Delete a folder
o    Return a Collection of Disk Drives
o    Get available space on a Drive
o    Creating a Text File
o    Check if the File Exist or not? If not create the File
o    Read Data Character by Character from a text file
o    Read Line by Line from a Text File
o    Data Driven Testing by fetching Test data directly from a Text file.
o    Write Data to a Text File
o    Delete a Text File
o    Check if the File Exists or not? If Exists delete the File
o    Calculate size of a Text File
o    Compare Two Text File by Size, by Text and by Binary values
o    Count the number of times a word appears in a Text File
o    Capture all Button Names and Export to a Text File
o    Capture Customer Names from 1 to 10 Orders in FR and export to a Text File

20 –Excel Object Model
------------------------------------------
Excel Object Model:
Creating an Automation Object in Excel.Application class

Excel Scripting Examples:
i)                    Create an Excel File
ii)                  Create an Excel file and enter some Data
iii)                 Read an Excel spread sheet
iv)                Write data to an Excel spread sheet
v)                 Add formatted data to a spread sheet
vi)                Sort Excel worksheet
vii)              Data Driven Testing by fetching Test data from an Excel file
viii)             Compare Two Excel files
ix)                Data driven Testing through Data Table methods

21–Database Object Model
------------------------------------------
o        ActiveX Data Objects
o        ADODB Connection Object & Recordset Object
o        Test Database Creation & Collecting Test Data
o        Databases Connections (Ms-Access, SQL Server and Oracle)
o        Data Driven Testing by fetching Data from a Database
o        Data Comparisons


22 –Regular Expressions
------------------------------------------
*    Understanding & Using Regular Expressions
*    Handling Dynamic Objects
*    Using Regular Expressions in Checkpoints
*    Defining Regular Expressions
*    Search Operations
*    Regular expressions in Recovery scenarios
*    Regular Expression Object

23–Error Handling
------------------------------------------
*    Overview on Error Handling
*    Error Handling Methods in QTP
*    Synchronization
*    Exist Property
*    Exit Statement
*    On Error Statement
*    Recovery scenarios

24 –GUI Scripting
------------------------------------------
*    Handling GUI Objects
*    Object State Verification
*    Input Domain Coverage
*    Output Domain Coverage
*    GUI Script Examples

25 –Web Scripting  
------------------------------------------
*    Checking Links
*    Testing Forms
*    Output Domain Coverage
*    Cookies Testing
*    Web Script Examples

26 –Introduction, Basic Framework
------------------------------------------
*    Automation Framework, Types of Framework
*    Creating Folder Structure
*    Creating & Storing Automation Resources
*    Organizing & Managing Resources
*    Generating Driver Scripts
*    Generating Initialization Script (AOM Script)

27 –Data Driven Framework
------------------------------------------
*    Test Data Collection
*    Ways of Parameterization
*    Data Driven Implementation Techniques
*    Using Data Table Methods

28 –Keyword Driven Framework
------------------------------------------
*    Keywords
*    Keyword Driven Approach
*    Creating Functions
*    Creating Test Automation resources
*    Creating Organizer Spread sheet
*    Generating the Driver Script
*    Generating the Initialization Script

29 –Hybrid Framework
------------------------------------------
*    Hybrid Automation Framework
*    Keyword Driven & Data Driven Test Approach
*    Advantages of Hybrid Approach
*    Organizing & Managing Resources