SlideShare a Scribd company logo
For QTP Scripts & QTP Documents visit: www.gcreddy.com



      QuickTest Window / Key Elements of QTP

1) Test Pane
2) Active Screen
3) Data Table
4) Debug viewer
5) Information pane
6) Missing Resources pane
7) QTP commands



                      III) Object Repository
1) Software objects
2) Types of object in QTP
      a) Runtime Objects
      b) Test Objects
      c) Utility Objects
      d) Automation Objects
3) Object Repository
      a) Local Repository
      b) Shared Repository
4) Operations on Object Repository
      a) Adding Objects
      b) Renaming Objects
      c) Deleting Objects
      d) Associating Object Repositories to an Action
      e) Exporting Local Objects
      f) Merging Repositories
      g) View Options
      h) Spying Objects
      i)   Importing and Exporting Repositories using XML



                    IV) QTP Testing Process
1) Planning

For QTP Scripts & QTP Documents visit: www.gcreddy.com 1
For QTP Scripts & QTP Documents visit: www.gcreddy.com

     a) Analyzing the AUT
     b) Implementing Automation Framework
     c) Creating/Selecting Test cases
     d) Collecting Test Data
     e) Object Identification Configuration
         i.      Normal Identification
                    1. Mandatory Properties
                    2. Assertive Properties
        ii.      Smart Identification
                   1. Base filter Properties
                   2. Option filter properties
       iii.      Ordinal Identifier
       iv.       Making Tool Settings Global
2) Generating the basic Test
     a) Recording
        i.      Normal Recording
       ii.      Analog Recording
      iii.      Low Level Recording
      iv.       Record and Run Settings
     b) Keyword driven methodology/Shared object repository
             method/Preparing the script manually
     c) Descriptive programming/Programmatic Descriptions
        i.      Entering Programmatic Descriptions Directly into Statements
       ii.      Using Description Objects for Programmatic Descriptions
      iii.      Retrieving Child Objects
      iv.       Using the Index Property in Programmatic Descriptions
       v.       Creating Checkpoints Programmatically
3) Enhancing the Test
     a) Inserting Check points
        i.      Standard Checkpoint
       ii.      Text Checkpoint
      iii.      Text Area Checkpoint
      iv.       Bitmap Checkpoint
       v.       Database Checkpoint
      vi.       Accessibility Checkpoint
      vii.      XML Checkpoint (From Application)

For QTP Scripts & QTP Documents visit: www.gcreddy.com 2
For QTP Scripts & QTP Documents visit: www.gcreddy.com

     viii.    XML Checkpoint (From Resource)
      ix.     Page Checkpoint
       x.     Image Checkpoint
      xi.     Table Checkpoint
     b) Inserting Output values
        i.    Standard Output value
       ii.    Text Output value
      iii.    Text Area Output value
      iv.     Database Output value
       v.     XML Output value (From Resource)
     c) Adding Comments
     d) Synchronization
        i.    Inserting Wait Statement
       ii.    Inserting Synchronization Point
      iii.    Increasing Tool Default Synchronization Time
      iv.     Sync method (only for web)
       v.     Selecting appropriate method
     e) Parameterization
        i.    Data Driven Testing through Loop statements
       ii.    Dynamic Test Data Submission through Looping
      iii.    Data Driven Testing through Data Table
      iv.     Importing Test Data from External files
       v.     Creating a Database, Tables and Entering Data
      vi.     Creating DSN
     vii.     Importing Test Data from Databases
     f) Inserting Programmatic statements
         i.   Inserting Conditional Statements
        ii.   Inserting Loop statements
       iii.   Using VB Script Built-in Functions
     g) Generating steps through Step Generator
     h) Inserting Transaction points
        i.    Start Transaction
       ii.    End Transaction
     i) Enhancing Tests with the windows API
4) Debugging the Test


For QTP Scripts & QTP Documents visit: www.gcreddy.com 3
For QTP Scripts & QTP Documents visit: www.gcreddy.com

     a) Debug Commands
        i.    Step Into
       ii.    Step Over
       iii.   Step Out
     b) Inserting/Removing Brake Points
     c) Watching variables
     d) Changing Variable values
5) Running the Test
     a) Normal execution
     b) Test Batch execution
        i.    Test batch formation
       ii.    Batch execution
       iii.   Partial Batch execution
6) Analyzing the Test Results
     a) Test Result Viewer
     b) Analyzing Test Results
     c) Exporting Test Results
     d) Test Results Deletion
