Learning HP Quick Test Professional (A Test Automation Tool) Get our  Blog  posts in your Inbox Trainer : Rajamanickam Antonimuthu Click to know about training program Buy  eBook  about Software Testing And QTP Automation
What is Software Testing? Software Testing   is the process of verifying whether a software application or a software product  meets  the  business and technical requirements . i-e verifying whether the developed software application works  as expected . It will be done by comparing the  Actual result  against the  Expected Result. Different types of Testing . (e.g Functional, Regression)
What is Test Automation? Executing Test cases automatically using tools such as  QTP , Test Partner, Rational robot, etc to  shorten  the testing life cycle with respect to  time.
Need for Test Automation To avoid human errors A way of storing domain/project/task Knowledge gained by the Test Engineers  A proof for completion of testing. Accurate Reporting. Fast Test execution. Scheduled test execution.
What is QTP? QTP is a Functional and Regression Test Automation Tool. QTP is developed by Mercury and acquired by HP. Supports automation of various  Software Applications and Websites. Record and Play  + vb scripting Various Frameworks including custom framework Integration with HP Quality Center.
Technologies Supported Default Support   1. Standard Windows applications   2. Web objects / Applications   3. ActiveX controls   4. Visual Basic applications     Additional QuickTest add-ins Support 1. Java  2. Oracle 3. SAP 4. .NET  5. Web Forms 6. Siebel 7. PeopleSoft 8. Web services 9 Main frame (Terminal Emulator)
Quick Test Windows Subtitle
Object Repository Centralized place for storing Properties of objects available in AUT  Stores only the TO properties  Stores as Name & Value pair   Depends on setting in Object Identification window .
Recording Modes Normal Analog  -records and tracks every movement of the mouse  Low level - records at the object level and records all run-time objects as Window or WinObject test objects
Run Modes Normal - displays execution marker Fast-  won’t show the execution marker Update –  will update the test object properties
Types of Object Repository Local Object Repository - QTP creates a Local Repository for every action automatically during Recording  Shared Object Repository - User creates shared repository by adding objects. It can be shared among number of Actions/tests.
Test and Actions Action - A Set of Statements for performing a Task or Tasks. We divide our test into actions to streamline the process of testing  Non-Reusable Actions Reusable Actions External Action
Operations on Actions • Creating Actions • Splitting Actions • Renaming Actions • Deleting Actions • Calling an Action • Copying an Action • Making an Action Reusable/Non Reusable
CheckPoints A  checkpoint  is a verification point that compares a current value for a specified property with the expected value for that property  We can view the results of the checkpoint in the Test Results window
Types of CheckPoints Standard check point Text check point Text area check point Bit map check point Data base check point Accessibility check point XML Check point (from Application) XML Check point (from Resource) Page check point Image checkpoint Table checkpoint
Standard CheckPoints Standard Checkpoint  checks the property value of an object in your application or Web page. The standard checkpoint checks a variety of objects such as buttons, radio buttons, combo boxes, lists, and so forth.  For example, you can check that a radio button is activated after it is selected or you can check the value of an edit box.
CheckPoints (continued..) Image Checkpoint  checks the value of an image in your application or Web page. For example, you can check that a selected image's source file is correct.  Bitmap Checkpoint  checks an area of your Web page or application as a bitmap  Useful for testing zoom of map and for testing logo. Table Checkpoint  checks information within a table.
CheckPoints (continued..) Text Checkpoint  checks that a text string is displayed in the appropriate place on a Web page or application  Accessibility Checkpoint  identifies areas of your Web site that may not conform to the World Wide Web Consortium (W3C) Web Content Accessibility Guidelines  (e.g Alt for Img tag) Page Checkpoint  checks the characteristics of a Web page.  (e.g web page loading time, checking broken links) Database Checkpoint  checks the contents of a database accessed by your application.  XML Checkpoint  checks the data content of XML documents in XML files or XML documents in Web pages and frames
Supported Check Points S —Supported  NS —Not Supported  NA —Not Applicable  S  S  S  S  Database   NA  NA  NA  S  Page   S  S  S  S  XML (From Resource)  NA  NA  NA  S  XML (Web Page/Frame)   NS  NS  NS  S  Accessibility   S  S  S  S  Bitmap   NS  NS  NS  S  Text   S  S (VbListView)  S (WinListView)  S  Table   NS  NS  NS  S  Image   S  S  S  S  Standard   ActiveX  VB  Standard Windows  Web  Checkpoint  Type
Data Tables Integrated Spread sheet (Excel), used for Data driven testing.  Data driven Testing : Testing the same task with multiple sets of test data.
Data Tables Two types of sheets in Data Tables. Global Sheet-  for entire test. i-e  used for all actions in the test. Action Sheets-  for specific action only. Data can be imported to the Data Tables from external files (Flat files, excel sheets, etc) and Data bases (MS access, Sql Server, oracle, etc.)
Data Tables Design time data table .  Run time data table . - Available in result screen
Data Tables Two types of sheets. Global Sheet-  for entire test. i-e  used for all actions in the test. Action Sheets-  for specific action only.
Parmeterization For Checkpoints In Object Repository In Action steps.
QTP Result Window CheckPoint Results Reporter.ReportEvent results. Filter results. Save results as HTML file.
OutPut Values It is stored in run time data table  Types of Output values. Standard output value Text output value Text area output value Database output value XML output value
Recovery Scenario For handling unexpected pop-ups Use wizard for creating recovery scenario file. Add/Enable the required recovery scenario from the Tests.
QTP Testing process Planning  Automation Framework Creating Scripts (Recording,  adding objects) Enhancing the Scripts (Checkpoints, parameterization) Executing the scripts Analyzing the Results
Recovery Scenario For handling unexpected events such as random pop-up windows. Recovery Scenario Manager - Wizard for creating recovery scenario. -Define Trigger Event (e.g pop-up window, object state, Test run error, application crash) -Specify Recovery operations. (keyboard/mouse operations, close application process, function call, restart windows) -Choose post recovery test run operation. (Repeat current step, proceed to next step, proceed to next action iteration, proceed to next test iteration, restart current test run, stop test run)
Descriptive Programming -Adding object properties directly in the Test scripts instead of using Object Repository. Two Types - Static Programming (e.g dialog("text:=Login").Activate) Dynamic Programming e.g  Set objLogin=description.Create objLogin("text").value="Login“ objLogin.Activate
Synchronization It is required to match execution speed of QTP with the loading/responding speed of application. Exist Waitproperty Adding synchronization point from menu
Regular expression Pattern matching Used in object repository, checkpoints, etc. Take care about backslash warning Most frequency used expression – (.* )
Environment Variables Global variables  Different Types  Built in variables  User defined variables
Scripting Windows Script host (.wsh) Vbscript  (.vbs) VB Script Variables   Dim, Option Explicit VBScript has only one data type called a  Variant   Conditions, Loops
Automation Framework What is Framework? Record/playback model Data Driven  Modular Framework  Hybrid Framework->Keyword Driven
Automation Object Model What is AOM? Generate script button for exporting IDE settings. Scheduling script execution using AOM.
Automation processes Creating Automation framework Creating Tests Enhancing Tests (Checkpoints, synchronization, parameterization) Running Tests Analyzing Results. Reporting Defects.
Typical automation Framework. ObjectRepository -> To keep your shared object repositories. Datatables ->To keep QTP data tables and external Excel sheets. Config->  To keep environment variable xml file RecoveryScenario  ->To keep your recovery scenario files. Tests->  You can keep your QTP Tests here. You may include Test containing Reusable Actions here. And a Test which is getting used as driver script can also be stored here. library ->you can keep your vbs file which contains vbscript functions. Results -> You can store Result files (Either QTP result file or customized result file) here
Tools Object spy Step Generator Function Generator Debugging
Tips Coding Standards. Best practices (. e.g Use Shared repository, open application after opening QTP, Use reference path, etc.) Using COM object for handling Browser, FSO (File system) and Excel. Click to know about training program Buy  eBook  about Software Testing And QTP Automation

