SlideShare a Scribd company logo
1 of 31
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

Similar to QTP/UFT Overview and Installation

Similar to QTP/UFT Overview and Installation (20)

Qtp - Introduction to synchronization
Qtp -  Introduction to synchronizationQtp -  Introduction to synchronization
Qtp - Introduction to synchronization
 
Qtp92 Presentation
Qtp92 PresentationQtp92 Presentation
Qtp92 Presentation
 
Interview qutions
Interview qutionsInterview qutions
Interview qutions
 
Qtp interview questions
Qtp interview questionsQtp interview questions
Qtp interview questions
 
Qtp interview questions
Qtp interview questionsQtp interview questions
Qtp interview questions
 
QTP Interview Questions and answers
QTP Interview Questions and answersQTP Interview Questions and answers
QTP Interview Questions and answers
 
Interview questions in qtp
Interview questions in qtpInterview questions in qtp
Interview questions in qtp
 
Qtp training session I
Qtp training session IQtp training session I
Qtp training session I
 
Qtp basic
Qtp basicQtp basic
Qtp basic
 
Quick Test Professional (QTP/UFT)
Quick Test Professional (QTP/UFT)Quick Test Professional (QTP/UFT)
Quick Test Professional (QTP/UFT)
 
1.qtp basics
1.qtp basics1.qtp basics
1.qtp basics
 
HP Quick Test Professional
HP Quick Test ProfessionalHP Quick Test Professional
HP Quick Test Professional
 
QTP Online Training
QTP Online TrainingQTP Online Training
QTP Online Training
 
Qtp
QtpQtp
Qtp
 
Qtp day 2
Qtp day 2Qtp day 2
Qtp day 2
 
Qtp Training
Qtp TrainingQtp Training
Qtp Training
 
Monitoring NGINX (plus): key metrics and how-to
Monitoring NGINX (plus): key metrics and how-toMonitoring NGINX (plus): key metrics and how-to
Monitoring NGINX (plus): key metrics and how-to
 
Qtp - Introduction to automation basics
Qtp -  Introduction to automation basicsQtp -  Introduction to automation basics
Qtp - Introduction to automation basics
 
Qtp interview questions3
Qtp interview questions3Qtp interview questions3
Qtp interview questions3
 
Qtp interview questions3
Qtp interview questions3Qtp interview questions3
Qtp interview questions3
 

More from Murageppa-QA

Selenium RC, Selenium WebDriver and HP LoadRunner
Selenium RC, Selenium WebDriver and HP LoadRunnerSelenium RC, Selenium WebDriver and HP LoadRunner
Selenium RC, Selenium WebDriver and HP LoadRunnerMurageppa-QA
 
Selenium Introduction and IDE
Selenium Introduction and IDESelenium Introduction and IDE
Selenium Introduction and IDEMurageppa-QA
 
Automation Tools Overview
Automation Tools OverviewAutomation Tools Overview
Automation Tools OverviewMurageppa-QA
 
SQL - Basic Commands and Queries
SQL - Basic Commands and QueriesSQL - Basic Commands and Queries
SQL - Basic Commands and QueriesMurageppa-QA
 
Introduction DBMS, RDBMS and SQL
Introduction DBMS, RDBMS and SQLIntroduction DBMS, RDBMS and SQL
Introduction DBMS, RDBMS and SQLMurageppa-QA
 
Quality Management and Quality Standard
Quality Management and Quality StandardQuality Management and Quality Standard
Quality Management and Quality StandardMurageppa-QA
 
Test Management Tool - JIRA
Test Management Tool - JIRATest Management Tool - JIRA
Test Management Tool - JIRAMurageppa-QA
 
Test Management Tool HP ALM- Quality Center Part 2
Test Management Tool  HP ALM- Quality Center Part 2Test Management Tool  HP ALM- Quality Center Part 2
Test Management Tool HP ALM- Quality Center Part 2Murageppa-QA
 
Test Management Tool HP ALM- Quality Center Part 1
Test Management Tool  HP ALM- Quality Center Part 1Test Management Tool  HP ALM- Quality Center Part 1
Test Management Tool HP ALM- Quality Center Part 1Murageppa-QA
 
Test Case Design Techniques
Test Case Design TechniquesTest Case Design Techniques
Test Case Design TechniquesMurageppa-QA
 
Test Case Design and Design Techniques
Test Case Design and Design TechniquesTest Case Design and Design Techniques
Test Case Design and Design TechniquesMurageppa-QA
 
Test Planning and Test Estimation Techniques
Test Planning and Test Estimation TechniquesTest Planning and Test Estimation Techniques
Test Planning and Test Estimation TechniquesMurageppa-QA
 
Testing Concepts and Manual Testing
Testing Concepts and Manual TestingTesting Concepts and Manual Testing
Testing Concepts and Manual TestingMurageppa-QA
 
Software Development Life Cycle – Agile Methodology
Software Development Life Cycle –  Agile MethodologySoftware Development Life Cycle –  Agile Methodology
Software Development Life Cycle – Agile MethodologyMurageppa-QA
 
Software Development Life Cycle – SDLC – Waterfall, Iterative, V, Spiral, and...
Software Development Life Cycle – SDLC – Waterfall, Iterative, V, Spiral, and...Software Development Life Cycle – SDLC – Waterfall, Iterative, V, Spiral, and...
Software Development Life Cycle – SDLC – Waterfall, Iterative, V, Spiral, and...Murageppa-QA
 
Software Development Life Cycle – SDLC – Waterfall Model
Software Development Life Cycle – SDLC – Waterfall ModelSoftware Development Life Cycle – SDLC – Waterfall Model
Software Development Life Cycle – SDLC – Waterfall ModelMurageppa-QA
 
