what quick test pro (qtp) testing tool does
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.TRANSCRIPT
An Introduction to
HP Quick Test Professional (QTP)
By
Apex TG India Pvt Ltd
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
Introduction to Automation
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
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
Leading Available Automation Tools
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
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.
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
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
The Main ScreenMenu Bar
File toolbar
Test toolbar
Test pane
Action Screen
Object
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
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.
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.
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