>>>>>>>>>>>>>>>>>>>>>> www.softwaretestinggenius.com <<<<<<<<<<<<<<<<<<<<<< A Quick Revision of HP QTP 10.0 An Advanced Solution to Functional & Regression.

Slides:



Advertisements
Similar presentations
Microsoft Expression Web-Illustrated Unit J: Creating Forms.
Advertisements

Stored procedures and views You can see definitions for stored procedures and views in the demo databases but you can’t change them. For views, expand.
Templates and Styles Excel Advanced. Templates are pre- designed and formatted spreadsheets –They provide consistency of layout/structure –They.
Access - Project 1 l What Is a Database? –A Collection of Data –Organized in a manner to allow: »Access »Retrieval »Use of That Data.
Chapter 2: The Visual Studio.NET Development Environment Visual Basic.NET Programming: From Problem Analysis to Program Design.
Using the Unity 98 Cordless Response System Directions : Courtesy of IHC public relations.
How to Create Accessible PowerPoint Presentations Elizabeth Tu and Thayer Watkins April, 2010.
Access Tutorial 10 Automating Tasks with Macros
Chapter 9 Macros, Navigation Forms, PivotTables, and PivotCharts
Chapter 3 Maintaining a Database
© 2004 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice Automation Fundamental Concepts &
Copyright © Texas Education Agency, All rights reserved. 1 Web Technologies Website Development with Dreamweaver.
>>>>>>>>>>>>>>>>>>>>>>
COMPUTER PROGRAMMING Source: Computing Concepts (the I-series) by Haag, Cummings, and Rhea, McGraw-Hill/Irwin, 2002.
9/17/2015PowerPoint Differences Between Excel 2003 to 2007 Purdue University Calumet Excel 2003 Excel 2007.
Introduction to the WebBoard Terry Dennis. The WebBoard - Our Connection The WebBoard URL is
Analysing Data with Excel Importing Data from a Text File To import data from a text file: 1.Start Excel. 2.Click File, click New, click Workbook,
Jump to first page 10/2/2015 Learning PowerPoint A Tutorial Start.
Debugging Projects Using C++.NET Click with the mouse button to control the flow of the presentation.
Getting Started SAP BusinessObjects Analysis, edition for Microsoft Office v1.0.
1 Excel Intro-InterfaceIntro-Interface.
Office 2003 Advanced Concepts and Techniques M i c r o s o f t Access Project 5 Enhancing Forms with OLE Fields, Hyperlinks, and Subforms.
Automating Database Processing Chapter 6. Chapter Introduction Design and implement user-friendly menu – Called navigation form Macros – Automate repetitive.
Tutorial 111 The Visual Studio.NET Environment The major differences between Visual Basic 6.0 and Visual Basic.NET are the latter’s support for true object-oriented.
1 OPOL Training (OrderPro Online) Prepared by Christina Van Metre Independent Educational Consultant CTO, Business Development Team © Training Version.
Playing Back Scripts In HP LoadRunner >>>>>>>>>>>>>>>>>>>>>>
Office 2003 Advanced Concepts and Techniques M i c r o s o f t Access Project 5 Enhancing Forms with OLE Fields, Hyperlinks, and Subforms.
XP New Perspectives on Microsoft Office Access 2003, Second Edition- Tutorial 2 1 Microsoft Office Access 2003 Tutorial 2 – Creating And Maintaining A.
Session Objectives • Login to PeopleSoft Test Framework(PTF)
Key Applications Module Lesson 21 — Access Essentials
 Whether using paper forms or forms on the web, forms are used for gathering information. User enter information into designated areas, or fields. Forms.
