SlideShare a Scribd company logo
Quality Assurance /
Software Testing Training
QTP Overview and Installation
Page 2Classification: Restricted
Agenda
• Why Testing Tools?
• Life Cycle of Automation
• QTP – An Introduction
• Add Ins Supported by QTP
• QTP Tool Features
• Object Spy
• Recording Modes
• Reusable Actions
• Dynamic Objects
• Regular Expression
• Synchronization Point
• Check Points
• Exception Handling
Page 3Classification: Restricted
Why Testing Tools?
Manual Testing
• Time consuming
• Low reliability
• Human resources
• Inconsistent
Automated Testing
- Speed
- Repeatability
- Programming
capabilities
- Coverage
- Reliability
- Reusability
- Save Time
No Testing
Page 4Classification: Restricted
Which Test Case needs 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 5Classification: Restricted
QTP – Quick Test Pro
Need for Automation:
Speed : Automation Scripts run very fast when compared to human users
Reliable : Tests perform precisely the same operations each time they are run,
there by eliminating human error.
Repeatable: We can test how the application reacts after repeated execution of
the same operation
Comprehensive : We can build a suite of tests that covers every feature in our
application
Reusable : We can reuse tests on different versions of an application, even if the
user interface changes.
Page 6Classification: Restricted
Life Cycle of Automation
Analyze the Application
Select The Tool
Finding & Reporting
Defects
Identify the session
Design/ Record Test
Scripts
Run the Test
Scripts
Page 7Classification: Restricted
QTP – An Introduction
• Quick Test Professional is the flagship functional testing tool from HP.
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 UFT 12.5
• 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 8Classification: Restrictedwww.mindsmapped.com
Add Ins Supported by QTP
Technology supported by the QTP
By default three Add Ins are there in QTP
ActiveX
VB
Web
Additional Add ins:
Java
Oracle
People soft
.NET
Terminal Emulator (RTE)
SAP
Siebel
Delphi
Page 9Classification: Restricted
Window Structure of QTP
1) Test Pane
2) Active Screen
3) Data Table
4) Debug Viewer
Page 10Classification: Restricted
QTP Tool Features
• Object Spy
• Object Identification
• Understanding customizing Non – Standard Objects
• Understanding Way of Recognition
• Object Repository
• Simple Record and Replay
• Types of Record – Context Sensitive, Analog, Low Level Record
• Managing Script with Various Data
• Parameters (DataTable)
• VB Scripting (String Manipulation, Msgbox, Split command, InStr,
Loops, Conditions)
• Managing Script with Dynamic Objects
• Regular Expression
• Smart Identification
• Check Points – Standard, Bitmap, Text
Page 11Classification: Restricted
Object spy is
used to display
or view all the
physical
properties and
methods of an
object.
Object Spy
Page 12Classification: Restricted
• Used to Map non Standard Object to Standard Object
• Used to configure Recognition properties for an object class.
• Recognition properties are configured using
• Mandatory Properties
• Assistive properties (are used when mandatory property fails
to recognize the object uniquely)
• Ordinal Identifier (are used when both mandatory and
assistive fails to recognize the object uniquely)
• Location (Represent x- coordinate of the screen or parent
object Nearest to x is 0)
• Index (Works based on active screen – active screen being
0 by default)
• Creation Time (For web browsers, no. of instances
decides the creation time)
Object Identification
Page 13Classification: Restricted
Object Repository
• Stores the object for the purpose of playing back
• Uses Logical Name and Description properties to
recognize the object from script and application
respectively
• Description Properties are created through Object
Identification
• Repository can be managed using Per Action mode (.mtr
File) and Shared Repository Mode (.tsr File) by the
script
Page 14Classification: Restricted
Object Repository Dialog Box
Page 15Classification: Restricted
Three are Modes of Recording
Context Sensitive or Normal Recording – Uses the object class and
properties and method to perform action.
Analog Recording – Understands only the key or mouse movements
Relative to the screen: Desktop.RunAnalog “Track1”
Relative to the window: Window(<<objName>>).RunAnalog
“Track1”
Low Level Recording – Understand the x and y coordinate of the
within the object on which the action is performed.
Object(<<ObjName>>).Click (22,45)
Recording Modes
Page 16Classification: Restricted
Recording Test
Page 17Classification: Restricted
Recording Test
Page 18Classification: Restricted
Run and Save Test
Page 19Classification: Restricted
Viewing Test Results
Page 20Classification: Restricted
Viewing Test Results
Page 21Classification: Restricted
• How to make an action as Reusable Action?
• Passing Parameters for Reusable Action
• Using Input Parameters
• Using Output Parameters
• SystemUtil Commands
• .Exist Command
• Syntex of Reusable Action
• RunAction “ActionName[ScriptName]”, One/Alliteration,
Parameters(optional)
Reusable Actions
Page 22Classification: Restricted
What is Dynamic Object?
When we can say, the object is dynamic?
Ways to Solve those dynamic objects
SetTOProperty
Parent().Object(“Logical”).SetTOProperty “propertyName”,
Value
Regular Expression
Repository Parameter
Smart Identification
What is Smart Identification?
It is a second level of Recognition Mechanism to recognize an
object when it is failed using Description properties
It is not a permanent method to solve a dynamic object – It is an
indication to the user that the object is not managed using
description properties
Dynamic Objects
Page 23Classification: Restricted
This can be used where there is a pattern of Change.
Regular Expressions can be used in the following areas:
1) Check Points
2) In parameterization
3) Data Driven test
4) Actions
5) Exception Handling….etc
Regular Expression
Page 24Classification: Restricted
Using a Regular Expression
Page 25Classification: Restricted
Matches exactly four digitsd{4}
Matches any digitdDigit
Matches any non-alphanumeric characterW
Matches any alphanumeric character
including underscore
w
Matches a range of numbers[0-9]
Matches a range of characters[A-Z][a-z]Brackets
Matches one to any number of
occurrences of the preceding character
+Plus
Matches zero to any number of
occurrences of the preceding character
*Asterisk
Matches any single character.Period
DescriptionCharExpression
Some Regular Expression
Page 26Classification: Restricted
Synchronization Point
Synchronization point maintains the time coordination between testing
process and your application process.
Types of Synchronization
Sync
Wait
WaitProperty
Exist
Page 27Classification: Restricted
Check Points
Check Point is a verification point that compares the current value of the
specified property with the expected value for that property.
• Standard Check Point
• Text/ Text Area Check Point
• Bitmap Check point
• Database Check Point
• XML Check Point
• Accessibility Check Point/ Web Checkpoint
Page 28Classification: Restricted
Check Points
Check Point is a
verification point that
compares the current
value of the specified
property with the
expected value for that
property.
• Standard Check
Point
• Text/ Text Area
Check Point
• Bitmap Check point
• Database Check
Point
• XML Check Point
• Accessibility Check
Point/ Web
Checkpoint
Page 29Classification: Restricted
Exception Handling
It enables Quick test to detect and handle when unexpected error occurred
during execution time.
Types of Exception Handling:
• Popup Exception Handling
• Object State Exception Handling
• Test Run Exception Handling
• Application Crash
Page 30Classification: Restricted
Questions
Page 31Classification: Restricted
Thank You

