Automation Fundamental Concepts  &  QTP At A Glance – Day 2 Prepared By : Kolhar IR (Shiva) Created On  : 27-09-2005
Summary of Day 1 (Revision) Summary of Day 1 from Attendees Summary by Deepti about Day 1 training Agenda for Day 2
Working with Test Objects in QTP Test Object Model Conceptualization Applying the Test Object Model Concept Viewing Object properties Using Object Spy Demo on Test Object Model features of QTP
Test Object Model Cont… How Quick test Pro learns objects in application ?  Quick Test first looks at the object on which user is recording and stores it as a test object & then determines which test object class it fits into by, Mandatory properties Assistive properties.. Ordinal identifier……  Smart Identification..
Test Object Model Cont… Mandatory properties: For each Test Object class, Quick Test has list of mandatory properties… Assistive properties: Quick Test adds assistive properties one by one to the description until it has compiled a unique description… Ordinal identifier: If the combination of all defined mandatory and assistive properties is not sufficient to create a unique test object description, Quickest also records the value for the selected ordinal identifier.  Smart Identification: A Smart Identification definition can help QuickTest identify an object, if it is present, even when the recorded description fails due to changes in one or more property values.
Test Object Model How Quick Test Identifies objects during the test run? Quick test searches for a run time object that exactly matches the description of the test object from the object repository it learned while recording…
Test Object Model Test Object :   Test Object is an object that Quick Test creates in the test to represent the actual object in the application… Run Time Object : It is the actual object in the web site or application on which methods are performed during the test run..
Test Object Model Viewing object properties by Object Spy : Using the object spy, users can view the properties of any object in an open application…
Test Object Model Viewing object methods  and methods syntax using object spy… Object Spy enables users to view both the run time object methods, the test object methods  associated with an object and to view the syntax for a selected method…
Test Object Model
Managing Test objects Object Repository Dialog box : - Per Action Mode   - Shared Action Mode
Managing Test objects Identifying the Object :   - Logical Name   - Class Viewing the Objects Property : Type  -  Constant, Data table property ,variable parameter. Property -  Name of the Property Value  -  The value of the property -  Smart Identifier -  Add/ Remove
Managing Test Objects Adding or Viewing New objects : - Add New Objects    - Object spy - Saves all the object properties and values  from a per action object repository to a  separate file for use as a shared object  repository in another test… - Modify the Test object properties - Finding the Test object properties - Modifying the Logical Names
Managing Test Objects Object Properties Modification  Users can modify the properties of the temporary version of the object during the test run with out affecting the permanent values in the object repository   - SetTOProperty - GetTOProperty
Main phases of QTP testing Process Preparing to record  Recording a session on the application  Executing the test Enhancing your test  Debugging your test  Re-executing the tests on a new version of the application  Analyzing the test results  Reporting defects
Please record a test and run the script. Analyze the test result. DEMO
 
Types of Checkpoints (Verification Process) Check that a Web page (or any portion of it) is displayed as expected.  Checks an area of a Web page  or application after capturing  it as a bitmap  Bitmap Checkpoint  Check whether the expected text string is displayed in the expected location on a Web page or dialog box  Checks that a text string is displayed in the appropriate place in a Web page or application window  Text /  Text Area Checkpoint  Check how long a Web page takes to load or if a Web page contains broken links.  Checks the characteristics of a Web page  Page checkpoint  Check that the value in a table cell is correct.  Checks information in a table  Table Checkpoint  Check that the image source file is correct.  Checks the property values of  an image  Image Checkpoint  Check that a radio button is selected.  Checks values of an object’s properties  Standard Checkpoint
Types of Checkpoints Cont… Note:  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.  Checks the data content of  XML documents  XML Checkpoint  Check if the images on a Web page include ALT properties, required by the W3C Web Content Accessibility Guidelines.  Identifies areas of a Web site  to check for Section 508 compliancy  Accessibility Checkpoint  Check that the value in a database query is correct.  Checks the contents of databases accessed by an application or Web site  Database Checkpoint
Demo on using checkpoints Apply different types of checkpoints to the recorded test. Analyze the test results
Parameterising Tests Different Types of Parameters  Test & Action Parameters Data Table Environment Variable Defining a Data Table Parameter Adding Parameter Values to a Data Table Modifying Steps Affected by Parameterization Running and Analyzing a Parameterized Test
Creating Output Values Creating an Output Value  Running and Analyzing a Test with Output Values
Using Regular Expressions  Regular Expression Syntax  Working with Regular Expressions  Running and Analyzing a Test with Regular Expressions
Dividing Tests into Multiple Actions Working with Multiple Actions  Creating New Actions  Inserting Existing Actions  Parameterizing an Action  Running and Analyzing a Multi-action Test  Different Types of Actions
Recovery Scenarios Defining Recovery Scenarios  Creating a Recovery File  Understanding the Recovery Scenario Manager Dialog Box  Understanding the Recovery Scenario Wizard  Welcome to the Recovery Scenario Wizard Screen
Recovery Scenario Welcome to the Recovery Scenario Wizard Screen  Select Trigger Event Screen  Specify Pop-up Window Conditions Screen  Select Object Screen  Set Object Properties and Values Screen  Select Test Run Error Screen
Recovery Scenario Select Processes Screen  Recovery Operations Screen  Recovery Operation Screen  Recovery Operation – Click Button or Press Key Screen  Recovery Operation – Close Processes Screen  Recovery Operation – Function Call Screen
Recovery Scenario Post-Recovery Test Run Options Screen  Name and Description Screen  Completing the Recovery Scenario Wizard Screen  Saving the Recovery Scenario in a Recovery File  Managing Recovery Scenarios
Thank You

