Ins & Outs of Software Testing Technology Under One Roof
MENUMENU
  • Home
  • Certifications Resources
    • HP QTP Certifications
    • PMI PMP Certification Preparation
    • PMI PMP Certification Exam Practice Question Papers
    • CSTE Certifications
    • IBM RFT Certification
    • ISTQB Certifications
    • ISTQB Advanced CTAL Test Manager Exam-Crash Course
    • ISTQB Advanced CTAL Test Analysts Exam-Crash Course
    • ISTQB Foundation Level Exam Crash Course
    • ISTQB Foundation Exam - Sample Question Papers
    • ISTQB Agile Tester Extension Exam
    • ISTQB Advanced Test Managers Exam Preparation
    • ISTQB Advanced CTAL Exam Preparation
  • Knowledge Center
    • Career Building in Testing
      • Qualities of Test Personnel
      • Career Shaping in QA
    • Interview Preparation - FAQ
      • FAQ - Rehearsal of QTP in 1 Hr.
      • FAQ - Rehearsal of LoadRunner in 1 Hr.
      • FAQ - Common HR Questions
      • FAQ - Tricky HR Questions
      • FAQ - Software Testing and QA
      • FAQ - QTP - Quick Test Professional
      • FAQ - HP Load Runner (Controller)
      • FAQ - HP Load Runner (VuGen)
      • FAQ - HP Load Runner (Basics)
      • FAQ - RFT - Rational Functional Tester
      • FAQ - Database Testing
      • FAQ - Silk Test
    • Flamboyant Topics
      • Software Bugs
      • White Box Testing
      • Gray Box Testing
      • Black Box Testing
      • Website Testing
      • Database Testing
      • SDLC & STLC
      • Risk Analysis
      • Test Cases
      • Software Development Models
      • Achievements
    • QA Best Practices
      • Software Testing - General
    • New Technologies
      • Robotic Process Automation
      • Big Data
    • Glossary Encyclopedia
      • Encyclopedia - Software Testing Terms
      • Glossary Encyclopedia - Linked articles
    • Favorite Industry Topics
      • Global Recession
  • Automation Testing
    • Automation Testing
      • Review your RFT Skills
      • Review your LoadRunner HPO-M49 Skills
      • Review your LoadRunner HPO-M48 Skills
      • Review your Performance Center HPO-M47 Skills
      • Review Your HP QTP / UFT Skills
      • Review Your Quality Center Skills
      • Automation Frameworks
      • Ins & Outs of Automation
    • Hot Automation Tools
      • Selenium WebDriver
      • Selenium IDE
      • Katalon Studio
      • IBM Rational Functional Tester
      • HP LoadRunner
      • HP WinRunner
      • HP Quality Center
      • HP Quick Test Professional / UFT
      • Functional Testing Tools - Linked Articles
  • Manual Testing
    • Manual Testing
      • Various Approaches
      • Test Planning
    • Software Testing Startup Kit
      • Startup Articles
      • Basics of Testing
      • Quality Perspective
      • Types of Testing
      • Testing Tools
      • Types of Software Testing - Linked Articles
    • Quality Systems
      • QA Managers Skill Test
      • Software Testing Skill Test
      • Quality Management
      • CMM & CMMI
      • Verification & Validation (V&V)
      • Quality Perspective - Linked Articles
    • Templates & Checklists
      • Templates for Download
      • Checklists for Testers & Developers
      • Checklists for QA Managers & Team Leads
  • Tutorials
    • Tutorials: HP QTP / UFT
    • Tutorials: HP LoadRunner
    • Tutorials: IBM Rational Functional Tester
  • Quizes
    • HP QC Expert Level Quiz
    • QTP Basic Level Quiz
    • QTP Intermediate Level Quiz
    • QTP Expert Level Quiz
    • RFT - Rational Functional Tester Quiz
    • Software Testing Basics Quiz
    • ISTQB Certification Quiz
    • CSTE Certification Quiz
  • Free eBooks
    • eBooks: HP QTP/UFT
    • eBooks: Manual Testing