More Related Content

PPTX
QTP Presentation
PPTX
.NET UY Meetup 7 - CLR Memory by Fabian Alves
PDF
TMPA-2017: Vellvm - Verifying the LLVM
PDF
Understanding Implicits in Scala
PPT
Learning From the Past: Automated Rule Generation for CEP - DEBS 2014
ODP
Modern Java Features
PPTX
Reactive Extensions for JavaScript
PPTX
Dynamic scoping
QTP Presentation
.NET UY Meetup 7 - CLR Memory by Fabian Alves
TMPA-2017: Vellvm - Verifying the LLVM
Understanding Implicits in Scala
Learning From the Past: Automated Rule Generation for CEP - DEBS 2014
Modern Java Features
Reactive Extensions for JavaScript
Dynamic scoping

Similar to QTP/UFT Overview and Installation (20)

PPSX
Quick Test Professional (QTP/UFT)
PPT
Qtp - Introduction to synchronization
PPT
QTP Training by INFOTECH
PPT
Qtp - Introduction to automation basics
PPT
PPT
Ppt Qtp
PPT
Qtp 92 Tutorial769
PPT
Qtp 92 Tutorial769
PPT
Qtp 9.2 Tutorial
PPT
Qtp 92 Tutorial Anil
PPT
qtp 9.2 features
PPT
Qtp 92 Tutorial769
PPT
Qtp 92 Tutorial
PPT
Qtp Presentation
PPT
Qtp Training
PPTX
Automation Tool QTP
PPT
HP Quick Test Professional
PPT
Hp Quick Test Professional
PPT
Qtp Training Deepti 2 Of 44780
DOC
Qtp interview questions
Quick Test Professional (QTP/UFT)
Qtp - Introduction to synchronization
QTP Training by INFOTECH
Qtp - Introduction to automation basics
Ppt Qtp
Qtp 92 Tutorial769
Qtp 92 Tutorial769
Qtp 9.2 Tutorial
Qtp 92 Tutorial Anil
qtp 9.2 features
Qtp 92 Tutorial769
Qtp 92 Tutorial
Qtp Presentation
Qtp Training
Automation Tool QTP
HP Quick Test Professional
Hp Quick Test Professional
Qtp Training Deepti 2 Of 44780
Qtp interview questions
Ad