Dreamweaver MX. 2 Overview of Templates n Forms enable you to collect data from ______. n A form contains ________ such as text fields, radio buttons,
Office Management Tools II Ms Saima Gul. Office Management Tools II Ms Saima Gul.
Session Objectives How to Debug PTF test case/Script Session-6 DebuggingSlide 2.
Using Microsoft Visual Studio 2005 Original by Suma Rao Revised by John G. McMahon ( 9/6/2008 )
How to Run a Scenario In HP LoadRunner >>>>>>>>>>>>>>>>>>>>>>
Office 2003 Post-Advanced Concepts and Techniques M i c r o s o f t Access Project 7 Advanced Report and Form Techniques.
® Microsoft Office 2013 Access Creating a Database.
Using Microsoft Visual Studio C++ Express 2005 Name: Dr Ju Wang Ashwin Belle Course Resource:
Test Creation in QuickTest Professional Using Keyword Driven Methodology A Storehouse of Vast Knowledge on Software Testing.
® Microsoft Access 2010 Tutorial 10 Automating Tasks with Macros.
11/25/2015Slide 1 Scripts are short programs that repeat sequences of SPSS commands. SPSS includes a computer language called Sax Basic for the creation.
Global Change. The Global Change gives users the ability to make global changes to quotes by displaying common options, allowing users to edit the options.
Jeremiah McNichols Partnership for Environmental Education and Rural Health PowerPoint Toolbar Creator Instructions and Foundation.
AS Level ICT Health and safety guidelines covering the design and introduction of new software.
Excel Tips to Make Your Life Easier Michael Winecoff Associate University Librarian for Technical Services November 5, 2015.
INTRODUCTION TO ACCESS. OBJECTIVES  Define the terms field, record, table, relational database, primary key, and foreign key  Create a blank database.
Links take you to…  Different slides in your presentation  A different PowerPoint presentation  Any program - (Word can be used for example to complete.
 Start Microsoft Word from the icon or shortcut for the application. This is usually accessible from the Start Button. Then go to Programs, then Microsoft.
McGraw-Hill/Irwin The Interactive Computing Series © 2002 The McGraw-Hill Companies, Inc. All rights reserved. Microsoft Access 2002 Advanced Form Design.
Object-Oriented Application Development Using VB.NET 1 Chapter 2 The Visual Studio.NET Development Environment.
Quick Test Professional 9.2. Testing Process Preparing to Record Recording Enhancing a Test Debugging Running the Test and Analyzing the Results Reporting.
Chapter 2: The Visual Studio.NET Development Environment Visual Basic.NET Programming: From Problem Analysis to Program Design.
Microsoft Excel Consolidation. Contents Introduction to Multiple Workbook Applications Working with Multiple Workbook Applications using normal keyboard.
June 17, 2009 Office 2007 Tips & Tricks.
MS PowerPoint.
Installation The Intercompany Integration Solution for SAP Business One Version 2.0 for SAP Business One 9.1 Welcome to the course on the installation.
Chapter 2: The Visual Studio .NET Development Environment
Quick Instructor Guide
Customizing the Toolbar
European Computer Driving Licence
Access Creating a Database
Enhancing Forms with OLE Fields, Hyperlinks, and Subforms
Access Creating a Database
Course Name: QTP Trainer: Laxmi Duration: 25 Hrs Session: Daily 1 Hr.
Installation The Intercompany Integration Solution for SAP Business One Version 2.0 for SAP Business One 9.1 Welcome to the course on the installation.
4.3 Adding Modules to a Page
Click to edit title TO ADD NEW SLIDE LAYOUTS: Make sure you have the ‘Home’ tab selected at the top of the PowerPoint screen and click the down facing.
Selenium IDE Installation and Use.
Presentation transcript:

>>>>>>>>>>>>>>>>>>>>>> <<<<<<<<<<<<<<<<<<<<<< A Quick Revision of HP QTP 10.0 An Advanced Solution to Functional & Regression Test Automation Part - 2

 Recovery Scenarios  Keyword Driven Testing Framework  Script Debugging  Database Management by SQL Queries  Relative Path  Regular Expressions  Working with HP Quality Center >>>>>>>>>>>>>>>>>>>>>> <<<<<<<<<<<<<<<<<<<<<< Topics Covered in Part - 2

>>>>>>>>>>>>>>>>>>>>>> <<<<<<<<<<<<<<<<<<<<<< What is a Recovery Scenario? Recovery Scenario is a mechanism by which QTP handles any unexpected windows, pop-ups or application crashes while the test is running so that the test is not interrupted. Every type of recovery situation needs to be handled with a separate recovery scenario. The recovery scenarios continuously look for the recovery situations occurring in the application as long as the test is running.

>>>>>>>>>>>>>>>>>>>>>> <<<<<<<<<<<<<<<<<<<<<< How to create a recovery scenario? Select "recovery Scenario Manager" from the "Resources" menu.

>>>>>>>>>>>>>>>>>>>>>> <<<<<<<<<<<<<<<<<<<<<< How to create a recovery scenario? Recovery Scenario Wizards starts. Click Next on this screen.

>>>>>>>>>>>>>>>>>>>>>> <<<<<<<<<<<<<<<<<<<<<< How to create a recovery scenario? Depending on the desired type of recovery scenario, select the appropriate Radio button. Recovery scenarios can be defined for unwanted Pop-up window, Object state, Test run error or application crash.

>>>>>>>>>>>>>>>>>>>>>> <<<<<<<<<<<<<<<<<<<<<< How to create a recovery scenario? Click Next button to view a pop-up window. For Instance, following Pop-up window may appear while navigating from non-secure to a secure web page.

>>>>>>>>>>>>>>>>>>>>>> <<<<<<<<<<<<<<<<<<<<<< How to create a recovery scenario? QTP captures the window title and window text. Uncheck the checkbox "Window text contains". Now QTP look for any security window with the title Security Information or any generic title.

>>>>>>>>>>>>>>>>>>>>>> <<<<<<<<<<<<<<<<<<<<<< How to create a recovery scenario? If the window title changes dynamically with some pattern, Click the checkbox "Regular Expression" and provide the pattern. Click Next

>>>>>>>>>>>>>>>>>>>>>> <<<<<<<<<<<<<<<<<<<<<< How to create a recovery scenario? Next screen informs us that we should define the recovery operation to be done in order to handle this window.

>>>>>>>>>>>>>>>>>>>>>> <<<<<<<<<<<<<<<<<<<<<< How to create a recovery scenario? Click Next button to view the Recovery Operation window. Select the appropriate action to be performed.

>>>>>>>>>>>>>>>>>>>>>> <<<<<<<<<<<<<<<<<<<<<< How to create a recovery scenario? Keyboard or mouse operation allows us to click a button on the screen. Close application process allows us to kill the process which starts the unwanted window so we can continue with testing. Function call will allow us to write a user-defined function to handle the unwanted window. Restart Microsoft Windows allows us to restart the windows all together if needed. In above example, click on the first radio button "Keyboard or mouse operation".

>>>>>>>>>>>>>>>>>>>>>> <<<<<<<<<<<<<<<<<<<<<< How to create a recovery scenario? We can show the button we want QTP to click using the hand icon in the following screen and click Next button.

>>>>>>>>>>>>>>>>>>>>>> <<<<<<<<<<<<<<<<<<<<<< How to create a recovery scenario? We can add another recovery scenario if needed from the following screen. If we don't want to create another scenario uncheck the checkbox "Add another recovery operation" Click "Next"

>>>>>>>>>>>>>>>>>>>>>> <<<<<<<<<<<<<<<<<<<<<< How to create a recovery scenario? Following screen allows us to define the Post-recovery operation to be performed.

>>>>>>>>>>>>>>>>>>>>>> <<<<<<<<<<<<<<<<<<<<<< How to create a recovery scenario? Since the recovery scenario is kicked off only when the error is about to be thrown since QTP could not find an object because of the unwanted window or object state it is logical to re-execute that particular statement again after the post-recovery operation. Hence select the option "Repeat current step and continue". If the situation is different, make the appropriate selection depending on the desired operation. If the exception does not allow us to test the application anymore in this test run, select the last radio button "Stop the test run"

>>>>>>>>>>>>>>>>>>>>>> <<<<<<<<<<<<<<<<<<<<<< How to create a recovery scenario? Use “ Proceed to next step ” if you want to continue with the test. Use “ Proceed to next action ” if you want to skip the current action in the flow and continue with the next action. Use “ Proceed to next test iteration ” if you want to skip the current row of global row and continue with the next row of Global sheet. Use “ Restart current test run ” if you want to start the test altogether. Click Next.

>>>>>>>>>>>>>>>>>>>>>> <<<<<<<<<<<<<<<<<<<<<< How to create a recovery scenario? Provide a name for the recovery scenario and click "Next".

>>>>>>>>>>>>>>>>>>>>>> <<<<<<<<<<<<<<<<<<<<<< How to create a recovery scenario? Make sure that the checkboxes "Add scenario to current test" and "Add scenario to default test settings" are selected as shown below. This will add the Recovery scenario to the current and the QTP settings as well.