7) Reporting Defects
     a) Manual Defect Reporting
     b) Tool based Defect Reporting
     c) Integration with Quality Center



                  V) QTP Advanced Features
1) Regular expressions
2) Environment Variables
   a) Built-in Variables
   b) User Defined Variables
   c) Defining, modifying and associating environment variables
3) Methods
     a) QTP Methods
     b) VB Script Methods
4) Actions
  a) Types of actions
        i.    Non-reusable Actions

For QTP Scripts & QTP Documents visit: www.gcreddy.com 4
For QTP Scripts & QTP Documents visit: www.gcreddy.com

        ii.    Re-Usable actions
        iii.   External Actions
  b) Creating an Action
  c) Splitting Actions
  d) Renaming an Action
  e) Deleting an Action
  f) Making an Reusable/Non-Reusable
  g) Calling an existing Action
  h) Copying an Actions
  i)   Action Parameters
5) Functions
  a) Preparing Procedures
  b) Associating Procedures to QTP tests
  c) Modifying Procedures
  d) Calling Procedures
6) Dynamic Handling of Object Repositories
  a) Loading Repositories directly through Utility Object
  b) Finding Repository Position
  c) Removing Repositories
7) Data Driven Testing through Scripting
  a) Importing Data from Flat files
  b) Importing Data from spread sheets
  c) Importing Data from Databases
         i.    Ms Access
        ii.    SQL Server
        iii.   Oracle
8) File System Operations
  a) File system Object
  b) Creating Files
  c) Reading Data
  d) Writing Data
  e) Creating Folders
  f) Creating Drives
9) Recovery Scenarios
  a) Trigger events


For QTP Scripts & QTP Documents visit: www.gcreddy.com 5
For QTP Scripts & QTP Documents visit: www.gcreddy.com

            i.    Pop-Up window
        ii.       Object State
        iii.      Test Run Error
       iv.        Application Crash
  b) Recovery Operations
      i.         Keyboard or Mouse Operation
     ii.         Close Application Process
     iii.        Function Call
     iv.         Restart Microsoft Windows
  c) Creating Recovery Scenarios
  d) Associating Recovery Scenarios
10)Virtual Object Configuration
  a) Virtual Object Manager
  b) Defining a Virtual Object
  c) Removing or Disabling Virtual Object Definitions
11)Test Automation Frameworks
  a) Automation Framework
  b) Record & Playback or Linear Framework
  c) Modular Driven framework
  d) Keyword Driven framework
  e) Hybrid driven Framework
12)Automation Object Model


                           VI) VB Script for QTP
1) Introduction
     a) Introducing VB Script
     b) Windows Script Host (WSH)
     c) Crating a script with Note pad
     d) Hosting Environments & Script engines
     e) Available Script engines
2) Comments
     a) Purpose of Comments
     b) Syntax
     c) Comment/Uncomment a block of statements
3) VB Script Variables

For QTP Scripts & QTP Documents visit: www.gcreddy.com 6
For QTP Scripts & QTP Documents visit: www.gcreddy.com

     a) Declaring Variables
     b) Option Explicit Statement
     c) Naming restrictions for Variables
     d) Scope of Variables
     e) Life time of Variables
     f) Assigning values to Variables
     g) Scalar Variables and Array Variables
     h) Dimensional Arrays
     i)   Dynamic Arrays
4) VB Script Data Types
     a) Variant Sub types
5) VB Script Operators
     a) Operator precedence
     b) Arithmetic Operators
     c) Comparison Operators
     d) Concatenation Operators
     e) Logical Operators
6) Input/Output Operations
     a) Inputbox Function
     b) Msgbox Function
7) Constants
     a) Creating Constants
     b) Using Constants
     c) Modifying Constants
8) Conditional Statements
     a) If…Then…Else Statement
     b) Select Case Statement
     c) Making Decisions Using If...Then...Else
     d) Running a Statement if a Condition is True (single statement)
     e) Running Statements if a Condition is True (multiple statements)
     f) Running Certain Statements if a Condition is True and Running Others
        if a Condition is False
     g) Deciding Between Several Alternatives
     h) Executing a certain block of statements when two / more conditions
        are True (Nested If...)
     i)   Making Decisions with Select Case

For QTP Scripts & QTP Documents visit: www.gcreddy.com 7
For QTP Scripts & QTP Documents visit: www.gcreddy.com

     j)   Other Examples
9) Looping Through Code
     a) Loop statements
     b) Do Loops
     c) While…wend statement
     d) For…Next statement
     e) For Each…Next statement