More from Murageppa-QA (20)

PPTX
Selenium RC, Selenium WebDriver and HP LoadRunner
PPTX
Selenium Introduction and IDE
PPTX
Automation Tools Overview
PPTX
SQL - Basic Commands and Queries
PPTX
Introduction DBMS, RDBMS and SQL
PPTX
Quality Management and Quality Standard
PPTX
Test Management Tool - JIRA
PPTX
Test Management Tool HP ALM- Quality Center Part 2
PPTX
Test Management Tool HP ALM- Quality Center Part 1
PPTX
Defect Life Cycle
PPTX
Test Case Design Techniques
PPTX
Test Case Design and Design Techniques
PPTX
Test Planning and Test Estimation Techniques
PPTX
Types of Testing
PPTX
Testing Concepts and Manual Testing
PPTX
Software Development Life Cycle – Agile Methodology
PPTX
Software Development Life Cycle – SDLC – Waterfall, Iterative, V, Spiral, and...
PPTX
Software Development Life Cycle – SDLC – Waterfall Model
PPTX
Introduction to Software Testing Part 2
PPTX
Introduction to Software Testing - Part 1
Selenium RC, Selenium WebDriver and HP LoadRunner
Selenium Introduction and IDE
Automation Tools Overview
SQL - Basic Commands and Queries
Introduction DBMS, RDBMS and SQL
Quality Management and Quality Standard
Test Management Tool - JIRA
Test Management Tool HP ALM- Quality Center Part 2
Test Management Tool HP ALM- Quality Center Part 1
Defect Life Cycle
Test Case Design Techniques
Test Case Design and Design Techniques
Test Planning and Test Estimation Techniques
Types of Testing
Testing Concepts and Manual Testing
Software Development Life Cycle – Agile Methodology
Software Development Life Cycle – SDLC – Waterfall, Iterative, V, Spiral, and...
Software Development Life Cycle – SDLC – Waterfall Model
Introduction to Software Testing Part 2
Introduction to Software Testing - Part 1
Ad

Recently uploaded (20)