Introduction to Software Testing Part 2
Introduction to Software Testing Part 2Introduction to Software Testing Part 2
Introduction to Software Testing Part 2Murageppa-QA
 
Introduction to Software Testing - Part 1
Introduction to Software Testing - Part 1Introduction to Software Testing - Part 1
Introduction to Software Testing - Part 1Murageppa-QA
 

More from Murageppa-QA (20)

Selenium RC, Selenium WebDriver and HP LoadRunner
Selenium RC, Selenium WebDriver and HP LoadRunnerSelenium RC, Selenium WebDriver and HP LoadRunner
Selenium RC, Selenium WebDriver and HP LoadRunner
 
Selenium Introduction and IDE
Selenium Introduction and IDESelenium Introduction and IDE
Selenium Introduction and IDE
 
Automation Tools Overview
Automation Tools OverviewAutomation Tools Overview
Automation Tools Overview
 
SQL - Basic Commands and Queries
SQL - Basic Commands and QueriesSQL - Basic Commands and Queries
SQL - Basic Commands and Queries
 
Introduction DBMS, RDBMS and SQL
Introduction DBMS, RDBMS and SQLIntroduction DBMS, RDBMS and SQL
Introduction DBMS, RDBMS and SQL
 
Quality Management and Quality Standard
Quality Management and Quality StandardQuality Management and Quality Standard
Quality Management and Quality Standard
 
Test Management Tool - JIRA
Test Management Tool - JIRATest Management Tool - JIRA
Test Management Tool - JIRA
 
Test Management Tool HP ALM- Quality Center Part 2
Test Management Tool  HP ALM- Quality Center Part 2Test Management Tool  HP ALM- Quality Center Part 2
Test Management Tool HP ALM- Quality Center Part 2
 
Test Management Tool HP ALM- Quality Center Part 1
Test Management Tool  HP ALM- Quality Center Part 1Test Management Tool  HP ALM- Quality Center Part 1
Test Management Tool HP ALM- Quality Center Part 1
 
Defect Life Cycle
Defect Life CycleDefect Life Cycle
Defect Life Cycle
 
Test Case Design Techniques
Test Case Design TechniquesTest Case Design Techniques
Test Case Design Techniques
 
Test Case Design and Design Techniques
Test Case Design and Design TechniquesTest Case Design and Design Techniques
Test Case Design and Design Techniques
 
Test Planning and Test Estimation Techniques
Test Planning and Test Estimation TechniquesTest Planning and Test Estimation Techniques
Test Planning and Test Estimation Techniques
 
Types of Testing
Types of TestingTypes of Testing
Types of Testing
 
Testing Concepts and Manual Testing
Testing Concepts and Manual TestingTesting Concepts and Manual Testing
Testing Concepts and Manual Testing
 
Software Development Life Cycle – Agile Methodology
Software Development Life Cycle –  Agile MethodologySoftware Development Life Cycle –  Agile Methodology
Software Development Life Cycle – Agile Methodology
 
Software Development Life Cycle – SDLC – Waterfall, Iterative, V, Spiral, and...
Software Development Life Cycle – SDLC – Waterfall, Iterative, V, Spiral, and...Software Development Life Cycle – SDLC – Waterfall, Iterative, V, Spiral, and...
Software Development Life Cycle – SDLC – Waterfall, Iterative, V, Spiral, and...
 
Software Development Life Cycle – SDLC – Waterfall Model
Software Development Life Cycle – SDLC – Waterfall ModelSoftware Development Life Cycle – SDLC – Waterfall Model
Software Development Life Cycle – SDLC – Waterfall Model
 
Introduction to Software Testing Part 2
Introduction to Software Testing Part 2Introduction to Software Testing Part 2
Introduction to Software Testing Part 2
 
Introduction to Software Testing - Part 1
Introduction to Software Testing - Part 1Introduction to Software Testing - Part 1
Introduction to Software Testing - Part 1
 

Recently uploaded

APIForce Zurich 5 April Automation LPDG
APIForce Zurich 5 April  Automation LPDGAPIForce Zurich 5 April  Automation LPDG
APIForce Zurich 5 April Automation LPDGMarianaLemus7
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii SoldatenkoFwdays
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machinePadma Pradeep
 
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)Wonjun Hwang
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsMark Billinghurst
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsRizwan Syed
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 3652toLead Limited
 
Powerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time ClashPowerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time Clashcharlottematthew16
 
My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024The Digital Insurer
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...shyamraj55
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLScyllaDB
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Commit University
 
SAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxSAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxNavinnSomaal
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024Scott Keck-Warren
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 3652toLead Limited
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsMemoori
 

Recently uploaded (20)

APIForce Zurich 5 April Automation LPDG
APIForce Zurich 5 April  Automation LPDGAPIForce Zurich 5 April  Automation LPDG
APIForce Zurich 5 April Automation LPDG
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machine
 
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR Systems
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL Certs
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
 
Powerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time ClashPowerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time Clash
 
My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
Hot Sexy call girls in Panjabi Bagh 🔝 9953056974 🔝 Delhi escort Service
Hot Sexy call girls in Panjabi Bagh 🔝 9953056974 🔝 Delhi escort ServiceHot Sexy call girls in Panjabi Bagh 🔝 9953056974 🔝 Delhi escort Service
Hot Sexy call girls in Panjabi Bagh 🔝 9953056974 🔝 Delhi escort Service
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQL
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!
 
SAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxSAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptx
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial Buildings
 
DMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special EditionDMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special Edition
 

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