10)Other Statements
11)Procedures
     a) Sub Procedures
     b) Function Procedures
     c) Getting Data into and out of procedures
     d) Using Sub and Function procedures in code
12)VB Script Built-in Functions
     a) Conversions
     b) Dates/Times
     c) Formatting Strings
     d) Input/Output
     e) Math
     f) Miscellaneous
     g) Rounding
     h) Strings
     i)   Variants
13)Methods
14)Objects
     a) ADODB connection
     b) Dictionary
     c) Excel Application
     d) File system Object
     e) Network
     f) Shell
     g) Word Application
     h) XML Document
15)Classes
16)Keywords

For QTP Scripts & QTP Documents visit: www.gcreddy.com 8
For QTP Scripts & QTP Documents visit: www.gcreddy.com

17)Errors
     a) VB Script Runtime Errors
     b) VB script Syntax Errors
18)VBScript syntax rules and guidelines




For QTP Scripts & QTP Documents visit: www.gcreddy.com 9

More Related Content

Viewers also liked

Au Psy492 M7 A3 Flick L.
Au Psy492 M7 A3 Flick L.Au Psy492 M7 A3 Flick L.
Au Psy492 M7 A3 Flick L.
Lori Flick
 
Cleaning - Nettoyage
Cleaning - NettoyageCleaning - Nettoyage
Cleaning - Nettoyage
Alapala Inc
 
New features in qtp11
New features in qtp11New features in qtp11
New features in qtp11
G.C Reddy
 
QTP 10 00 Guide
QTP 10 00 GuideQTP 10 00 Guide
QTP 10 00 Guide
G.C Reddy
 
File System Operations
File System OperationsFile System Operations
File System Operations
G.C Reddy
 
Object Repository
Object RepositoryObject Repository
Object RepositoryG.C Reddy
 

Viewers also liked (6)

Au Psy492 M7 A3 Flick L.
Au Psy492 M7 A3 Flick L.Au Psy492 M7 A3 Flick L.
Au Psy492 M7 A3 Flick L.
 
Cleaning - Nettoyage
Cleaning - NettoyageCleaning - Nettoyage
Cleaning - Nettoyage
 
New features in qtp11
New features in qtp11New features in qtp11
New features in qtp11
 
QTP 10 00 Guide
QTP 10 00 GuideQTP 10 00 Guide
QTP 10 00 Guide
 
File System Operations
File System OperationsFile System Operations
File System Operations
 
Object Repository
Object RepositoryObject Repository
Object Repository
 

Similar to Qtp Summary

Qtp (basics to advanced)
Qtp (basics to advanced)Qtp (basics to advanced)
Qtp (basics to advanced)
G.C Reddy
 
Qtp 11 notes
Qtp 11 notesQtp 11 notes
Qtp 11 notes
Pragya Rastogi
 
QTP Training
QTP TrainingQTP Training
QTP Training
G.C Reddy
 
QTP Online Training
QTP Online Training QTP Online Training
QTP Online Training
G Chandra Reddy
 
Qtp training in hyderabad
Qtp training in hyderabadQtp training in hyderabad
Qtp training in hyderabad
G.C Reddy
 
Qtp certification questions
Qtp certification questionsQtp certification questions
Qtp certification questionsRamu Palanki
 
Perf test Eng interview preparation
Perf test Eng interview preparationPerf test Eng interview preparation
Perf test Eng interview preparation
pratik mohite
 
Python-for-DevOps-Learn-Ruthlessly-Effective-Automation-by-Noah-Gift_-Kennedy...
Python-for-DevOps-Learn-Ruthlessly-Effective-Automation-by-Noah-Gift_-Kennedy...Python-for-DevOps-Learn-Ruthlessly-Effective-Automation-by-Noah-Gift_-Kennedy...
Python-for-DevOps-Learn-Ruthlessly-Effective-Automation-by-Noah-Gift_-Kennedy...
MinhTrnNht7
 
Yogesh kumar kushwah represent’s
Yogesh kumar kushwah represent’sYogesh kumar kushwah represent’s
Yogesh kumar kushwah represent’sYogesh Kushwah
 
Manual testing
Manual testingManual testing
Manual testing
G C Reddy Technologies
 
Prueba de conociemientos Fullsctack NET v2.docx
Prueba de conociemientos  Fullsctack NET v2.docxPrueba de conociemientos  Fullsctack NET v2.docx
Prueba de conociemientos Fullsctack NET v2.docx
jairatuesta
 