PPTX
sap open course for s4hana steps from ECC to s4
PDF
Approach and Philosophy of On baking technology
PPTX
20250228 LYD VKU AI Blended-Learning.pptx
PDF
Encapsulation_ Review paper, used for researhc scholars
PDF
Mobile App Security Testing_ A Comprehensive Guide.pdf
PDF
Electronic commerce courselecture one. Pdf
PDF
The Rise and Fall of 3GPP – Time for a Sabbatical?
PDF
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
PPTX
MYSQL Presentation for SQL database connectivity
PDF
Building Integrated photovoltaic BIPV_UPV.pdf
PDF
Dropbox Q2 2025 Financial Results & Investor Presentation
PPT
“AI and Expert System Decision Support & Business Intelligence Systems”
PDF
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
PPTX
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
PDF
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
PPTX
Cloud computing and distributed systems.
PDF
cuic standard and advanced reporting.pdf
PDF
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
PDF
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
PPTX
Digital-Transformation-Roadmap-for-Companies.pptx
sap open course for s4hana steps from ECC to s4
Approach and Philosophy of On baking technology
20250228 LYD VKU AI Blended-Learning.pptx
Encapsulation_ Review paper, used for researhc scholars
Mobile App Security Testing_ A Comprehensive Guide.pdf
Electronic commerce courselecture one. Pdf
The Rise and Fall of 3GPP – Time for a Sabbatical?
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
MYSQL Presentation for SQL database connectivity
Building Integrated photovoltaic BIPV_UPV.pdf
Dropbox Q2 2025 Financial Results & Investor Presentation
“AI and Expert System Decision Support & Business Intelligence Systems”
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
Cloud computing and distributed systems.
cuic standard and advanced reporting.pdf
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
Digital-Transformation-Roadmap-for-Companies.pptx

