QTP Basic Features

 QTP Tool Features

•    QTP was Launched in 2002 (Nov). By Mercury Interactive. Later taken over by HP, in 2007.

•    QTP is an Object Based Testing Tool.

(Object based means; QTP Follows Test Object Model for Performing Testing operations. Based on either Test Objects or Automation Objects or Utility Objects only, we can automate test operations)

(LoadRunner is a Protocol based Test Tool)
•    QTP is for Functional and Regression Testing.

(Basically QTP is a Functional and Regression Test tool but we can use it for little bit Compatibility Testing and Performance Testing)
•    It follows Keyword Driven Approach.

(Keyword Driven Approach means; Keywords, example: Commands, functions, methods, statements etc.. are used for creating Test scripts)
•    It supports Windows Operating Environment only.

(QTP basically depends on User Interface to automate test operations and  it is not depends on server side interactions, where as LoadRunner depends on server side Operations, so HP developed LoadRunner for Windows as well as UNIX versions)

•    It supports GUI based (Graphical user interface) and Web based Applications Automation, does not support CUI (Command user interface) Applications.

•    It has multilingual support. (It supports English, Chinese, Japanese, Korean, etc languages with respect to license.)

•    It has adapted Microsoft Visual Basic Scripting edition for programming and Excel like spread sheet for Data driven testing.

Tools support for QTP:
•    VB Script for Scripting (for implementing programming logic)

•    VB Script Engine integrated in QTP, so apart from scripting features we can use File system, Excel, word, Adodb etc. Object models from QTP.

•    SQL (Structured query language)  Engine integrated in QTP, so we can use SQL Statements in QTP to perform Database Operations

•    Excel like spread sheet integrated in QTP for performing Data driven Testing

•    We can install MS Script Debugger with QTP for Debugging Test scripts.

•    QTP uses XML format for Test results, Environment variables and for exporting object repositories.

•    QTP can be integrated with other Tools like WinRunner and Quality Center.

•    QTP can be used for user interface (UI) test case automation and some limited (Non UI) Test case automation like File system operations and Data base operations.

•    It was derived from Astra QuickTest (mother tool of QTP).

•    It supports IE (Internet Explorer) only for recording tests, for execution it supports other browsers like Mozilla and AOL, opera Etc apart from IE.

•    QTP is a Desktop Application (I-Tier/Stand alone).

•    QTP developed in .NET Technology.

•    Since it is Stand-alone Application, It doesn't have Database, It stores resources as files (Internal and External). We can't share qtp services from one machine to another, but we can share resources(Ex: Object Repository files, Function Libraries, Environment variable files, Recovery scenario files etc...)

QTP has two types of License;

•    Seat or Node locked License,

•    Concurrent or float license.

•    We have to use Seat license from fixed system/machine and Concurrent License, we can use from any system but one user at a time. If we want multiple concurrent licenses that we can purchase.

•    QTP has UNI code support.

Version History of QuickTest Professional

• Astra QuickTest (Mother tool of QTP) 1.0 to 5.0

* QTP derived from Astra QuickTest and influenced by WinRunner. 

Quick Test Professional

• 5.6 – Nov 2002

•    6.5 – 2003

• 8.0 – 2004

• 8.2, 8.3 –2005

• 9.0,9.1-2006

• 9.2- 2007 Mercury Interactive

• 9.5 –2008 H.P

• 10.00 –2009 January

11.00 –2010** (It is Latest Version)

QTP Guide 

Step by Step QTP Guide for beginners as well as advanced learners. It explains QTP Tool fundamentals and features in detailed manner. It covers QTP tool window keyelements, QTP test process, Recording and Running tests, enhncing tests, Debugging Tests, Analyzing Test Results and Reporting Defects.

It describes QTP important features like Step Generator, Sychronization, Parameterization, Recovery scenarios and Object Identification Configuration.
QTP Scripting 

QTP Tests in VB Script orientation provides a real-time approach on Scripting. It explains Flat file scripts, Excel Scripts, GUI Scripts, Web scripts, Database scripts and xml scripts with syntax and examples.
VB Script for QTP