Qtp syllabus
Qtp syllabus Qtp syllabus
Qtp syllabus
Rohit Chintu
 
Inside Azure Diagnostics
Inside Azure DiagnosticsInside Azure Diagnostics
Inside Azure Diagnostics
Michael Collier
 
Qtp test
Qtp testQtp test
Qtp test
G.C Reddy
 
Qtp sample certification questions and answers
Qtp sample certification questions and answersQtp sample certification questions and answers
Qtp sample certification questions and answersRamu Palanki
 
QTP AUTOMATION TESTING SYLLABUS
QTP AUTOMATION TESTING SYLLABUSQTP AUTOMATION TESTING SYLLABUS
QTP AUTOMATION TESTING SYLLABUS
SHPINE TECHNOLOGIES
 
Inside Azure Diagnostics (DevLink 2014)
Inside Azure Diagnostics (DevLink 2014)Inside Azure Diagnostics (DevLink 2014)
Inside Azure Diagnostics (DevLink 2014)
Michael Collier
 
Develop Maintainable Apps - edUiConf
Develop Maintainable Apps - edUiConfDevelop Maintainable Apps - edUiConf
Develop Maintainable Apps - edUiConf
Annyce Davis
 

Similar to Qtp Summary (20)

Qtp (basics to advanced)
Qtp (basics to advanced)Qtp (basics to advanced)
Qtp (basics to advanced)
 
Qtp 11 notes
Qtp 11 notesQtp 11 notes
Qtp 11 notes
 
QTP Training
QTP TrainingQTP Training
QTP Training
 
QTP Online Training
QTP Online Training QTP Online Training
QTP Online Training
 
Qtp training in hyderabad
Qtp training in hyderabadQtp training in hyderabad
Qtp training in hyderabad
 
Qtp certification questions
Qtp certification questionsQtp certification questions
Qtp certification questions
 
Perf test Eng interview preparation
Perf test Eng interview preparationPerf test Eng interview preparation
Perf test Eng interview preparation
 
Python-for-DevOps-Learn-Ruthlessly-Effective-Automation-by-Noah-Gift_-Kennedy...
Python-for-DevOps-Learn-Ruthlessly-Effective-Automation-by-Noah-Gift_-Kennedy...Python-for-DevOps-Learn-Ruthlessly-Effective-Automation-by-Noah-Gift_-Kennedy...
Python-for-DevOps-Learn-Ruthlessly-Effective-Automation-by-Noah-Gift_-Kennedy...
 
Qtp questions
Qtp questionsQtp questions
Qtp questions
 
Yogesh kumar kushwah represent’s
Yogesh kumar kushwah represent’sYogesh kumar kushwah represent’s
Yogesh kumar kushwah represent’s
 
Manual testing
Manual testingManual testing
Manual testing
 
Prueba de conociemientos Fullsctack NET v2.docx
Prueba de conociemientos  Fullsctack NET v2.docxPrueba de conociemientos  Fullsctack NET v2.docx
Prueba de conociemientos Fullsctack NET v2.docx
 
Qtp syllabus
Qtp syllabus Qtp syllabus
Qtp syllabus
 
java Developing using asp.net
java Developing using asp.netjava Developing using asp.net
java Developing using asp.net
 
Inside Azure Diagnostics
Inside Azure DiagnosticsInside Azure Diagnostics
Inside Azure Diagnostics
 
Qtp test
Qtp testQtp test
Qtp test
 
Qtp sample certification questions and answers
Qtp sample certification questions and answersQtp sample certification questions and answers
Qtp sample certification questions and answers
 
QTP AUTOMATION TESTING SYLLABUS
QTP AUTOMATION TESTING SYLLABUSQTP AUTOMATION TESTING SYLLABUS
QTP AUTOMATION TESTING SYLLABUS
 
Inside Azure Diagnostics (DevLink 2014)
Inside Azure Diagnostics (DevLink 2014)Inside Azure Diagnostics (DevLink 2014)
Inside Azure Diagnostics (DevLink 2014)
 
Develop Maintainable Apps - edUiConf
Develop Maintainable Apps - edUiConfDevelop Maintainable Apps - edUiConf
Develop Maintainable Apps - edUiConf
 

More from G.C Reddy

Html
HtmlHtml
Html
G.C Reddy
 
Functions
FunctionsFunctions
Functions
G.C Reddy
 
Software+struc+doc
Software+struc+docSoftware+struc+doc
Software+struc+docG.C Reddy
 