MENUMENU
  • Home
  • Certifications Resources
    • HP QTP Certifications
    • PMI PMP Certification Preparation
    • PMI PMP Certification Exam Practice Question Papers
    • CSTE Certifications
    • IBM RFT Certification
    • ISTQB Certifications
    • ISTQB Advanced CTAL Test Manager Exam-Crash Course
    • ISTQB Advanced CTAL Test Analysts Exam-Crash Course
    • ISTQB Foundation Level Exam Crash Course
    • ISTQB Foundation Exam - Sample Question Papers
    • ISTQB Agile Tester Extension Exam
    • ISTQB Advanced Test Managers Exam Preparation
    • ISTQB Advanced CTAL Exam Preparation
  • Knowledge Center
    • Career Building in Testing
      • Qualities of Test Personnel
      • Career Shaping in QA
    • Interview Preparation - FAQ
      • FAQ - Rehearsal of QTP in 1 Hr.
      • FAQ - Rehearsal of LoadRunner in 1 Hr.
      • FAQ - Common HR Questions
      • FAQ - Tricky HR Questions
      • FAQ - Software Testing and QA
      • FAQ - QTP - Quick Test Professional
      • FAQ - HP Load Runner (Controller)
      • FAQ - HP Load Runner (VuGen)
      • FAQ - HP Load Runner (Basics)
      • FAQ - RFT - Rational Functional Tester
      • FAQ - Database Testing
      • FAQ - Silk Test
    • Flamboyant Topics
      • Software Bugs
      • White Box Testing
      • Gray Box Testing
      • Black Box Testing
      • Website Testing
      • Database Testing
      • SDLC & STLC
      • Risk Analysis
      • Test Cases
      • Software Development Models
      • Achievements
    • QA Best Practices
      • Software Testing - General
    • New Technologies
      • Robotic Process Automation
      • Big Data
    • Glossary Encyclopedia
      • Encyclopedia - Software Testing Terms
      • Glossary Encyclopedia - Linked articles
    • Favorite Industry Topics
      • Global Recession
  • Automation Testing
    • Automation Testing
      • Review your RFT Skills
      • Review your LoadRunner HPO-M49 Skills
      • Review your LoadRunner HPO-M48 Skills
      • Review your Performance Center HPO-M47 Skills
      • Review Your HP QTP / UFT Skills
      • Review Your Quality Center Skills
      • Automation Frameworks
      • Ins & Outs of Automation
    • Hot Automation Tools
      • Selenium WebDriver
      • Selenium IDE
      • Katalon Studio
      • IBM Rational Functional Tester
      • HP LoadRunner
      • HP WinRunner
      • HP Quality Center
      • HP Quick Test Professional / UFT
      • Functional Testing Tools - Linked Articles
  • Manual Testing
    • Manual Testing
      • Various Approaches
      • Test Planning
    • Software Testing Startup Kit
      • Startup Articles
      • Basics of Testing
      • Quality Perspective
      • Types of Testing
      • Testing Tools
      • Types of Software Testing - Linked Articles
    • Quality Systems
      • QA Managers Skill Test
      • Software Testing Skill Test
      • Quality Management
      • CMM & CMMI
      • Verification & Validation (V&V)
      • Quality Perspective - Linked Articles
    • Templates & Checklists
      • Templates for Download
      • Checklists for Testers & Developers
      • Checklists for QA Managers & Team Leads
  • Tutorials
    • Tutorials: HP QTP / UFT
    • Tutorials: HP LoadRunner
    • Tutorials: IBM Rational Functional Tester
  • Quizes
    • HP QC Expert Level Quiz
    • QTP Basic Level Quiz
    • QTP Intermediate Level Quiz
    • QTP Expert Level Quiz
    • RFT - Rational Functional Tester Quiz
    • Software Testing Basics Quiz
    • ISTQB Certification Quiz
    • CSTE Certification Quiz
  • Free eBooks
    • eBooks: HP QTP/UFT
    • eBooks: Manual Testing
