SlideShare a Scribd company logo
Quick Test Professional Presenter
Introduction to Automation Testing What is Automation Testing ? Benefits Automation Testing Process
QTP Testing Process Quick Test testing process consists of 7 main phases Preparing to record Test Environment Test Conditions Recording a session on your application Navigate according to Test Conditions Enhancing your test Adding logic and conditional statements Parameterization Inserting checkpoints Debugging your test Check that it operates smoothly and without interruption .
QTP Testing Process Run Test  Check the behavior of your application Analyzing the test results Reporting defects
QTP Layered Architecture Logical name Physical Description Application Layer1 Layer2 Layer3
QTP Window Expert Debugger
Tree and Expert View Relation Test Objects hierarchy can be seen in both the TreeView and the Expert View
Object Spy It is used to view object properties and Methods Displays  Object hierarchy tree  Run-time object methods  or test object methods
Object Repository Interface between QTP Script and the Application Contains Logical Name and physical Description Locate  object in repository Find data-dependant property   Parameterize  property’s  value
Recording Modes Normal recording Records the objects in your application and the operations performed on them. This mode is the default and takes full advantage of Quick Test’s test object model. Analog Recording Record the exact mouse and keyboard operations you perform in relation to either the screen or the application window. Low-Level Recording Record on any object in your application, whether or not Quick Test recognizes the specific object or the specific operation.
Enhancing Tests Parameterizing Test Regular Expressions Creating Checkpoints Creating Output Values Dividing Tests into Multiple Actions
Parameterizing Tests   To run the scenario with multiple sets of data. Steps for Parameterization  Defining a Data Table Parameter Adding Parameter Values to a Data Table Modifying Steps Affected by Parameterization Running and Analyzing a Parameterized Test Demo………………..
Demo………….. How to provide the data to the respective Parameter through Tree View
Demo………….. How to provide the data to the respective Parameter through Expert View
Regular Expressions Regular expressions enable Quick Test to identify Objects and text strings with varying values.   User has to identify the data projected to be change, like dates, so to accepts any dates, user can use regular expression.   Example : Actual Date format  :  05/19/2004  (mm/dd/yyyy) After Regular Expression: [0-1][0-9]/[0-3][0-9]/200[0-9]
Demo……
Demo…….. Click icon Do the changes as, shown below and select Regular Expression. QTP will take the year from 2000 -2009
Checkpoints Used to check the current behavior  of the application with the expected behavior. Text /Text Area Checkpoint Standard Checkpoint Table Checkpoint Page checkpoint Database Checkpoint Image Checkpoint   Accessibility Checkpoint Bitmap Checkpoint XML Checkpoint
Text /TextArea Checkpoint checks that Current Text format with the Expected Text Format in a Web page or application window
Standard Checkpoint Checks values of an object’s properties
Table Checkpoint Checks information in a table
Page checkpoint Checks the characteristics of a page  Check how long a Web page takes to load or if a Web page contains broken links.
Page checkpoint
Database Checkpoint Used to check current Database data with the Expected Database data. Check that the value in a database query is correct. Demo………
Bitmap Checkpoint Checks an area of a Web page or application after capturing it as a bitmap Check that a Web page (or any portion of it) is displayed as expected. Demo………….
Bitmap Checkpoint
XML Checkpoint Checks the data content of XML documents XML file checkpoints are used to check a specified XML file; XML application checkpoints are used to check an XML document within a Web page. Demo………….
XML Checkpoint XMLFile( "Poem.xsl" ).Check CheckPoint( "Poem.xsl_2" )
Accessibility Checkpoint Browser( "Browser" ).Page( "Yahoo! Mail_4" ).Check CheckPoint( "Yahoo! Mail_4" ) Check if the images on a Web page include ALT properties, required by the W3C Web Content Accessibility Guidelines
Creating Output Values This is just reverse to the Parameterization, In this case QTP takes the data from the application and displays the same in the Data Table.
Creating Output Values Window( " Flight Reservation" ).WinEdit( "Name:" ).Output CheckPoint ( "Name:_3" )
Actions Actions help to divide Test Script into logical units Usage : 1)We can design more modular and efficient tests.   2)Actions enable you to parameterize specific components of a test   3)Two or more tests can call the same action   4)Complex tests may have many actions and may share actions with other tests. Example:
Actions We can divide Test Script into multiple actions by creating new actions or by inserting existing actions. Kinds of actions: Non-Reusable Action :   An action that can be used only in the test in which it was created, and only once. Reusable Action :   An action that can be called multiple times by the test in which it was created (the local test) as well as by other tests. External Action :   A reusable action created in another test. External actions are read-only in the calling test. They can be modified only in the test in which they were created.
Creating New Actions We can add new actions to Test Script during a recording session or while designing Test Script.
Splitting Actions We can split an existing action into two sibling actions or into parent-child nested actions. We cannot split an action and the option is disabled when an external action is selected when the first line of the action is selected while recording a test while running a test when you are working with a read-only test
Splitting Actions
Inserting Existing Actions We can insert an existing action by inserting a copy of the action into Test Script, or by inserting a call to the original action. Example:
Inserting Existing Actions Copy of Action :  It copied in its entirety, including checkpoints, parameterization, and the corresponding action tab in the Data Table.
Inserting Existing Actions Calls to Actions:  We can insert a call (link) to a reusable action that resides in your current test (local action), or in any other test (external action). Tree View Expert View
Setting Action Properties The Action Properties enables to modify an action name, add or modify an action description, and set an action as reusable.
Transactions A transaction represents the business process that you are interested in measuring You can measure how long it takes to run a section of your test by defining  transactions . User can Plan the Scenario as transaction and use the Start Transaction and End Transaction while Recording.
Transactions Services.StartTransaction  "Start" Services.EndTransaction  "Start"
Results After running a test, we can view a report of major events that occurred during the test run. The Test Results window contains a description of the steps performed during the test run. If the test contains Data Table parameters, and the test settings it shows on Test Results window. Results are grouped by the actions in the test.
Results Reporter.ReportEvent micPass, "Step Name" ,  "Log in successfully" Reporter.ReportEvent micFail, "Step Name" ,  "Log in Failed" Reporter.ReportEvent micWarning, "Step Name" ,  "Log in pending" Reporter.ReportEvent micDone, "Step Name" ,  "Log in pending"
Integration with Test Director By this integration we will store Test Case in to Test Director and execute remotely.
Integration with WinRunner  By this we will execute WinRunner script from the QuickTest  Call to WinRunner test  Call to WinRunner Function
Virtual Objects QTP teaches to recognize a bitmap area as a standard object except edit.