Qtp (advanced)
Qtp (advanced)Qtp (advanced)
Qtp (advanced)G.C Reddy
 
Qtp commands
Qtp commandsQtp commands
Qtp commandsG.C Reddy
 
Advanced Qtp Book
Advanced Qtp BookAdvanced Qtp Book
Advanced Qtp Book
G.C Reddy
 
Qtp Scripts
Qtp ScriptsQtp Scripts
Qtp Scripts
G.C Reddy
 
Manual Testing
Manual TestingManual Testing
Manual Testing
G.C Reddy
 
Qtp Faq
Qtp FaqQtp Faq
Qtp Faq
G.C Reddy
 
Qtp Scripts
Qtp ScriptsQtp Scripts
Qtp Scripts
G.C Reddy
 
Web Dictionary
Web DictionaryWeb Dictionary
Web Dictionary
G.C Reddy
 

More from G.C Reddy (11)

Html
HtmlHtml
Html
 
Functions
FunctionsFunctions
Functions
 
Software+struc+doc
Software+struc+docSoftware+struc+doc
Software+struc+doc
 
Qtp (advanced)
Qtp (advanced)Qtp (advanced)
Qtp (advanced)
 
Qtp commands
Qtp commandsQtp commands
Qtp commands
 
Advanced Qtp Book
Advanced Qtp BookAdvanced Qtp Book
Advanced Qtp Book
 
Qtp Scripts
Qtp ScriptsQtp Scripts
Qtp Scripts
 
Manual Testing
Manual TestingManual Testing
Manual Testing
 
Qtp Faq
Qtp FaqQtp Faq
Qtp Faq
 
Qtp Scripts
Qtp ScriptsQtp Scripts
Qtp Scripts
 
Web Dictionary
Web DictionaryWeb Dictionary
Web Dictionary
 

Recently uploaded

Essentials of Automations: Optimizing FME Workflows with Parameters
Essentials of Automations: Optimizing FME Workflows with ParametersEssentials of Automations: Optimizing FME Workflows with Parameters
Essentials of Automations: Optimizing FME Workflows with Parameters
Safe Software
 
Bits & Pixels using AI for Good.........
Bits & Pixels using AI for Good.........Bits & Pixels using AI for Good.........
Bits & Pixels using AI for Good.........
Alison B. Lowndes
 
DevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA ConnectDevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA Connect
Kari Kakkonen
 
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
Product School
 
Neuro-symbolic is not enough, we need neuro-*semantic*
Neuro-symbolic is not enough, we need neuro-*semantic*Neuro-symbolic is not enough, we need neuro-*semantic*
Neuro-symbolic is not enough, we need neuro-*semantic*
Frank van Harmelen
 
When stars align: studies in data quality, knowledge graphs, and machine lear...
When stars align: studies in data quality, knowledge graphs, and machine lear...When stars align: studies in data quality, knowledge graphs, and machine lear...
When stars align: studies in data quality, knowledge graphs, and machine lear...
Elena Simperl
 
Key Trends Shaping the Future of Infrastructure.pdf
Key Trends Shaping the Future of Infrastructure.pdfKey Trends Shaping the Future of Infrastructure.pdf
Key Trends Shaping the Future of Infrastructure.pdf
Cheryl Hung
 
"Impact of front-end architecture on development cost", Viktor Turskyi
"Impact of front-end architecture on development cost", Viktor Turskyi"Impact of front-end architecture on development cost", Viktor Turskyi
"Impact of front-end architecture on development cost", Viktor Turskyi
Fwdays
 
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
Jeffrey Haguewood
 
Accelerate your Kubernetes clusters with Varnish Caching
Accelerate your Kubernetes clusters with Varnish CachingAccelerate your Kubernetes clusters with Varnish Caching
Accelerate your Kubernetes clusters with Varnish Caching
Thijs Feryn
 
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
Product School
 
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdfSmart TV Buyer Insights Survey 2024 by 91mobiles.pdf
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf
91mobiles
 
FIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance Osaka Seminar: Overview.pdfFIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance
 
Search and Society: Reimagining Information Access for Radical Futures
Search and Society: Reimagining Information Access for Radical FuturesSearch and Society: Reimagining Information Access for Radical Futures
Search and Society: Reimagining Information Access for Radical Futures
Bhaskar Mitra
 
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
DanBrown980551
 