Ins & Outs of Software Testing Technology Under One Roof
MENUMENU
  • Home
  • Certifications Resources
    • HP QTP Certifications
    • PMI PMP Certification Preparation
    • PMI PMP Certification Exam Practice Question Papers
    • CSTE Certifications
    • IBM RFT Certification
    • ISTQB Certifications
    • ISTQB Advanced CTAL Test Manager Exam-Crash Course
    • ISTQB Advanced CTAL Test Analysts Exam-Crash Course
    • ISTQB Foundation Level Exam Crash Course
    • ISTQB Foundation Exam - Sample Question Papers
    • ISTQB Agile Tester Extension Exam
    • ISTQB Advanced Test Managers Exam Preparation
    • ISTQB Advanced CTAL Exam Preparation
  • Knowledge Center
    • Career Building in Testing
      • Qualities of Test Personnel
      • Career Shaping in QA
    • Interview Preparation - FAQ
      • FAQ - Rehearsal of QTP in 1 Hr.
      • FAQ - Rehearsal of LoadRunner in 1 Hr.
      • FAQ - Common HR Questions
      • FAQ - Tricky HR Questions
      • FAQ - Software Testing and QA
      • FAQ - QTP - Quick Test Professional
      • FAQ - HP Load Runner (Controller)
      • FAQ - HP Load Runner (VuGen)
      • FAQ - HP Load Runner (Basics)
      • FAQ - RFT - Rational Functional Tester
      • FAQ - Database Testing
      • FAQ - Silk Test
    • Flamboyant Topics
      • Software Bugs
      • White Box Testing
      • Gray Box Testing
      • Black Box Testing
      • Website Testing
      • Database Testing
      • SDLC & STLC
      • Risk Analysis
      • Test Cases
      • Software Development Models
      • Achievements
    • QA Best Practices
      • Software Testing - General
    • New Technologies
      • Robotic Process Automation
      • Big Data
    • Glossary Encyclopedia
      • Encyclopedia - Software Testing Terms
      • Glossary Encyclopedia - Linked articles
    • Favorite Industry Topics
      • Global Recession
  • Automation Testing
    • Automation Testing
      • Review your RFT Skills
      • Review your LoadRunner HPO-M49 Skills
      • Review your LoadRunner HPO-M48 Skills
      • Review your Performance Center HPO-M47 Skills
      • Review Your HP QTP / UFT Skills
      • Review Your Quality Center Skills
      • Automation Frameworks
      • Ins & Outs of Automation
    • Hot Automation Tools
      • Selenium WebDriver
      • Selenium IDE
      • Katalon Studio
      • IBM Rational Functional Tester
      • HP LoadRunner
      • HP WinRunner
      • HP Quality Center
      • HP Quick Test Professional / UFT
      • Functional Testing Tools - Linked Articles
  • Manual Testing
    • Manual Testing
      • Various Approaches
      • Test Planning
    • Software Testing Startup Kit
      • Startup Articles
      • Basics of Testing
      • Quality Perspective
      • Types of Testing
      • Testing Tools
      • Types of Software Testing - Linked Articles
    • Quality Systems
      • QA Managers Skill Test
      • Software Testing Skill Test
      • Quality Management
      • CMM & CMMI
      • Verification & Validation (V&V)
      • Quality Perspective - Linked Articles
    • Templates & Checklists
      • Templates for Download
      • Checklists for Testers & Developers
      • Checklists for QA Managers & Team Leads
  • Tutorials
    • Tutorials: HP QTP / UFT
    • Tutorials: HP LoadRunner
    • Tutorials: IBM Rational Functional Tester
  • Quizes
    • HP QC Expert Level Quiz
    • QTP Basic Level Quiz
    • QTP Intermediate Level Quiz
    • QTP Expert Level Quiz
    • RFT - Rational Functional Tester Quiz
    • Software Testing Basics Quiz
    • ISTQB Certification Quiz
    • CSTE Certification Quiz
  • Free eBooks
    • eBooks: HP QTP/UFT
    • eBooks: Manual Testing