More Related Content

PPT
Qtp 92 Tutorial
PPT
QTP Training by INFOTECH
PPT
Ppt Qtp
PPT
Qtp Basics
PPT
Hp Quick Test Professional
PPT
QTP with Descriptive programming
PPT
QTP Slides Presentation.
PPTX
QTP Power Point Presentation
Qtp 92 Tutorial
QTP Training by INFOTECH
Ppt Qtp
Qtp Basics
Hp Quick Test Professional
QTP with Descriptive programming
QTP Slides Presentation.
QTP Power Point Presentation

What's hot (15)

PDF
What is UFT? HP's unified functional testing.
PPT
First QTP Tutorial
PPT
Qtp Presentation
DOC
What are the features in qtp
PPT
Qtp 9.5 Tutorials by www.onsoftwaretest.com
DOC
Qtp interview questions and answers
PPS
About QTP 9.2
PPTX
Web service testing using QTP (UFT)
PPT
Qtp 8.0 basic
PPT
QTP Online Training
PPT
Qtp 9.2 tutorials
DOC
Qtp interview questions3
PPT
Qtp Training Deepti 1 Of 4187
PPT
Copy of qtp presentation
DOC
Qtp questions and answers
What is UFT? HP's unified functional testing.
First QTP Tutorial
Qtp Presentation
What are the features in qtp
Qtp 9.5 Tutorials by www.onsoftwaretest.com
Qtp interview questions and answers
About QTP 9.2
Web service testing using QTP (UFT)
Qtp 8.0 basic
QTP Online Training
Qtp 9.2 tutorials
Qtp interview questions3
Qtp Training Deepti 1 Of 4187
Copy of qtp presentation
Qtp questions and answers
Ad