More Related Content

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

What's hot (14)

PPT
QTP Training by INFOTECH
PPS
About QTP 9.2
PPT
HP Quick Test Professional
PPT
PDF
What is UFT? HP's unified functional testing.
PPT
Qtp Training Deepti 1 Of 4187
PPT
Qtp Training Deepti 3 Of 44256
PPT
Qtp Presentation
PPT
Advanced Rational Robot A Tribute (http://www.geektester.blogspot.com)
PDF
Qtp certification training_material
PPT
Qtp training
DOC
What are the features in qtp
PPT
Qtp 92 Tutorial
PPT
Qtp 92 Tutorial769
QTP Training by INFOTECH
About QTP 9.2
HP Quick Test Professional
What is UFT? HP's unified functional testing.
Qtp Training Deepti 1 Of 4187
Qtp Training Deepti 3 Of 44256
Qtp Presentation
Advanced Rational Robot A Tribute (http://www.geektester.blogspot.com)
Qtp certification training_material
Qtp training
What are the features in qtp
Qtp 92 Tutorial
Qtp 92 Tutorial769
Ad

Similar to QTP Online Training (20)

PPS
About Qtp 92
PPS
About Qtp_1 92
PPT
Qtp - Introduction to automation basics
PDF
Qtp Interview Questions
DOC
Qtp Summary
PPT
Qtp Training Deepti 2 Of 44780
DOC
Qtp (basics to advanced)
PPT
QTP 10.0_Kalyan Chakravarthy.ppt
DOC
Interview qutions
PPT
Qtpppt1
PPT
Qtp presentation
PPT
Qtp presentation
PPT
Copy of qtp presentation
PDF
Pro smartbooksquestions
PPT
Copyofqtppresentation 101229032428-phpapp01
PPT
Qtp presentation
PPT
Qtp 9.2 tutorials
PPT
PPT
Qtp With Descriptive Programming
PPT
Qtp with descriptive programming
About Qtp 92
About Qtp_1 92
Qtp - Introduction to automation basics
Qtp Interview Questions
Qtp Summary
Qtp Training Deepti 2 Of 44780
Qtp (basics to advanced)
QTP 10.0_Kalyan Chakravarthy.ppt
Interview qutions
Qtpppt1
Qtp presentation
Qtp presentation
Copy of qtp presentation
Pro smartbooksquestions
Copyofqtppresentation 101229032428-phpapp01
Qtp presentation
Qtp 9.2 tutorials
Qtp With Descriptive Programming
Qtp with descriptive programming
Ad

Recently uploaded (20)

PDF
Enhancing plagiarism detection using data pre-processing and machine learning...
PDF
Dell Pro Micro: Speed customer interactions, patient processing, and learning...
PDF
CXOs-Are-you-still-doing-manual-DevOps-in-the-age-of-AI.pdf
PDF
Data Virtualization in Action: Scaling APIs and Apps with FME
PDF
LMS bot: enhanced learning management systems for improved student learning e...
PDF
IT-ITes Industry bjjbnkmkhkhknbmhkhmjhjkhj
PDF
INTERSPEECH 2025 「Recent Advances and Future Directions in Voice Conversion」
PDF
The-2025-Engineering-Revolution-AI-Quality-and-DevOps-Convergence.pdf
PDF
Auditboard EB SOX Playbook 2023 edition.
PDF
Co-training pseudo-labeling for text classification with support vector machi...
PDF
Aug23rd - Mulesoft Community Workshop - Hyd, India.pdf
PDF
Rapid Prototyping: A lecture on prototyping techniques for interface design
PDF
MENA-ECEONOMIC-CONTEXT-VC MENA-ECEONOMIC
PPTX
Internet of Everything -Basic concepts details
PDF
Introduction to MCP and A2A Protocols: Enabling Agent Communication
PDF
Convolutional neural network based encoder-decoder for efficient real-time ob...
PDF
Accessing-Finance-in-Jordan-MENA 2024 2025.pdf
PDF
Improvisation in detection of pomegranate leaf disease using transfer learni...
DOCX
Basics of Cloud Computing - Cloud Ecosystem
PDF
Lung cancer patients survival prediction using outlier detection and optimize...
Enhancing plagiarism detection using data pre-processing and machine learning...
Dell Pro Micro: Speed customer interactions, patient processing, and learning...
CXOs-Are-you-still-doing-manual-DevOps-in-the-age-of-AI.pdf
Data Virtualization in Action: Scaling APIs and Apps with FME
LMS bot: enhanced learning management systems for improved student learning e...
IT-ITes Industry bjjbnkmkhkhknbmhkhmjhjkhj
INTERSPEECH 2025 「Recent Advances and Future Directions in Voice Conversion」
The-2025-Engineering-Revolution-AI-Quality-and-DevOps-Convergence.pdf
Auditboard EB SOX Playbook 2023 edition.
Co-training pseudo-labeling for text classification with support vector machi...
Aug23rd - Mulesoft Community Workshop - Hyd, India.pdf
Rapid Prototyping: A lecture on prototyping techniques for interface design
MENA-ECEONOMIC-CONTEXT-VC MENA-ECEONOMIC
Internet of Everything -Basic concepts details
Introduction to MCP and A2A Protocols: Enabling Agent Communication
Convolutional neural network based encoder-decoder for efficient real-time ob...
Accessing-Finance-in-Jordan-MENA 2024 2025.pdf
Improvisation in detection of pomegranate leaf disease using transfer learni...
Basics of Cloud Computing - Cloud Ecosystem
Lung cancer patients survival prediction using outlier detection and optimize...

QTP Online Training

  • 1. Learning HP Quick Test Professional (A Test Automation Tool) Get our Blog posts in your Inbox Trainer : Rajamanickam Antonimuthu Click to know about training program Buy eBook about Software Testing And QTP Automation
  • 2. What is Software Testing? Software Testing is the process of verifying whether a software application or a software product meets the business and technical requirements . i-e verifying whether the developed software application works as expected . It will be done by comparing the Actual result against the Expected Result. Different types of Testing . (e.g Functional, Regression)
  • 3. What is Test Automation? Executing Test cases automatically using tools such as QTP , Test Partner, Rational robot, etc to shorten the testing life cycle with respect to time.
  • 4. Need for Test Automation To avoid human errors A way of storing domain/project/task Knowledge gained by the Test Engineers A proof for completion of testing. Accurate Reporting. Fast Test execution. Scheduled test execution.
  • 5. What is QTP? QTP is a Functional and Regression Test Automation Tool. QTP is developed by Mercury and acquired by HP. Supports automation of various Software Applications and Websites. Record and Play + vb scripting Various Frameworks including custom framework Integration with HP Quality Center.
  • 6. Technologies Supported Default Support 1. Standard Windows applications 2. Web objects / Applications 3. ActiveX controls 4. Visual Basic applications Additional QuickTest add-ins Support 1. Java 2. Oracle 3. SAP 4. .NET 5. Web Forms 6. Siebel 7. PeopleSoft 8. Web services 9 Main frame (Terminal Emulator)
  • 8. Object Repository Centralized place for storing Properties of objects available in AUT Stores only the TO properties Stores as Name & Value pair Depends on setting in Object Identification window .
  • 9. Recording Modes Normal Analog -records and tracks every movement of the mouse Low level - records at the object level and records all run-time objects as Window or WinObject test objects
  • 10. Run Modes Normal - displays execution marker Fast- won’t show the execution marker Update – will update the test object properties
  • 11. Types of Object Repository Local Object Repository - QTP creates a Local Repository for every action automatically during Recording Shared Object Repository - User creates shared repository by adding objects. It can be shared among number of Actions/tests.
  • 12. Test and Actions Action - A Set of Statements for performing a Task or Tasks. We divide our test into actions to streamline the process of testing Non-Reusable Actions Reusable Actions External Action
  • 13. Operations on Actions • Creating Actions • Splitting Actions • Renaming Actions • Deleting Actions • Calling an Action • Copying an Action • Making an Action Reusable/Non Reusable
  • 14. CheckPoints A checkpoint is a verification point that compares a current value for a specified property with the expected value for that property We can view the results of the checkpoint in the Test Results window
  • 15. Types of CheckPoints Standard check point Text check point Text area check point Bit map check point Data base check point Accessibility check point XML Check point (from Application) XML Check point (from Resource) Page check point Image checkpoint Table checkpoint
  • 16. Standard CheckPoints Standard Checkpoint checks the property value of an object in your application or Web page. The standard checkpoint checks a variety of objects such as buttons, radio buttons, combo boxes, lists, and so forth. For example, you can check that a radio button is activated after it is selected or you can check the value of an edit box.
  • 17. CheckPoints (continued..) Image Checkpoint checks the value of an image in your application or Web page. For example, you can check that a selected image's source file is correct. Bitmap Checkpoint checks an area of your Web page or application as a bitmap Useful for testing zoom of map and for testing logo. Table Checkpoint checks information within a table.
  • 18. CheckPoints (continued..) Text Checkpoint checks that a text string is displayed in the appropriate place on a Web page or application Accessibility Checkpoint identifies areas of your Web site that may not conform to the World Wide Web Consortium (W3C) Web Content Accessibility Guidelines (e.g Alt for Img tag) Page Checkpoint checks the characteristics of a Web page. (e.g web page loading time, checking broken links) Database Checkpoint checks the contents of a database accessed by your application. XML Checkpoint checks the data content of XML documents in XML files or XML documents in Web pages and frames
  • 19. Supported Check Points S —Supported NS —Not Supported NA —Not Applicable S S S S Database NA NA NA S Page S S S S XML (From Resource) NA NA NA S XML (Web Page/Frame) NS NS NS S Accessibility S S S S Bitmap NS NS NS S Text S S (VbListView) S (WinListView) S Table NS NS NS S Image S S S S Standard ActiveX VB Standard Windows Web Checkpoint Type
  • 20. Data Tables Integrated Spread sheet (Excel), used for Data driven testing. Data driven Testing : Testing the same task with multiple sets of test data.
  • 21. Data Tables Two types of sheets in Data Tables. Global Sheet- for entire test. i-e used for all actions in the test. Action Sheets- for specific action only. Data can be imported to the Data Tables from external files (Flat files, excel sheets, etc) and Data bases (MS access, Sql Server, oracle, etc.)
  • 22. Data Tables Design time data table . Run time data table . - Available in result screen
  • 23. Data Tables Two types of sheets. Global Sheet- for entire test. i-e used for all actions in the test. Action Sheets- for specific action only.
  • 24. Parmeterization For Checkpoints In Object Repository In Action steps.
  • 25. QTP Result Window CheckPoint Results Reporter.ReportEvent results. Filter results. Save results as HTML file.
  • 26. OutPut Values It is stored in run time data table Types of Output values. Standard output value Text output value Text area output value Database output value XML output value
  • 27. Recovery Scenario For handling unexpected pop-ups Use wizard for creating recovery scenario file. Add/Enable the required recovery scenario from the Tests.
  • 28. QTP Testing process Planning Automation Framework Creating Scripts (Recording, adding objects) Enhancing the Scripts (Checkpoints, parameterization) Executing the scripts Analyzing the Results
  • 29. Recovery Scenario For handling unexpected events such as random pop-up windows. Recovery Scenario Manager - Wizard for creating recovery scenario. -Define Trigger Event (e.g pop-up window, object state, Test run error, application crash) -Specify Recovery operations. (keyboard/mouse operations, close application process, function call, restart windows) -Choose post recovery test run operation. (Repeat current step, proceed to next step, proceed to next action iteration, proceed to next test iteration, restart current test run, stop test run)
  • 30. Descriptive Programming -Adding object properties directly in the Test scripts instead of using Object Repository. Two Types - Static Programming (e.g dialog("text:=Login").Activate) Dynamic Programming e.g Set objLogin=description.Create objLogin("text").value="Login“ objLogin.Activate
  • 31. Synchronization It is required to match execution speed of QTP with the loading/responding speed of application. Exist Waitproperty Adding synchronization point from menu
  • 32. Regular expression Pattern matching Used in object repository, checkpoints, etc. Take care about backslash warning Most frequency used expression – (.* )
  • 33. Environment Variables Global variables Different Types Built in variables User defined variables
  • 34. Scripting Windows Script host (.wsh) Vbscript (.vbs) VB Script Variables Dim, Option Explicit VBScript has only one data type called a Variant Conditions, Loops
  • 35. Automation Framework What is Framework? Record/playback model Data Driven Modular Framework Hybrid Framework->Keyword Driven
  • 36. Automation Object Model What is AOM? Generate script button for exporting IDE settings. Scheduling script execution using AOM.
  • 37. Automation processes Creating Automation framework Creating Tests Enhancing Tests (Checkpoints, synchronization, parameterization) Running Tests Analyzing Results. Reporting Defects.
  • 38. Typical automation Framework. ObjectRepository -> To keep your shared object repositories. Datatables ->To keep QTP data tables and external Excel sheets. Config-> To keep environment variable xml file RecoveryScenario ->To keep your recovery scenario files. Tests-> You can keep your QTP Tests here. You may include Test containing Reusable Actions here. And a Test which is getting used as driver script can also be stored here. library ->you can keep your vbs file which contains vbscript functions. Results -> You can store Result files (Either QTP result file or customized result file) here
  • 39. Tools Object spy Step Generator Function Generator Debugging
  • 40. Tips Coding Standards. Best practices (. e.g Use Shared repository, open application after opening QTP, Use reference path, etc.) Using COM object for handling Browser, FSO (File system) and Excel. Click to know about training program Buy eBook about Software Testing And QTP Automation