MENUMENU
  • Home
  • Certifications Resources
    • HP QTP Certifications
    • PMI PMP Certification Preparation
    • PMI PMP Certification Exam Practice Question Papers
    • CSTE Certifications
    • IBM RFT Certification
    • ISTQB Certifications
    • ISTQB Advanced CTAL Test Manager Exam-Crash Course
    • ISTQB Advanced CTAL Test Analysts Exam-Crash Course
    • ISTQB Foundation Level Exam Crash Course
    • ISTQB Foundation Exam - Sample Question Papers
    • ISTQB Agile Tester Extension Exam
    • ISTQB Advanced Test Managers Exam Preparation
    • ISTQB Advanced CTAL Exam Preparation
  • Knowledge Center
    • Career Building in Testing
      • Qualities of Test Personnel
      • Career Shaping in QA
    • Interview Preparation - FAQ
      • FAQ - Rehearsal of QTP in 1 Hr.
      • FAQ - Rehearsal of LoadRunner in 1 Hr.
      • FAQ - Common HR Questions
      • FAQ - Tricky HR Questions
      • FAQ - Software Testing and QA
      • FAQ - QTP - Quick Test Professional
      • FAQ - HP Load Runner (Controller)
      • FAQ - HP Load Runner (VuGen)
      • FAQ - HP Load Runner (Basics)
      • FAQ - RFT - Rational Functional Tester
      • FAQ - Database Testing
      • FAQ - Silk Test
    • Flamboyant Topics
      • Software Bugs
      • White Box Testing
      • Gray Box Testing
      • Black Box Testing
      • Website Testing
      • Database Testing
      • SDLC & STLC
      • Risk Analysis
      • Test Cases
      • Software Development Models
      • Achievements
    • QA Best Practices
      • Software Testing - General
    • New Technologies
      • Robotic Process Automation
      • Big Data
    • Glossary Encyclopedia
      • Encyclopedia - Software Testing Terms
      • Glossary Encyclopedia - Linked articles
    • Favorite Industry Topics
      • Global Recession
  • Automation Testing
    • Automation Testing
      • Review your RFT Skills
      • Review your LoadRunner HPO-M49 Skills
      • Review your LoadRunner HPO-M48 Skills
      • Review your Performance Center HPO-M47 Skills
      • Review Your HP QTP / UFT Skills
      • Review Your Quality Center Skills
      • Automation Frameworks
      • Ins & Outs of Automation
    • Hot Automation Tools
      • Selenium WebDriver
      • Selenium IDE
      • Katalon Studio
      • IBM Rational Functional Tester
      • HP LoadRunner
      • HP WinRunner
      • HP Quality Center
      • HP Quick Test Professional / UFT
      • Functional Testing Tools - Linked Articles
  • Manual Testing
    • Manual Testing
      • Various Approaches
      • Test Planning
    • Software Testing Startup Kit
      • Startup Articles
      • Basics of Testing
      • Quality Perspective
      • Types of Testing
      • Testing Tools
      • Types of Software Testing - Linked Articles
    • Quality Systems
      • QA Managers Skill Test
      • Software Testing Skill Test
      • Quality Management
      • CMM & CMMI
      • Verification & Validation (V&V)
      • Quality Perspective - Linked Articles
    • Templates & Checklists
      • Templates for Download
      • Checklists for Testers & Developers
      • Checklists for QA Managers & Team Leads
  • Tutorials
    • Tutorials: HP QTP / UFT
    • Tutorials: HP LoadRunner
    • Tutorials: IBM Rational Functional Tester
  • Quizes
    • HP QC Expert Level Quiz
    • QTP Basic Level Quiz
    • QTP Intermediate Level Quiz
    • QTP Expert Level Quiz
    • RFT - Rational Functional Tester Quiz
    • Software Testing Basics Quiz
    • ISTQB Certification Quiz
    • CSTE Certification Quiz
  • Free eBooks
    • eBooks: HP QTP/UFT
    • eBooks: Manual Testing