How world-class product teams are winning in the AI era by CEO and Founder, P...
How world-class product teams are winning in the AI era by CEO and Founder, P...How world-class product teams are winning in the AI era by CEO and Founder, P...
How world-class product teams are winning in the AI era by CEO and Founder, P...
Product School
 
IOS-PENTESTING-BEGINNERS-PRACTICAL-GUIDE-.pptx
IOS-PENTESTING-BEGINNERS-PRACTICAL-GUIDE-.pptxIOS-PENTESTING-BEGINNERS-PRACTICAL-GUIDE-.pptx
IOS-PENTESTING-BEGINNERS-PRACTICAL-GUIDE-.pptx
Abida Shariff
 
Assuring Contact Center Experiences for Your Customers With ThousandEyes
Assuring Contact Center Experiences for Your Customers With ThousandEyesAssuring Contact Center Experiences for Your Customers With ThousandEyes
Assuring Contact Center Experiences for Your Customers With ThousandEyes
ThousandEyes
 
The Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and SalesThe Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and Sales
Laura Byrne
 
Connector Corner: Automate dynamic content and events by pushing a button
Connector Corner: Automate dynamic content and events by pushing a buttonConnector Corner: Automate dynamic content and events by pushing a button
Connector Corner: Automate dynamic content and events by pushing a button
DianaGray10
 

Recently uploaded (20)

Essentials of Automations: Optimizing FME Workflows with Parameters
Essentials of Automations: Optimizing FME Workflows with ParametersEssentials of Automations: Optimizing FME Workflows with Parameters
Essentials of Automations: Optimizing FME Workflows with Parameters
 
Bits & Pixels using AI for Good.........
Bits & Pixels using AI for Good.........Bits & Pixels using AI for Good.........
Bits & Pixels using AI for Good.........
 
DevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA ConnectDevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA Connect
 
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
 
Neuro-symbolic is not enough, we need neuro-*semantic*
Neuro-symbolic is not enough, we need neuro-*semantic*Neuro-symbolic is not enough, we need neuro-*semantic*
Neuro-symbolic is not enough, we need neuro-*semantic*
 
When stars align: studies in data quality, knowledge graphs, and machine lear...
When stars align: studies in data quality, knowledge graphs, and machine lear...When stars align: studies in data quality, knowledge graphs, and machine lear...
When stars align: studies in data quality, knowledge graphs, and machine lear...
 
Key Trends Shaping the Future of Infrastructure.pdf
Key Trends Shaping the Future of Infrastructure.pdfKey Trends Shaping the Future of Infrastructure.pdf
Key Trends Shaping the Future of Infrastructure.pdf
 
"Impact of front-end architecture on development cost", Viktor Turskyi
"Impact of front-end architecture on development cost", Viktor Turskyi"Impact of front-end architecture on development cost", Viktor Turskyi
"Impact of front-end architecture on development cost", Viktor Turskyi
 
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
 
Accelerate your Kubernetes clusters with Varnish Caching
Accelerate your Kubernetes clusters with Varnish CachingAccelerate your Kubernetes clusters with Varnish Caching
Accelerate your Kubernetes clusters with Varnish Caching
 
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
 
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdfSmart TV Buyer Insights Survey 2024 by 91mobiles.pdf
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf
 
FIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance Osaka Seminar: Overview.pdfFIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance Osaka Seminar: Overview.pdf
 
Search and Society: Reimagining Information Access for Radical Futures
Search and Society: Reimagining Information Access for Radical FuturesSearch and Society: Reimagining Information Access for Radical Futures
Search and Society: Reimagining Information Access for Radical Futures
 
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
 
How world-class product teams are winning in the AI era by CEO and Founder, P...
How world-class product teams are winning in the AI era by CEO and Founder, P...How world-class product teams are winning in the AI era by CEO and Founder, P...
How world-class product teams are winning in the AI era by CEO and Founder, P...
 
IOS-PENTESTING-BEGINNERS-PRACTICAL-GUIDE-.pptx
IOS-PENTESTING-BEGINNERS-PRACTICAL-GUIDE-.pptxIOS-PENTESTING-BEGINNERS-PRACTICAL-GUIDE-.pptx
IOS-PENTESTING-BEGINNERS-PRACTICAL-GUIDE-.pptx
 
Assuring Contact Center Experiences for Your Customers With ThousandEyes
Assuring Contact Center Experiences for Your Customers With ThousandEyesAssuring Contact Center Experiences for Your Customers With ThousandEyes
Assuring Contact Center Experiences for Your Customers With ThousandEyes
 
The Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and SalesThe Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and Sales
 