QTP/UFT Overview and Installation

  • 1. Quality Assurance / Software Testing Training QTP Overview and Installation
  • 2. Page 2Classification: Restricted Agenda • Why Testing Tools? • Life Cycle of Automation • QTP – An Introduction • Add Ins Supported by QTP • QTP Tool Features • Object Spy • Recording Modes • Reusable Actions • Dynamic Objects • Regular Expression • Synchronization Point • Check Points • Exception Handling
  • 3. Page 3Classification: Restricted Why Testing Tools? Manual Testing • Time consuming • Low reliability • Human resources • Inconsistent Automated Testing - Speed - Repeatability - Programming capabilities - Coverage - Reliability - Reusability - Save Time No Testing
  • 4. Page 4Classification: Restricted Which Test Case needs 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
  • 5. Page 5Classification: Restricted QTP – Quick Test Pro Need for Automation: Speed : Automation Scripts run very fast when compared to human users Reliable : Tests perform precisely the same operations each time they are run, there by eliminating human error. Repeatable: We can test how the application reacts after repeated execution of the same operation Comprehensive : We can build a suite of tests that covers every feature in our application Reusable : We can reuse tests on different versions of an application, even if the user interface changes.
  • 6. Page 6Classification: Restricted Life Cycle of Automation Analyze the Application Select The Tool Finding & Reporting Defects Identify the session Design/ Record Test Scripts Run the Test Scripts
  • 7. Page 7Classification: Restricted QTP – An Introduction • Quick Test Professional is the flagship functional testing tool from HP. 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 UFT 12.5 • 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
  • 8. Page 8Classification: Restrictedwww.mindsmapped.com Add Ins Supported by QTP Technology supported by the QTP By default three Add Ins are there in QTP ActiveX VB Web Additional Add ins: Java Oracle People soft .NET Terminal Emulator (RTE) SAP Siebel Delphi
  • 9. Page 9Classification: Restricted Window Structure of QTP 1) Test Pane 2) Active Screen 3) Data Table 4) Debug Viewer
  • 10. Page 10Classification: Restricted QTP Tool Features • Object Spy • Object Identification • Understanding customizing Non – Standard Objects • Understanding Way of Recognition • Object Repository • Simple Record and Replay • Types of Record – Context Sensitive, Analog, Low Level Record • Managing Script with Various Data • Parameters (DataTable) • VB Scripting (String Manipulation, Msgbox, Split command, InStr, Loops, Conditions) • Managing Script with Dynamic Objects • Regular Expression • Smart Identification • Check Points – Standard, Bitmap, Text
  • 11. Page 11Classification: Restricted Object spy is used to display or view all the physical properties and methods of an object. Object Spy
  • 12. Page 12Classification: Restricted • Used to Map non Standard Object to Standard Object • Used to configure Recognition properties for an object class. • Recognition properties are configured using • Mandatory Properties • Assistive properties (are used when mandatory property fails to recognize the object uniquely) • Ordinal Identifier (are used when both mandatory and assistive fails to recognize the object uniquely) • Location (Represent x- coordinate of the screen or parent object Nearest to x is 0) • Index (Works based on active screen – active screen being 0 by default) • Creation Time (For web browsers, no. of instances decides the creation time) Object Identification
  • 13. Page 13Classification: Restricted Object Repository • Stores the object for the purpose of playing back • Uses Logical Name and Description properties to recognize the object from script and application respectively • Description Properties are created through Object Identification • Repository can be managed using Per Action mode (.mtr File) and Shared Repository Mode (.tsr File) by the script
  • 15. Page 15Classification: Restricted Three are Modes of Recording Context Sensitive or Normal Recording – Uses the object class and properties and method to perform action. Analog Recording – Understands only the key or mouse movements Relative to the screen: Desktop.RunAnalog “Track1” Relative to the window: Window(<<objName>>).RunAnalog “Track1” Low Level Recording – Understand the x and y coordinate of the within the object on which the action is performed. Object(<<ObjName>>).Click (22,45) Recording Modes
  • 21. Page 21Classification: Restricted • How to make an action as Reusable Action? • Passing Parameters for Reusable Action • Using Input Parameters • Using Output Parameters • SystemUtil Commands • .Exist Command • Syntex of Reusable Action • RunAction “ActionName[ScriptName]”, One/Alliteration, Parameters(optional) Reusable Actions
  • 22. Page 22Classification: Restricted What is Dynamic Object? When we can say, the object is dynamic? Ways to Solve those dynamic objects SetTOProperty Parent().Object(“Logical”).SetTOProperty “propertyName”, Value Regular Expression Repository Parameter Smart Identification What is Smart Identification? It is a second level of Recognition Mechanism to recognize an object when it is failed using Description properties It is not a permanent method to solve a dynamic object – It is an indication to the user that the object is not managed using description properties Dynamic Objects
  • 23. Page 23Classification: Restricted This can be used where there is a pattern of Change. Regular Expressions can be used in the following areas: 1) Check Points 2) In parameterization 3) Data Driven test 4) Actions 5) Exception Handling….etc Regular Expression
  • 25. Page 25Classification: Restricted Matches exactly four digitsd{4} Matches any digitdDigit Matches any non-alphanumeric characterW Matches any alphanumeric character including underscore w Matches a range of numbers[0-9] Matches a range of characters[A-Z][a-z]Brackets Matches one to any number of occurrences of the preceding character +Plus Matches zero to any number of occurrences of the preceding character *Asterisk Matches any single character.Period DescriptionCharExpression Some Regular Expression
  • 26. Page 26Classification: Restricted Synchronization Point Synchronization point maintains the time coordination between testing process and your application process. Types of Synchronization Sync Wait WaitProperty Exist
  • 27. Page 27Classification: Restricted Check Points Check Point is a verification point that compares the current value of the specified property with the expected value for that property. • Standard Check Point • Text/ Text Area Check Point • Bitmap Check point • Database Check Point • XML Check Point • Accessibility Check Point/ Web Checkpoint
  • 28. Page 28Classification: Restricted Check Points Check Point is a verification point that compares the current value of the specified property with the expected value for that property. • Standard Check Point • Text/ Text Area Check Point • Bitmap Check point • Database Check Point • XML Check Point • Accessibility Check Point/ Web Checkpoint
  • 29. Page 29Classification: Restricted Exception Handling It enables Quick test to detect and handle when unexpected error occurred during execution time. Types of Exception Handling: • Popup Exception Handling • Object State Exception Handling • Test Run Exception Handling • Application Crash