It explians VB Script in QTP orientation, It covers all most all VB Script Fundamentals and Features.
It describes, Variables, constants declarations, usage of operators, VB Script flow control statements, Procedures, Codinig convensions, Regular Expressions, File system Operations, Database Operations etc..
QTP Framework 
This section provides concepts on How to implement Automation Framework. It explains about Automation Infrastructure development, Resources creation, Driver script creation, Initialization script creation etc.
It describes data driven framework, keyword driven framework and Hybrid framework in detailed manner. It also provides Test estimations, Approvals, Reporting, Organizing and maintaining frameworks.
QTP Interview Questions

QTP Model Resumes
This section provides, Resume preparation guidelines for fresher as well as experienced. It provides some model QTP Resumes for reference. 

QTP Job News

This section Provides QTP Job news weekly. Information can be collected by Employers, Consultants and employees. QTP Professionals can use this information and their resumes directly to Employer's and consultants mail ids.

QTP Certification
This section provides HP QTP Certification guidelines and model Questions, It useful for QTP test professionals for preparing Certification exam.

QTP Training Programs
This section provides information on variou QTP Training programs like QTP Basics program for beginners, Advanced program for working people, QTP Framework, and VB Script for QTP that conducted by gcreddy.com
Manual Testing Documents 
This section Provides link to our another website gcreddy.net, there you can get Manual Testing Information like, Software Testing Guide, Manual Testing Interview question and answers, Test management guidelines, Test planning, Test design and other documents.
QTP Other Topics
This section provides QTP Related articles and other information like, challenges in Test Automation using QTP, Migrating Test scripts from old version to New version, QTP trends, enhancements, New release information, Browser compatibility issues etc..

a) Disadvantages of Manual Testing
    1) Huge Amount of Human Resources as well as Environment (Test lab)

    2) Time taking process

    3) Less Accuracy

    4) Tideness

b) Advantages of Test Automation

    1) Fast
    2) Reliable
    3) Accurated
    4) Reusable
    5) Repeatable
    6) Comprehensive

c) Draback of Test Automation

    1) Expensive
    2) Technical expertise
    3) 100% Automation not Posible

d) Types of Test Tool

Business cla        Technical cla
Vendor Tools        Functional & Regression Test tools
Opensource        Performance/Load/stress Test tools
In-House        Test Management Tools
            Defect Management Tools
            Unit Test tools Etc...

            I) Basic Features of QTP
    a) QTP Supporting Environments
        1) UI (GUI/Windows and Web)
        2) Only Windows (Clien side and Server side)
    b) Version History
        QTP derived from Astra QuickTest(1.0....5.0)

            5.6    2002 (Nov)
            6.5    2003
            8.0    2004
            8.2    2005
            9.0, 9.1 2006
            9.2    2007
            9.5    2008--------HP
            10.0    2009 (Jan)

    c) QTP License(Seat/Node Locked and Concurent/Float)
    c) QTP IDE
        1) QTP Features
            Ex: Recording, Checkpoints, Object Repository etc...
        2) Integrated Tools (HP)
            Ex: Password Encoder, Test Batch Runner, Test Result Dletion Tool etc..
        3) Integrated Tools (Others)
            Ex: Spread sheet, VB Script Engine, SQL Engine, MS Script Debugger

    d) Key elements of QTP
        1) Test Pane
        2) Active Screen
        3) Data Table
        4) Debug Viewer
        5) Information Pane
        6) Missing Resources
        7) QTP Commands

                II) QTP Test Process

Manual Test Process (STLC)        Vs         QTP Test Process
I) Planning                    I) Planning
    a) Analyzing Requirements            a) Analyzing the AUT
    b) Test Strategy Implentation            b) selecting/Creating Test case for Automation
    c) Test estimations                c) Test Estimations & Approvals
    d) team formation                d) Automation framework Implementation
    e) Risk Analysys                e) QTP Tool Settings Configuration
    f) Configuration management
    g) Defining Test Environment
    h) Test Plan Documentation