More Related Content

PPTX
QTP Power Point Presentation
PPT
Qtp Presentation
PPTX
QTP Automation Testing Tutorial 7
PPT
QTP Online Training
PPTX
QTP Automation Testing Tutorial 3
PPTX
QTP Automation Testing Tutorial 5
PPTX
QTP Automation Testing Tutorial 6
PDF
Effective Unit Testing
QTP Power Point Presentation
Qtp Presentation
QTP Automation Testing Tutorial 7
QTP Online Training
QTP Automation Testing Tutorial 3
QTP Automation Testing Tutorial 5
QTP Automation Testing Tutorial 6
Effective Unit Testing

What's hot (18)

DOCX
QTP AUTOMATION TESTING SYLLABUS
PPT
Qtp - Introduction to automation basics
DOC
What are the features in qtp
PPT
qtp 9.2 features
PPT
Qtp 92 Tutorial Anil
PPT
Qtp 92 Tutorial769
PPT
Qtp 92 Tutorial
PPT
Qtp 9.2 Tutorial
PPTX
Unit testing and mocking in Python - PyCon 2018 - Kenya
PDF
Unit testing in xcode 8 with swift
PPTX
.Net Unit Testing with Visual Studio 2010
PPTX
Unit testing and test driven development using vs
DOC
Qtp syllabus
ODP
S313352 optimizing java device testing with automatic feature discovering
PPTX
Unit testing, UI testing and Test Driven Development in Visual Studio 2012
PPT
Nguyenvandungb seminar
PPTX
Unit Testing in Java
PDF
Unit testing, principles
QTP AUTOMATION TESTING SYLLABUS
Qtp - Introduction to automation basics
What are the features in qtp
qtp 9.2 features
Qtp 92 Tutorial Anil
Qtp 92 Tutorial769
Qtp 92 Tutorial
Qtp 9.2 Tutorial
Unit testing and mocking in Python - PyCon 2018 - Kenya
Unit testing in xcode 8 with swift
.Net Unit Testing with Visual Studio 2010
Unit testing and test driven development using vs
Qtp syllabus
S313352 optimizing java device testing with automatic feature discovering
Unit testing, UI testing and Test Driven Development in Visual Studio 2012
Nguyenvandungb seminar
Unit Testing in Java
Unit testing, principles
Ad

Viewers also liked (6)

PPTX
Responsive Design for WordPress
PDF
היכרות עם וורדפרס ועוד חן כהן
PDF
The Power of Your Story - Kimanzi Constable
PDF
מ-antispambot ועד zeroise – עשר פונקציות וורדפרס שאתם כנראה לא מכירים
PPT
MME Results Comparison
PDF
Digital Fabrication Studio 0.3 Media, Business, Platform, Economy
Responsive Design for WordPress
היכרות עם וורדפרס ועוד חן כהן
The Power of Your Story - Kimanzi Constable
מ-antispambot ועד zeroise – עשר פונקציות וורדפרס שאתם כנראה לא מכירים
MME Results Comparison
Digital Fabrication Studio 0.3 Media, Business, Platform, Economy
Ad

Similar to Qtp Training Deepti 2 Of 44780 (20)

PPT
Qtp Basics
PPS
About Qtp 92
PPS
About Qtp_1 92
PPS
About QTP 9.2
PPT
Qtp Training
PDF
Qtp certification training_material
PPT
Ppt Qtp
PPT
Qtp 92 Tutorial769
PPT
Qtp 92 Tutorial769
PPTX
QTP Tutorial
PPT
Hp Quick Test Professional
DOC
Qtp interview questions
DOC
Qtp interview questions
PPT
PPTX
QTP/UFT Overview and Installation
DOC
Interview qutions
PPT
QTP Training by INFOTECH
PPT
HP Quick Test Professional
PPT
Qtp - Introduction to synchronization
PDF
Qtp In Depth
Qtp Basics
About Qtp 92
About Qtp_1 92
About QTP 9.2
Qtp Training
Qtp certification training_material
Ppt Qtp
Qtp 92 Tutorial769
Qtp 92 Tutorial769
QTP Tutorial
Hp Quick Test Professional
Qtp interview questions
Qtp interview questions
QTP/UFT Overview and Installation
Interview qutions
QTP Training by INFOTECH
HP Quick Test Professional
Qtp - Introduction to synchronization
Qtp In Depth