Viewers also liked (20)

PPT
Qtp manual testing tutorials by QuontraSolutions
PPT
QTP Tutorial Slides Presentation.
PDF
Case study: QTP to Selenium migration
PPT
Qtp 9.2 Tutorial
PPT
Software testing Training Syllabus Course
PPT
Qtp92 Presentation
PPT
PPTX
QTP Automation Testing Tutorial 1
PDF
02 test automation functional testing (qtp)
DOC
CV_Vinay_Testing_QTP
PPTX
Basics of Automation & Manual Software Testing
DOC
Qtp sample resume
DOC
Manual Testing Notes
DOCX
Selenium Testing Project report
PPTX
Manual Testing Material by Durgasoft
PPTX
Automation Tool QTP
PDF
7400354 vbscript-in-qtp
DOC
Complete guide to manual testing@uma
PDF
01 software test engineering (manual testing)
Qtp manual testing tutorials by QuontraSolutions
QTP Tutorial Slides Presentation.
Case study: QTP to Selenium migration
Qtp 9.2 Tutorial
Software testing Training Syllabus Course
Qtp92 Presentation
QTP Automation Testing Tutorial 1
02 test automation functional testing (qtp)
CV_Vinay_Testing_QTP
Basics of Automation & Manual Software Testing
Qtp sample resume
Manual Testing Notes
Selenium Testing Project report
Manual Testing Material by Durgasoft
Automation Tool QTP
7400354 vbscript-in-qtp
Complete guide to manual testing@uma
01 software test engineering (manual testing)
Ad

Similar to Qtp Training (20)

PPT
Qtp 92 Tutorial769
PPT
Qtp 92 Tutorial769
PPT
Qtp 92 Tutorial Anil
PPT
qtp 9.2 features
PPT
Qtp 92 Tutorial769
PPT
Qtp presentation
PPT
Qtp presentation
PPT
Copyofqtppresentation 101229032428-phpapp01
PPT
Qtp presentation
PPS
About Qtp 92
PPS
About Qtp_1 92
PDF
Qtp online training
DOCX
QTP AUTOMATION TESTING SYLLABUS
DOC
Qtp (basics to advanced)
PDF
Qtp certification training_material
PPT
Qtp Training Deepti 2 Of 44780
PPTX
Qtp training session I
PPSX
Quick Test Professional (QTP/UFT)
PPT
Qtp with descriptive programming
PPT
Qtp With Descriptive Programming
Qtp 92 Tutorial769
Qtp 92 Tutorial769
Qtp 92 Tutorial Anil
qtp 9.2 features
Qtp 92 Tutorial769
Qtp presentation
Qtp presentation
Copyofqtppresentation 101229032428-phpapp01
Qtp presentation
About Qtp 92
About Qtp_1 92
Qtp online training
QTP AUTOMATION TESTING SYLLABUS
Qtp (basics to advanced)
Qtp certification training_material
Qtp Training Deepti 2 Of 44780
Qtp training session I
Quick Test Professional (QTP/UFT)
Qtp with descriptive programming
Qtp With Descriptive Programming

Recently uploaded (20)