Home > Blog > Automation Testing > Hot Automation Tools > HP Quick Test Professional > All about Recovery Scenarios using QTP

All about Recovery Scenarios using QTP

Sign up to receive Regular updates via email or RSS!

Type your email address and press Enter

Download Free eBooks

Download Several World-Class eBooks on "Software Testing" and "Quality Assurance" Absolutely Free of Cost!!!


Quick Links

  • Free Updates
  • Write & Earn
  • Quick Navigation Sitemap
  • ISTQB Certification
  • QTP Certifications

Advertisements

All about Recovery Scenarios using QTP

Posted in: HP Quick Test Professional
Leave a comment

All about Recovery Scenarios using QTP

While executing scripts, we usually encounter unexpected & unpredictable events & errors, which results into application crashing during a run session causing total disruption of the run session and distortion of results. Such problems are quite frequent especially when the tests are made to run unattended. In such a case the test process halts until the user perform some desired recovery operation.

Recovery scenarios are useful when it is difficult to predict at which step the errors can come or when we are confident that the error will not come in the QTP script, whereas it can be anywhere outside the QTP Script. For illustration; Pop-up message of “out of paper”, as caused by the printer device driver. “On error resume next” is preferred when we sure that the error is expected one and wish to perform some other actions.

In order to handle such situations QTP comes to our rescue by creating recovery scenarios and associates them with the particular tests. What does a Recovery Scenarios do is to activate a specific recovery operation when a trigger events takes place. Most simple example of a typical unexpected & unpredictable events & errors is like Incompatible Media in portable Drive.

The Recovery Scenario Manager presents a structured wizard which helps us in defining the recovery scenario, like detailed definition of the unexpected event and the operations required to recover from the exception during the run session.

Advantages of Recovery Scenario Manager: Recovery Scenario Manager can be used to handle several known errors occurring at runtime. Following four events available in the recovery scenario manager are extremely helpful

1) Application Crash: This event is useful in handling crashed applications at runtime.

2) Pop Up Window: This event is useful in managing various unwanted application windows, which get built-up at runtime.

3) Test Run Error: This event is useful in handling VBScript statement errors at runtime.

4) Object State: This event is useful in handling object related errors at runtime.

Elements of Recovery Scenario: Steps to handle the exceptions are

1) Trigger Event: Is an unexpected event like appearance of a Pop-up window, object state, test run error causing application crash or interruption in our running session.

 

2) Recovery Steps: Constitutes a series of steps required to be performed to enable QTP to proceed further with the process of test after some trigger event has interrupted the run session. Examples of a recovery operation can be 1) A keyboard or mouse Operation like a Click over the “OK” button in the Pop-up window 2) Close Application Process 3) Function Call 4) Restarting the OS etc.

3) Post-Recovery Test Run: Are a set of instructions designed to be provided to QTP on proceeding further with the test after some recovery operation has been carried out. Examples of Post Recovery actions can be repeating the complete test from the beginning or some steps may be skipped altogether & continuing with the remaining steps in the test.

QTP & Recovery Scenarios:
All Recovery scenarios get saved & logically grouped in recovery scenario files. Grouping of various recovery scenarios in recovery scenario file can be managed according the user requirements. Recovery scenario files carry a typical extension of .rs.

In order to instruct QTP to carry out a recovery scenario during a particular test run, we firstly associate it with the particular test. There is no limitation to any fixed number of recovery scenarios associated with a test. Order of execution of various recovery scenarios associated with a test can easily be prioritized, thereby the trigger events get recognized and handled in the desired sequence.

Whenever any error comes during the execution of a test having many recovery scenarios associated with it; QTP intelligently hunts for the defined trigger event which had caused the particular error. After detecting the trigger event, QTP automatically performs the desired recovery steps and post-recovery test runs etc.

Recovery statements can be inserted in the tests to comfortably control and activate the recovery scenarios during the test run.