Recently uploaded (20)

PDF
Connector Corner: Transform Unstructured Documents with Agentic Automation
PPTX
agenticai-neweraofintelligence-250529192801-1b5e6870.pptx
PDF
CXOs-Are-you-still-doing-manual-DevOps-in-the-age-of-AI.pdf
PDF
“The Future of Visual AI: Efficient Multimodal Intelligence,” a Keynote Prese...
PDF
MENA-ECEONOMIC-CONTEXT-VC MENA-ECEONOMIC
PDF
Transform-Quality-Engineering-with-AI-A-60-Day-Blueprint-for-Digital-Success.pdf
PDF
NewMind AI Weekly Chronicles – August ’25 Week IV
PDF
giants, standing on the shoulders of - by Daniel Stenberg
PDF
LMS bot: enhanced learning management systems for improved student learning e...
PDF
The-2025-Engineering-Revolution-AI-Quality-and-DevOps-Convergence.pdf
PDF
Electrocardiogram sequences data analytics and classification using unsupervi...
PDF
Transform-Your-Streaming-Platform-with-AI-Driven-Quality-Engineering.pdf
PDF
IT-ITes Industry bjjbnkmkhkhknbmhkhmjhjkhj
PDF
Planning-an-Audit-A-How-To-Guide-Checklist-WP.pdf
PDF
Human Computer Interaction Miterm Lesson
PPTX
SGT Report The Beast Plan and Cyberphysical Systems of Control
PDF
Aug23rd - Mulesoft Community Workshop - Hyd, India.pdf
PDF
4 layer Arch & Reference Arch of IoT.pdf
PDF
zbrain.ai-Scope Key Metrics Configuration and Best Practices.pdf
PDF
Lung cancer patients survival prediction using outlier detection and optimize...
Connector Corner: Transform Unstructured Documents with Agentic Automation
agenticai-neweraofintelligence-250529192801-1b5e6870.pptx
CXOs-Are-you-still-doing-manual-DevOps-in-the-age-of-AI.pdf
“The Future of Visual AI: Efficient Multimodal Intelligence,” a Keynote Prese...
MENA-ECEONOMIC-CONTEXT-VC MENA-ECEONOMIC
Transform-Quality-Engineering-with-AI-A-60-Day-Blueprint-for-Digital-Success.pdf
NewMind AI Weekly Chronicles – August ’25 Week IV
giants, standing on the shoulders of - by Daniel Stenberg
LMS bot: enhanced learning management systems for improved student learning e...
The-2025-Engineering-Revolution-AI-Quality-and-DevOps-Convergence.pdf
Electrocardiogram sequences data analytics and classification using unsupervi...
Transform-Your-Streaming-Platform-with-AI-Driven-Quality-Engineering.pdf
IT-ITes Industry bjjbnkmkhkhknbmhkhmjhjkhj
Planning-an-Audit-A-How-To-Guide-Checklist-WP.pdf
Human Computer Interaction Miterm Lesson
SGT Report The Beast Plan and Cyberphysical Systems of Control
Aug23rd - Mulesoft Community Workshop - Hyd, India.pdf
4 layer Arch & Reference Arch of IoT.pdf
zbrain.ai-Scope Key Metrics Configuration and Best Practices.pdf
Lung cancer patients survival prediction using outlier detection and optimize...