PDF
Bridging biosciences and deep learning for revolutionary discoveries: a compr...
PDF
Encapsulation theory and applications.pdf
PPTX
A Presentation on Artificial Intelligence
PDF
cuic standard and advanced reporting.pdf
PDF
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
PPTX
Digital-Transformation-Roadmap-for-Companies.pptx
PPT
Teaching material agriculture food technology
PDF
NewMind AI Monthly Chronicles - July 2025
PPTX
PA Analog/Digital System: The Backbone of Modern Surveillance and Communication
PPTX
20250228 LYD VKU AI Blended-Learning.pptx
PPTX
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
PPT
“AI and Expert System Decision Support & Business Intelligence Systems”
PDF
Shreyas Phanse Resume: Experienced Backend Engineer | Java • Spring Boot • Ka...
PDF
Per capita expenditure prediction using model stacking based on satellite ima...
PDF
Unlocking AI with Model Context Protocol (MCP)
PPTX
Big Data Technologies - Introduction.pptx
PDF
Machine learning based COVID-19 study performance prediction
PPTX
Understanding_Digital_Forensics_Presentation.pptx
PDF
KodekX | Application Modernization Development
PDF
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
Bridging biosciences and deep learning for revolutionary discoveries: a compr...
Encapsulation theory and applications.pdf
A Presentation on Artificial Intelligence
cuic standard and advanced reporting.pdf
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
Digital-Transformation-Roadmap-for-Companies.pptx
Teaching material agriculture food technology
NewMind AI Monthly Chronicles - July 2025
PA Analog/Digital System: The Backbone of Modern Surveillance and Communication
20250228 LYD VKU AI Blended-Learning.pptx
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
“AI and Expert System Decision Support & Business Intelligence Systems”
Shreyas Phanse Resume: Experienced Backend Engineer | Java • Spring Boot • Ka...
Per capita expenditure prediction using model stacking based on satellite ima...
Unlocking AI with Model Context Protocol (MCP)
Big Data Technologies - Introduction.pptx
Machine learning based COVID-19 study performance prediction
Understanding_Digital_Forensics_Presentation.pptx
KodekX | Application Modernization Development
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf

Qtp Training

  • 2. Introduction to Automation Testing What is Automation Testing ? Benefits Automation Testing Process
  • 3. QTP Testing Process Quick Test testing process consists of 7 main phases Preparing to record Test Environment Test Conditions Recording a session on your application Navigate according to Test Conditions Enhancing your test Adding logic and conditional statements Parameterization Inserting checkpoints Debugging your test Check that it operates smoothly and without interruption .
  • 4. QTP Testing Process Run Test Check the behavior of your application Analyzing the test results Reporting defects
  • 5. QTP Layered Architecture Logical name Physical Description Application Layer1 Layer2 Layer3
  • 6. QTP Window Expert Debugger
  • 7. Tree and Expert View Relation Test Objects hierarchy can be seen in both the TreeView and the Expert View
  • 8. Object Spy It is used to view object properties and Methods Displays Object hierarchy tree Run-time object methods or test object methods
  • 9. Object Repository Interface between QTP Script and the Application Contains Logical Name and physical Description Locate object in repository Find data-dependant property Parameterize property’s value
  • 10. Recording Modes Normal recording Records the objects in your application and the operations performed on them. This mode is the default and takes full advantage of Quick Test’s test object model. Analog Recording Record the exact mouse and keyboard operations you perform in relation to either the screen or the application window. Low-Level Recording Record on any object in your application, whether or not Quick Test recognizes the specific object or the specific operation.
  • 11. Enhancing Tests Parameterizing Test Regular Expressions Creating Checkpoints Creating Output Values Dividing Tests into Multiple Actions
  • 12. Parameterizing Tests To run the scenario with multiple sets of data. Steps for Parameterization Defining a Data Table Parameter Adding Parameter Values to a Data Table Modifying Steps Affected by Parameterization Running and Analyzing a Parameterized Test Demo………………..
  • 13. Demo………….. How to provide the data to the respective Parameter through Tree View
  • 14. Demo………….. How to provide the data to the respective Parameter through Expert View
  • 15. Regular Expressions Regular expressions enable Quick Test to identify Objects and text strings with varying values. User has to identify the data projected to be change, like dates, so to accepts any dates, user can use regular expression. Example : Actual Date format : 05/19/2004 (mm/dd/yyyy) After Regular Expression: [0-1][0-9]/[0-3][0-9]/200[0-9]
  • 17. Demo…….. Click icon Do the changes as, shown below and select Regular Expression. QTP will take the year from 2000 -2009
  • 18. Checkpoints Used to check the current behavior of the application with the expected behavior. Text /Text Area Checkpoint Standard Checkpoint Table Checkpoint Page checkpoint Database Checkpoint Image Checkpoint Accessibility Checkpoint Bitmap Checkpoint XML Checkpoint
  • 19. Text /TextArea Checkpoint checks that Current Text format with the Expected Text Format in a Web page or application window
  • 20. Standard Checkpoint Checks values of an object’s properties
  • 21. Table Checkpoint Checks information in a table
  • 22. Page checkpoint Checks the characteristics of a page Check how long a Web page takes to load or if a Web page contains broken links.
  • 24. Database Checkpoint Used to check current Database data with the Expected Database data. Check that the value in a database query is correct. Demo………
  • 25. Bitmap Checkpoint Checks an area of a Web page or application after capturing it as a bitmap Check that a Web page (or any portion of it) is displayed as expected. Demo………….
  • 27. XML Checkpoint Checks the data content of XML documents XML file checkpoints are used to check a specified XML file; XML application checkpoints are used to check an XML document within a Web page. Demo………….
  • 28. XML Checkpoint XMLFile( "Poem.xsl" ).Check CheckPoint( "Poem.xsl_2" )
  • 29. Accessibility Checkpoint Browser( "Browser" ).Page( "Yahoo! Mail_4" ).Check CheckPoint( "Yahoo! Mail_4" ) Check if the images on a Web page include ALT properties, required by the W3C Web Content Accessibility Guidelines
  • 30. Creating Output Values This is just reverse to the Parameterization, In this case QTP takes the data from the application and displays the same in the Data Table.
  • 31. Creating Output Values Window( " Flight Reservation" ).WinEdit( "Name:" ).Output CheckPoint ( "Name:_3" )
  • 32. Actions Actions help to divide Test Script into logical units Usage : 1)We can design more modular and efficient tests. 2)Actions enable you to parameterize specific components of a test 3)Two or more tests can call the same action 4)Complex tests may have many actions and may share actions with other tests. Example:
  • 33. Actions We can divide Test Script into multiple actions by creating new actions or by inserting existing actions. Kinds of actions: Non-Reusable Action : An action that can be used only in the test in which it was created, and only once. Reusable Action : An action that can be called multiple times by the test in which it was created (the local test) as well as by other tests. External Action : A reusable action created in another test. External actions are read-only in the calling test. They can be modified only in the test in which they were created.
  • 34. Creating New Actions We can add new actions to Test Script during a recording session or while designing Test Script.
  • 35. Splitting Actions We can split an existing action into two sibling actions or into parent-child nested actions. We cannot split an action and the option is disabled when an external action is selected when the first line of the action is selected while recording a test while running a test when you are working with a read-only test
  • 37. Inserting Existing Actions We can insert an existing action by inserting a copy of the action into Test Script, or by inserting a call to the original action. Example:
  • 38. Inserting Existing Actions Copy of Action : It copied in its entirety, including checkpoints, parameterization, and the corresponding action tab in the Data Table.
  • 39. Inserting Existing Actions Calls to Actions: We can insert a call (link) to a reusable action that resides in your current test (local action), or in any other test (external action). Tree View Expert View
  • 40. Setting Action Properties The Action Properties enables to modify an action name, add or modify an action description, and set an action as reusable.
  • 41. Transactions A transaction represents the business process that you are interested in measuring You can measure how long it takes to run a section of your test by defining transactions . User can Plan the Scenario as transaction and use the Start Transaction and End Transaction while Recording.
  • 42. Transactions Services.StartTransaction "Start" Services.EndTransaction "Start"
  • 43. Results After running a test, we can view a report of major events that occurred during the test run. The Test Results window contains a description of the steps performed during the test run. If the test contains Data Table parameters, and the test settings it shows on Test Results window. Results are grouped by the actions in the test.
  • 44. Results Reporter.ReportEvent micPass, "Step Name" , "Log in successfully" Reporter.ReportEvent micFail, "Step Name" , "Log in Failed" Reporter.ReportEvent micWarning, "Step Name" , "Log in pending" Reporter.ReportEvent micDone, "Step Name" , "Log in pending"
  • 45. Integration with Test Director By this integration we will store Test Case in to Test Director and execute remotely.
  • 46. Integration with WinRunner By this we will execute WinRunner script from the QuickTest Call to WinRunner test Call to WinRunner Function
  • 47. Virtual Objects QTP teaches to recognize a bitmap area as a standard object except edit.