Cons of Recovery Scenarios:
Although Recovery Scenarios are users friendly on one hand; they tend to slow down the speed of the Test Run. Presence of a few such recovery scenarios would reduce the speed of Test Run significantly. This can become irritant to the testers, who can prefer the approach of using VBScript On Error/Goto 0 far more useful for catching & handling small errors.

Many More Articles on HP QuickTest Professional 

Sharing is caring
Posted in Automation Testing, Hot Automation Tools, HP Quick Test Professional

Post navigation

Previous post
Let us understand the Software Testing and Environments
Next post
Smart Identification: A Fantasy of QTP

WP Post Author

Yogindernath Gupta

An expert on R&D, Online Training and Publishing. He is M.Tech. (Honours) and is a part of the STG team since inception.

See author's posts

Quick Links to Our Knowledgebase
Interview Preparation
Interview Preparation Resources for Beginners to Experts
PMI PMP (Project Management Professional) Certification
PMI PMP Certification Préparation Ressources
PMI PMP Certification Exam Practice Question Papers
Study Material for ISTQB Certifications
Study Material - ISTQB Certified Tester Foundation Level Exam
Study Material - ISTQB Agile Tester Extension Level Exam
Study Material - ISTQB Certified Tester Advanced Level - All 3 Certifications
Keep track of latest posts by subscribing our RSS feed.You can also Subscribe by E-mail and get All New articles delivered directly to your Inbox.
Study Material for CSTE Certification
Complete Study Material-Certified Software Test Engineer-CSTE Certification Exam
Certifications on Reputed Automation Tools
Study Material - HP QTP / UFT Certification Exam
Study Material - HP QC / ALM Certification Exam
Study Material - HP LoadRunner Certification Exam
Study Material - IBM Rational Functional Tester - RFT Certification Exam
Quick Navigation Sitemap of SoftwareTestingGenius

Get your Absolutely Free Copy of Several Presentations & E-Books related to ISTQB, HP QTP/UFT, Load Runner, RFT and many more Certification Exams, prepared by Expert & Trainers, by writing to: Software.testing.genius@gmail.com

Leave a Reply

avatar
This comment form is under antispam protection
avatar
This comment form is under antispam protection
  Subscribe  
Notify of

Advertisements

  • Popular
  • Recent
Consolidated Study Material-QTP and QC Certification Exams
ISTQB Certification Study Material
HP Brings New Certification Exams for QTP 11.0 & QC 11.0 from July 2011
Quality Center Certification Skill Test:Q. 1 to 10
ISTQB Foundation Level Exam Crash Course Part-1
What is Selenium – Introduction to Selenium Automation Tool
An Introduction to all new Selenium IDE
Download & Install Selenium IDE
Selenium Automation Tutorial – Firebug & FirePath addons are not longer supported in Firefox
What Software Testers can do to Prepare for the Next Recession?

About Us
Know more about Software Testing Genius!
Contact Us
Start a conversation with our team of experts!
Easy Navigation Sitemap
Quickly navigate through Software Testing Genius!

Privacy Policy
Copyright Policy
Online Conduct

Advertise
Promote your Website, Product or Services!
QTP/UFT Training
Get Online Training From HP Certified Experts!
Software Testing Service
Outsource your testing requirements to us!
Connect with us
Latest Posts
  • What Software Testers can do to Prepare for the Next Recession?
  • An Insight to Project Management – A Short Primer for Novice to Experts
  • New Techniques emerging out of the Fourth Industrial Revolution
  • What is Katalon Studio and How to Use it
  • Quick Start to preparation for ISTQB Agile Tester Extension Exam

Free & Best Study Material

  • ISTQB Certification Foundation & Advanced
  • QTP Certification (UFT 11.5) & ALM
  • HP Load Runner 12.x
  • IBM Rational Functional Tester (000-842)

Copyscape Protection

Copyright © 2008 - 2019 Software Testing Genius

Web Cohort: Corporate Network Executions

wpDiscuz