Qtp Training Deepti 2 Of 44780

  • 1. Automation Fundamental Concepts & QTP At A Glance – Day 2 Prepared By : Kolhar IR (Shiva) Created On : 27-09-2005
  • 2. Summary of Day 1 (Revision) Summary of Day 1 from Attendees Summary by Deepti about Day 1 training Agenda for Day 2
  • 3. Working with Test Objects in QTP Test Object Model Conceptualization Applying the Test Object Model Concept Viewing Object properties Using Object Spy Demo on Test Object Model features of QTP
  • 4. Test Object Model Cont… How Quick test Pro learns objects in application ? Quick Test first looks at the object on which user is recording and stores it as a test object & then determines which test object class it fits into by, Mandatory properties Assistive properties.. Ordinal identifier…… Smart Identification..
  • 5. Test Object Model Cont… Mandatory properties: For each Test Object class, Quick Test has list of mandatory properties… Assistive properties: Quick Test adds assistive properties one by one to the description until it has compiled a unique description… Ordinal identifier: If the combination of all defined mandatory and assistive properties is not sufficient to create a unique test object description, Quickest also records the value for the selected ordinal identifier. Smart Identification: A Smart Identification definition can help QuickTest identify an object, if it is present, even when the recorded description fails due to changes in one or more property values.
  • 6. Test Object Model How Quick Test Identifies objects during the test run? Quick test searches for a run time object that exactly matches the description of the test object from the object repository it learned while recording…
  • 7. Test Object Model Test Object : Test Object is an object that Quick Test creates in the test to represent the actual object in the application… Run Time Object : It is the actual object in the web site or application on which methods are performed during the test run..
  • 8. Test Object Model Viewing object properties by Object Spy : Using the object spy, users can view the properties of any object in an open application…
  • 9. Test Object Model Viewing object methods and methods syntax using object spy… Object Spy enables users to view both the run time object methods, the test object methods associated with an object and to view the syntax for a selected method…
  • 11. Managing Test objects Object Repository Dialog box : - Per Action Mode - Shared Action Mode
  • 12. Managing Test objects Identifying the Object : - Logical Name - Class Viewing the Objects Property : Type - Constant, Data table property ,variable parameter. Property - Name of the Property Value - The value of the property - Smart Identifier - Add/ Remove
  • 13. Managing Test Objects Adding or Viewing New objects : - Add New Objects - Object spy - Saves all the object properties and values from a per action object repository to a separate file for use as a shared object repository in another test… - Modify the Test object properties - Finding the Test object properties - Modifying the Logical Names
  • 14. Managing Test Objects Object Properties Modification Users can modify the properties of the temporary version of the object during the test run with out affecting the permanent values in the object repository - SetTOProperty - GetTOProperty
  • 15. Main phases of QTP testing Process Preparing to record Recording a session on the application Executing the test Enhancing your test Debugging your test Re-executing the tests on a new version of the application Analyzing the test results Reporting defects
  • 16. Please record a test and run the script. Analyze the test result. DEMO
  • 17.  
  • 18. Types of Checkpoints (Verification Process) Check that a Web page (or any portion of it) is displayed as expected. Checks an area of a Web page or application after capturing it as a bitmap Bitmap Checkpoint Check whether the expected text string is displayed in the expected location on a Web page or dialog box Checks that a text string is displayed in the appropriate place in a Web page or application window Text / Text Area Checkpoint Check how long a Web page takes to load or if a Web page contains broken links. Checks the characteristics of a Web page Page checkpoint Check that the value in a table cell is correct. Checks information in a table Table Checkpoint Check that the image source file is correct. Checks the property values of an image Image Checkpoint Check that a radio button is selected. Checks values of an object’s properties Standard Checkpoint
  • 19. Types of Checkpoints Cont… Note: 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. Checks the data content of XML documents XML Checkpoint Check if the images on a Web page include ALT properties, required by the W3C Web Content Accessibility Guidelines. Identifies areas of a Web site to check for Section 508 compliancy Accessibility Checkpoint Check that the value in a database query is correct. Checks the contents of databases accessed by an application or Web site Database Checkpoint
  • 20. Demo on using checkpoints Apply different types of checkpoints to the recorded test. Analyze the test results
  • 21. Parameterising Tests Different Types of Parameters Test & Action Parameters Data Table Environment Variable Defining a Data Table Parameter Adding Parameter Values to a Data Table Modifying Steps Affected by Parameterization Running and Analyzing a Parameterized Test
  • 22. Creating Output Values Creating an Output Value Running and Analyzing a Test with Output Values
  • 23. Using Regular Expressions Regular Expression Syntax Working with Regular Expressions Running and Analyzing a Test with Regular Expressions
  • 24. Dividing Tests into Multiple Actions Working with Multiple Actions Creating New Actions Inserting Existing Actions Parameterizing an Action Running and Analyzing a Multi-action Test Different Types of Actions
  • 25. Recovery Scenarios Defining Recovery Scenarios Creating a Recovery File Understanding the Recovery Scenario Manager Dialog Box Understanding the Recovery Scenario Wizard Welcome to the Recovery Scenario Wizard Screen
  • 26. Recovery Scenario Welcome to the Recovery Scenario Wizard Screen Select Trigger Event Screen Specify Pop-up Window Conditions Screen Select Object Screen Set Object Properties and Values Screen Select Test Run Error Screen
  • 27. Recovery Scenario Select Processes Screen Recovery Operations Screen Recovery Operation Screen Recovery Operation – Click Button or Press Key Screen Recovery Operation – Close Processes Screen Recovery Operation – Function Call Screen
  • 28. Recovery Scenario Post-Recovery Test Run Options Screen Name and Description Screen Completing the Recovery Scenario Wizard Screen Saving the Recovery Scenario in a Recovery File Managing Recovery Scenarios