Connector Corner: Automate dynamic content and events by pushing a button
Connector Corner: Automate dynamic content and events by pushing a buttonConnector Corner: Automate dynamic content and events by pushing a button
Connector Corner: Automate dynamic content and events by pushing a button
 

Qtp Summary

  • 1. For QTP Scripts & QTP Documents visit: www.gcreddy.com QuickTest Window / Key Elements of QTP 1) Test Pane 2) Active Screen 3) Data Table 4) Debug viewer 5) Information pane 6) Missing Resources pane 7) QTP commands III) Object Repository 1) Software objects 2) Types of object in QTP a) Runtime Objects b) Test Objects c) Utility Objects d) Automation Objects 3) Object Repository a) Local Repository b) Shared Repository 4) Operations on Object Repository a) Adding Objects b) Renaming Objects c) Deleting Objects d) Associating Object Repositories to an Action e) Exporting Local Objects f) Merging Repositories g) View Options h) Spying Objects i) Importing and Exporting Repositories using XML IV) QTP Testing Process 1) Planning For QTP Scripts & QTP Documents visit: www.gcreddy.com 1
  • 2. For QTP Scripts & QTP Documents visit: www.gcreddy.com a) Analyzing the AUT b) Implementing Automation Framework c) Creating/Selecting Test cases d) Collecting Test Data e) Object Identification Configuration i. Normal Identification 1. Mandatory Properties 2. Assertive Properties ii. Smart Identification 1. Base filter Properties 2. Option filter properties iii. Ordinal Identifier iv. Making Tool Settings Global 2) Generating the basic Test a) Recording i. Normal Recording ii. Analog Recording iii. Low Level Recording iv. Record and Run Settings b) Keyword driven methodology/Shared object repository method/Preparing the script manually c) Descriptive programming/Programmatic Descriptions i. Entering Programmatic Descriptions Directly into Statements ii. Using Description Objects for Programmatic Descriptions iii. Retrieving Child Objects iv. Using the Index Property in Programmatic Descriptions v. Creating Checkpoints Programmatically 3) Enhancing the Test a) Inserting Check points i. Standard Checkpoint ii. Text Checkpoint iii. Text Area Checkpoint iv. Bitmap Checkpoint v. Database Checkpoint vi. Accessibility Checkpoint vii. XML Checkpoint (From Application) For QTP Scripts & QTP Documents visit: www.gcreddy.com 2
  • 3. For QTP Scripts & QTP Documents visit: www.gcreddy.com viii. XML Checkpoint (From Resource) ix. Page Checkpoint x. Image Checkpoint xi. Table Checkpoint b) Inserting Output values i. Standard Output value ii. Text Output value iii. Text Area Output value iv. Database Output value v. XML Output value (From Resource) c) Adding Comments d) Synchronization i. Inserting Wait Statement ii. Inserting Synchronization Point iii. Increasing Tool Default Synchronization Time iv. Sync method (only for web) v. Selecting appropriate method e) Parameterization i. Data Driven Testing through Loop statements ii. Dynamic Test Data Submission through Looping iii. Data Driven Testing through Data Table iv. Importing Test Data from External files v. Creating a Database, Tables and Entering Data vi. Creating DSN vii. Importing Test Data from Databases f) Inserting Programmatic statements i. Inserting Conditional Statements ii. Inserting Loop statements iii. Using VB Script Built-in Functions g) Generating steps through Step Generator h) Inserting Transaction points i. Start Transaction ii. End Transaction i) Enhancing Tests with the windows API 4) Debugging the Test For QTP Scripts & QTP Documents visit: www.gcreddy.com 3
  • 4. For QTP Scripts & QTP Documents visit: www.gcreddy.com a) Debug Commands i. Step Into ii. Step Over iii. Step Out b) Inserting/Removing Brake Points c) Watching variables d) Changing Variable values 5) Running the Test a) Normal execution b) Test Batch execution i. Test batch formation ii. Batch execution iii. Partial Batch execution 6) Analyzing the Test Results a) Test Result Viewer b) Analyzing Test Results c) Exporting Test Results d) Test Results Deletion 7) Reporting Defects a) Manual Defect Reporting b) Tool based Defect Reporting c) Integration with Quality Center V) QTP Advanced Features 1) Regular expressions 2) Environment Variables a) Built-in Variables b) User Defined Variables c) Defining, modifying and associating environment variables 3) Methods a) QTP Methods b) VB Script Methods 4) Actions a) Types of actions i. Non-reusable Actions For QTP Scripts & QTP Documents visit: www.gcreddy.com 4
  • 5. For QTP Scripts & QTP Documents visit: www.gcreddy.com ii. Re-Usable actions iii. External Actions b) Creating an Action c) Splitting Actions d) Renaming an Action e) Deleting an Action f) Making an Reusable/Non-Reusable g) Calling an existing Action h) Copying an Actions i) Action Parameters 5) Functions a) Preparing Procedures b) Associating Procedures to QTP tests c) Modifying Procedures d) Calling Procedures 6) Dynamic Handling of Object Repositories a) Loading Repositories directly through Utility Object b) Finding Repository Position c) Removing Repositories 7) Data Driven Testing through Scripting a) Importing Data from Flat files b) Importing Data from spread sheets c) Importing Data from Databases i. Ms Access ii. SQL Server iii. Oracle 8) File System Operations a) File system Object b) Creating Files c) Reading Data d) Writing Data e) Creating Folders f) Creating Drives 9) Recovery Scenarios a) Trigger events For QTP Scripts & QTP Documents visit: www.gcreddy.com 5
  • 6. For QTP Scripts & QTP Documents visit: www.gcreddy.com i. Pop-Up window ii. Object State iii. Test Run Error iv. Application Crash b) Recovery Operations i. Keyboard or Mouse Operation ii. Close Application Process iii. Function Call iv. Restart Microsoft Windows c) Creating Recovery Scenarios d) Associating Recovery Scenarios 10)Virtual Object Configuration a) Virtual Object Manager b) Defining a Virtual Object c) Removing or Disabling Virtual Object Definitions 11)Test Automation Frameworks a) Automation Framework b) Record & Playback or Linear Framework c) Modular Driven framework d) Keyword Driven framework e) Hybrid driven Framework 12)Automation Object Model VI) VB Script for QTP 1) Introduction a) Introducing VB Script b) Windows Script Host (WSH) c) Crating a script with Note pad d) Hosting Environments & Script engines e) Available Script engines 2) Comments a) Purpose of Comments b) Syntax c) Comment/Uncomment a block of statements 3) VB Script Variables For QTP Scripts & QTP Documents visit: www.gcreddy.com 6
  • 7. For QTP Scripts & QTP Documents visit: www.gcreddy.com a) Declaring Variables b) Option Explicit Statement c) Naming restrictions for Variables d) Scope of Variables e) Life time of Variables f) Assigning values to Variables g) Scalar Variables and Array Variables h) Dimensional Arrays i) Dynamic Arrays 4) VB Script Data Types a) Variant Sub types 5) VB Script Operators a) Operator precedence b) Arithmetic Operators c) Comparison Operators d) Concatenation Operators e) Logical Operators 6) Input/Output Operations a) Inputbox Function b) Msgbox Function 7) Constants a) Creating Constants b) Using Constants c) Modifying Constants 8) Conditional Statements a) If…Then…Else Statement b) Select Case Statement c) Making Decisions Using If...Then...Else d) Running a Statement if a Condition is True (single statement) e) Running Statements if a Condition is True (multiple statements) f) Running Certain Statements if a Condition is True and Running Others if a Condition is False g) Deciding Between Several Alternatives h) Executing a certain block of statements when two / more conditions are True (Nested If...) i) Making Decisions with Select Case For QTP Scripts & QTP Documents visit: www.gcreddy.com 7
  • 8. For QTP Scripts & QTP Documents visit: www.gcreddy.com j) Other Examples 9) Looping Through Code a) Loop statements b) Do Loops c) While…wend statement d) For…Next statement e) For Each…Next statement 10)Other Statements 11)Procedures a) Sub Procedures b) Function Procedures c) Getting Data into and out of procedures d) Using Sub and Function procedures in code 12)VB Script Built-in Functions a) Conversions b) Dates/Times c) Formatting Strings d) Input/Output e) Math f) Miscellaneous g) Rounding h) Strings i) Variants 13)Methods 14)Objects a) ADODB connection b) Dictionary c) Excel Application d) File system Object e) Network f) Shell g) Word Application h) XML Document 15)Classes 16)Keywords For QTP Scripts & QTP Documents visit: www.gcreddy.com 8
  • 9. For QTP Scripts & QTP Documents visit: www.gcreddy.com 17)Errors a) VB Script Runtime Errors b) VB script Syntax Errors 18)VBScript syntax rules and guidelines For QTP Scripts & QTP Documents visit: www.gcreddy.com 9