II) Test Design                    IIA) Creating the Basic Tests

    a) Understanding & Analyzing Reqs        a) Repository based Test creation
    b) Generating Test Scenarios                1) Recording (Local Repository)
    c) Test case Documentation                2) Keyword driven methodology (Shared Repository)
                            b) Descriptive Programming
                                1) Static Programming
                                2) Descriptive Programming
                        IIB) Enhancing Tests
                            a) Adding Comments
                            b) Inserting Checkpoints
                            c) Inserting Output values
                            d) Inserting Transaction points
                            e) Generating steps thru Step Generator
                            f) Inserting Flow Control Statements
                            g) Synchronization
                            h) Parameterization
                            i) Calling Functions / Actions
                            j) Using Regular expressions
                            k) Using Environment Variables
                            l) Using Automation Objects (using Object Models)
III) Test Execution
-------------------                IIIA) Debugging Tests (Optional)
a) Forming Test Batches/suites                a) Step by step execution
b) Test Environment setup                b) Watching Variables
c) Test Execution                    c) Locating & Isolating Errors
d) Analyzing Test Results
d) Defect Reporting                        
e) Defect Tracking                III B) Running Tests               
f) Re & Regression Testing                a) Single Test Run
g) Test status Reporing                    b) Batch Testing
h) Test Logs                         c) Executing Tests thru Framework
i) Final Regression                    d) Scheduled execution
                            e) Analyzing Results
                            f) Result Reporing
                            g) Defect Reporing
                            h) Regression Testing
IV) Test Closure                IV) Test Closure
a) evaluating Exit Criteria                a) Sending Test scripts & Resources to Customer
b) Collecting all facts from Test Activities        b) Maintaning Tests & Resouce files
c) sending Test Delivarables to Customer        c) Improvement Suggessions
d) Improvement Suggessions for QA Process
            III) Creating Tests / Test Scripts


1) Repository based Test Design
    a) Recording (Local repository)
    b) Keyword Driven methodology (Shared repository)

2) Descriptive Programming
    a) Static Programming
    b) Dynamic programming

Recording Tests
    a) Recording Process
    b) Recording Modes
        i) Normal Recording
        ii) Analog Recording
        iii) Low Level Recording
    c) Running Process

Object Repository:
    a) Object and Types of Object

        i) Run-time Objects
        ii) Test Object Model
        iii) Utility Objects
        iv) Automation Objects

    b) Types of Object Repository
        i) Local Repository
        ii) Shared Repository
    c) Operations on Object Repository
        i) Adding Objects
        ii) Renaming Objects
        iii) Deleting Objects
        iv) Exporting Local Objects
        v) Merging Repositories
        vi) Associating Repositories to an Action
        vii) View Options
        viii) Exporting Objects to XML/Importing Objects from XML
        iX) Defining New Test Objects
        X) Spying Objects

    d) Object Identification Configuration
        i) Normal identification
            1) Mandatory properties
            2) Assistive properties
        ii) Smart Identification (Optional)
            1) Base Filter properties
            2) Optional Filter properties
        iii) Ordinal Identifier
            1) Location
            2) Index
            3) Creation Time (Only for web Application)

Keyword driven methodoly:

    a) Creating Shared Object Repositories
    b) Associating Repositories to an Action
    c) Creating tests manually
            i) Thru Expert View
            ii) Keyword View
            iii) generate steps thru Step Generator

Descriptive programming:

    a) Static programming

        i) identifying Unique Properties for Objects
        ii) Creating Constants
        iii)Creating Library file for constants
        iv) associating Library files / loading Library files during run-time
        v) Using Constants, generating Tests

    b) Dynamic Programming
        i) Creating Collection Objects
        ii) Entering Properties Information into Collection Objects
        iii) Using Collection Objects, generating tests
    c) Handling Dynamic Objects using Regular expressions

    d) Handling Duplicate/Similar Objects using Index property



Post a Comment