16
An Introduction to HP Quick Test Professional (QTP) By Apex TG India Pvt Ltd

What Quick Test Pro (QTP) Testing Tool does

Embed Size (px)

DESCRIPTION

HP Unified Functional Testing (UFT) software, formerly known as HP QuickTest Professional (QTP), provides functional and regression test automation for software applications and environments. HP Unified Functional Testing can be used for enterprise quality assurance.

Citation preview

Page 1: What Quick Test Pro (QTP) Testing Tool does

An Introduction to

HP Quick Test Professional (QTP)

By

Apex TG India Pvt Ltd

Page 2: What Quick Test Pro (QTP) Testing Tool does

Topics being Covered

Introduction to Automation

Introduction to QTP and its Salient Features

Environment Supported

Creating and Enhancing a test suite

Integration of QTP with Win runner and Test director

Page 3: What Quick Test Pro (QTP) Testing Tool does

Introduction to Automation

Page 4: What Quick Test Pro (QTP) Testing Tool does

Why Testing tools?

Manual Manual TestingTesting

> Time consuming

> Low reliability

> Human resources

> Inconsistent

Automated TestingAutomated Testing

- Speed - Repeatability - Programming

capabilities - Coverage - Reliability - Re usability - Save Time

No TestingNo Testing

Page 5: What Quick Test Pro (QTP) Testing Tool does

Which Test Cases to Automate?

Tests that need to be run for every build of the application (sanity check, regression test)

Tests that use multiple data values for the same actions (data driven tests)

Stress/load testing

Tests requiring a great deal of precision

More repetitive execution!Better candidate for automation.

REGRESSION TESTING

Page 6: What Quick Test Pro (QTP) Testing Tool does

Leading Available Automation Tools

Page 7: What Quick Test Pro (QTP) Testing Tool does

QTP – An Introduction

Quick Test Professional is the flagship functional testing tool from Mercury Interactive.

It is an icon based tool, which automates the functional & regression testing of an application.

QTP is easier to use and implement for both technical & non technical testers in comparison to other functional testing tools available.

Latest Available versions is QTP 10.0

Page 8: What Quick Test Pro (QTP) Testing Tool does

Salient Features Scripting Language is VBScript which is easy to use , understand

and program even complex functionalities with ease..

Uses “Active Screen” technology to record scripts which aids the tester in referring to the screens object properties.

Library files contains VBScript functions and subroutines that can be added to the test.

Support Modern Development Environment.

Page 9: What Quick Test Pro (QTP) Testing Tool does

Environments Supported

Basic Web Technologies HTML DHTML XML

Browsers Netscape Internet Explorer AOL

Advanced Web Technologies JavaScript Java Active X

Multimedia Technologies Flash Real Audio/Real Video MS Media Player

ERP Solutions mySAP.com Siebel 2001 Oracle PeopleSoft

.NET Win Forms Web Forms NET Control Web Services XML WSDL

Page 10: What Quick Test Pro (QTP) Testing Tool does

Custom C/S • Power Builder • Forte • Delphi • Centura • Stingray • SmallTalk

By using Add-in we can access some of these environments

ERP/CRM• Baan • PeopleSoft Windows • Siebel 5, 6 GUI

Clients • Oracle GUI Forms

Environments Not Supported

Page 11: What Quick Test Pro (QTP) Testing Tool does

The Main ScreenMenu Bar

File toolbar

Test toolbar

Test pane

Action Screen

Object

Page 12: What Quick Test Pro (QTP) Testing Tool does

Important Toolbars

Test toolbar: containing buttons to assist you in the testing process

Debug toolbar: containing buttons to assist you in debugging your test

Action toolbar: containing buttons and a list of actions, enabling you to view the details of an individual action or the entire test flow

Test pane: containing two tabs to view your test—the Keyword View and the Expert View

Test Details pane : containing the Active Screen

Data Table: containing two or more tabs to assist you in parameterizing your test—Global and one tab for each Action

Page 13: What Quick Test Pro (QTP) Testing Tool does

Test Object Model

This is a large set of object types or classes that Quick Test uses to represent the objects in Asus Properties Methods

A test object is an object that - represents the actual object - stores information about that object.

A run-time object is the actual object in the AUT.

Page 14: What Quick Test Pro (QTP) Testing Tool does

Test Object Model

QTP Test Object Modeling

Test ObjectRun Time Object

Quick Test Professional maps the Run Time Object to a Test Object already present in its

repository.

Once recognized it can repeat all our actions.

Page 15: What Quick Test Pro (QTP) Testing Tool does

Objects

HTML Code for the button CALCULATEHTML Code for the button CALCULATE

<INPUT id=button1 type=button <INPUT id=button1 type=button value=“Calculate” name= “button1” value=“Calculate” name= “button1”

title="" LANGUAGE=javascript title="" LANGUAGE=javascript onclick="return button1_onclick()">onclick="return button1_onclick()">

You may have called your button as button1, but QTP recognizes itwith the name Calculate

Page 16: What Quick Test Pro (QTP) Testing Tool does