SlideShare une entreprise Scribd logo
1  sur  13
gcreddy@gcreddy.com



  QuickTest Professional 10.00
                       (In Scripting Orientation)
Duration: 40 Hours (Weekly 10 Hours, One Month)


Prerequisites:
a) Software Testing Principles & Practices

b) QTP Basics

c) Programming Fundamentals

d) Database Fundamentals

*******************************************************************

           Session 1-Introduction & QTP Test Process
-----------------------------------------------------------------------------

   o   Overview on Test Automation & Types of Test Tool
           Drawbacks of Manual Testing
           Advantages of Test Automation
           Drawbacks of Test Automation
           Types of Test Tool (Business Classification)
           Types of Test Tool (Technical Classification)


   o   Basic Features of QTP
           Supporting Environments
           Version History
           Types of License
           Built-in features
           Integrated Tools (from HP)
           Integrated Tools (Others)


   o   QTP Test Process
           Planning
           Generating Basic Tests



                                  www.gcreddy.com                               1
gcreddy@gcreddy.com

             Enhancing Tests
             Debugging Tests
             Running Tests
             Analyzing Test Results
             Reporting Defects


    Session 2-Key Elements of QTP, Recording &
    Running
    ------------------------------------------------------------------------------
o   Key Elements of QTP
             Test Pane
             Active Screen
             Data Table
             Debug Viewer
             Missing Resources
             Information
             QTP Commands
o   Recording & Running Tests
             Recording Process
             Running Process
             Recording Modes
             Advantages of Recording
             Drawbacks of Recording


                          Session 3- Object Repository
    ------------------------------------------------------------
       Software objects
       Types of object in QTP
             Runtime Objects
             Test Objects
             Utility Objects
             Automation Objects


       Object Repository
             Local Repository
             Shared Repository



                                   www.gcreddy.com                                   2
gcreddy@gcreddy.com



   Operations on Object Repository
          Adding Objects
          Renaming Objects
          Deleting Objects
          Associating Object Repositories to an Action
          Exporting Local Objects
          Merging Repositories
          View Options
          Spying Objects
          Importing and Exporting Repositories using XML
          Defining New Test Objects
      Keyword driven methodology
          Generating Tests Manually through Expert view
          Generating Steps through Keyword view
          Generating statements through Step Generator



       Session 4 Object Identification Configuration
Object Identification Configuration
      Normal Identification
      Mandatory Properties
      Assertive Properties
      Smart Identification
      Base filter Properties
      Option filter properties
      Ordinal Identifier
      Making Tool Settings Global
Virtual Object Configuration
      Virtual Object Manager
      Defining a Virtual Object
      Removing or Disabling Virtual Object Definitions
              Session 5 -Descriptive Programming
--------------------------------------------------------------------

Descriptive Programming




                                   www.gcreddy.com                            3
gcreddy@gcreddy.com

          Advantages of Descriptive Programming
          Static Programming
          Dynamic Programming
          Creating Library files using Constants /Collection objects
          Handling Dynamic Objects
          Handling duplicate Objects
          Retrieving Child Objects
Methods/Operations
(Activate Click, Close, dblclick, Set, SetSecure, Select, GetVisibleText, GetRoProperty,
GetContent, GetItemsCount, GetItem, Sync, Navigate, WaitProperty and Others…)


           Session 6-Checkpoints & Output Values
       Inserting Check points
          Standard Checkpoint
          Text Checkpoint
          Text Area Checkpoint
          Bitmap Checkpoint
          Database Checkpoint
          Accessibility Checkpoint
          XML Checkpoint (From Application)
          XML Checkpoint (From Resource)
          Page Checkpoint
          Image Checkpoint
          Table Checkpoint
       Inserting Output values
          Standard Output value
          Text Output value
          Text Area Output value
          Database Output value
          XML Output value (From Application)
          XML Output value (From Resource)


      Session 7-Parameterization, Synchronization
       Synchronization
          Inserting Wait Statement



                                  www.gcreddy.com                                          4
gcreddy@gcreddy.com

        Inserting Synchronization Point
        Increasing Tool Default Synchronization Time
        Sync method (only for web)
        Selecting appropriate method
    Parameterization
        Data Driven Testing through Loop statements
        Dynamic Test Data Submission through Looping
        Data Driven Testing through Data Table
        Importing Test Data from External files (Text and Excel Files)
        Creating a Database, Tables and Entering Data
        Creating DSN
        Importing Test Data from Databases
        Data Driven Testing using Data Table Methods
        Data Driven Testing by fetching the Test Data directly from a Text file
        Data Driven Testing by fetching the Test Data directly from an Excel file
        Data Driven Testing by fetching the Test Data directly from a Database


        Session 8- Actions, Environment Variables
Actions
   Types of actions
             Non-reusable Actions
             Re-Usable actions
             External Actions
   Creating an Action
   Splitting Actions
   Renaming an Action
   Deleting an Action
   Making an Reusable/Non-Reusable
   Calling an existing Action
   Copying an Actions
   Action Parameters


Environment Variables
    Built-in Variables
    User Defined Variables



                              www.gcreddy.com                                        5
gcreddy@gcreddy.com

       Defining, modifying and associating environment variables
       Loading Environment file during run-time


   Session 9 Transaction Points, Adding Comments

       Inserting Transaction Points
          Start Transaction & End Transaction
          Timer Function
          Defining Test Results
       Adding Comments
          Purpose of Comments
          Basic Syntax
          Comment a Block of Statements
          Uncomment a Block


       Session 10- Debugging Tests, Batch Testing
Debug Commands & Break Points
      Step Into
      Step Over
      Step Out
   o   Inserting/Removing Brake Points
   o   Watching variables
   o   Changing Variable values
Batch Testing
      Test Batch Runner
      Creating Test Batches
      Providing permission to Test Batch Runner
      Running Test Batches
      Running Partial Batches
Automation Object Model
Automating QuickTest Operations
   Session 11- Recovery Scenarios, Quality Center

   Recovery Scenarios
       Trigger events



                                   www.gcreddy.com                            6
gcreddy@gcreddy.com

               Pop-Up window
               Object State
               Test Run Error
               Application Crash
       Recovery Operations
              Keyboard or Mouse Operation
              Close Application Process
              Function Call
              Restart Microsoft Windows
       Creating Recovery Scenarios
       Associating Recovery Scenarios

Quality Center (Site Administration)

              Creating Domains/ Deleting domains
              Creating a project/ deleting a project
              Creating users
              Deleting users
              Assigning users to a project
              Tracking a project status


                       Session 12 –Quality Center
Quality Center

a) Requirements

Creating/Modifying/Deleting test requirements and child requirements

b) Test plan

Creating/Modifying/Viewing/Deleting manual as well as automated tests

Mapping requirements with test cases

Exporting Manual test cases to quality center project

Exporting QTP tests to quality center project

c) Test Lab

Creating folders



                                   www.gcreddy.com                            7
gcreddy@gcreddy.com

Forming test batches

Executing manual and automated tests

d) Defects

Posting defects

Tracking defects

Sending defects directly from QTP result window



                                       VB Script
              Session 13 –Introduction, Variables

VB Script Fundamentals & Features

   o   Scripting Languages vs. Programming Languages
   o   Basic Features of VBScript
   o   Hosting Environments & Script Engines
   o   Crating & Running a Script

Data Types, Variables

   o   VBScript data types
   o   Declaring Variables and Option Explicit Statement
   o   Assigning Values to Variables
   o   Scalar Variables and Array Variables
   o   Dynamic Arrays, Dimensional Arrays


       Session 14 –Comments, Constants, Operators
Comments
Constants
Operators
   o   Operator Precedence
   o   Arithmetic Operators
   o   Comparison Operators
   o   Concatenation Operators
   o   Logical Operators



                                 www.gcreddy.com                             8
gcreddy@gcreddy.com




Session 15 –Flow Control (Conditional Statements)
 o   VBScript Conditional Statements
 o   Running a statement if condition is true (Single line Syntax)
 o   Running a block of Statements if Condition is true
 o   Running Certain Statements if a Condition is True and Running Others if a Condition
     is False
 o   Deciding Among Several Alternatives (IF..Else If…)
 o   Executing a certain block of statements when two / more conditions are True (Nested
     If…)
 o   Deciding among several Alternatives (Select Case Statement)



Session16 –Flow Control (Looping through the
Code)
 o   Do…Loop (Loops while or until a condition is True.)
 o   While…Wend (Loops while a condition is True.)
 o   For…Next: Uses a counter to run statements a specified number of times.
 o   For Each…Next (Repeats a group of statements for each item in a collection or each
     element of an array.)
 o   Nested Loops


            Session 17 –User Defined Functions
 o   Types of Procedures
 o   Internal & External Functions
 o   Creating Library files
 o   Creating Sub Procedures
 o   Creating Function Procedures
 o   Associating Library files
 o   Loading Function Libraries run-time
 o   Generic Functions
 o   Project Specific Functions


                  Session 18–Built-In Functions
 o   Conversions (Cdbl. Cint etcc…)



                                 www.gcreddy.com                                           9
gcreddy@gcreddy.com

  o   Dates/Times (Date, Time, Now, IsDate, DateDiff, etc…)
  o   Formatting Strings
  o   Input/Output (InputBox and MsgBox)
  o   Math
  o   Miscellaneous
  o   Rounding
  o   Strings (Len, Left, Right, Mid Etc….)
  o   Arrays (Array, IsArray, Split etc..)
  o   Variants


             Session 19 –File System Operations
File System Operations
  o   Computer File System
  o   OS Distribution
  o   FileSystemObject

Examples:
  o   Create a Folder
  o   Check if the Folder Exist or not? If not create the Folder
  o   Copy a Folder
  o   Delete a folder
  o   Return a Collection of Disk Drives
  o   Get available space on a Drive
  o Creating a Text File
  o   Check if the File Exist or not? If not create the File
  o   Read Data Character by Character from a text file
  o   Read Line by Line from a Text File
  o   Data Driven Testing by fetching Test data directly from a Text file.
  o   Write Data to a Text File
  o   Delete a Text File
  o   Check if the File Exists or not? If Exists delete the File
  o   Calculate size of a Text File
  o   Compare Two Text File by Size, by Text and by Binary values
  o Count the number of times a word appears in a Text File
  o   Capture all Button Names and Export to a Text File


                                  www.gcreddy.com                                   10
gcreddy@gcreddy.com

   o   Capture Customer Names from 1 to 10 Orders in FR and export to a Text File


                  Session 20 –Excel Object Model
Excel Object Model:
Creating an Automation Object in Excel.Application class


Excel Scripting Examples:
   o   Create an Excel file, enter some data and save the file through VB script?
   o   Check if the Excel file exists or not, if exists open the file and enter some data, If not
       Exists create the file and enter some data and save the file through VB script?
   o   Data Driven Testing through an External Excel Sheet
   o   Data Driven Testing using Data Table methods
   o   Calculator Example using Data Table methods
   o   Open an Excel Spreadsheet
   o   Read an Excel Spreadsheet
   o   Add Formatted Data to a Spreadsheet
   o   Sort an Excel Spreadsheet on Three Different Columns
   o   Short an excel sheet column
   o   Add New Sheet to Excel File
   o   Rename Sheets in an Excel File (WorkBook)
   o   Add a Sheet to an Excel File (WorkBook) and change the Position




               Session 21–Database Object Model
   o   ActiveX Data Objects
   o   ADODB Connection Object & Recordset Object
   o   Test Database Creation & Collecting Test Data
   o   Databases Connections (Ms-Access, SQL Server and Oracle)
   o   Data Driven Testing by fetching Data from a Database
   o   Data Comparisons




                 Session 22 –Regular Expressions


                                 www.gcreddy.com                                               11
gcreddy@gcreddy.com

   Understanding & Using Regular Expressions
   Handling Dynamic Objects
   Using Regular Expressions in Checkpoints
   Defining Regular Expressions
   Search Operations
   Regular expressions in Recovery scenarios
   Regular Expression Object


                     Session 23–Error Handling
   Overview on Error Handling
   Error Handling Methods in QTP
   Synchronization
   Exist Property
   Exit Statement
   On Error Statement
   Recovery scenarios




                      Session 24 –GUI Scripting
   Handling GUI Objects
   Object State Verification
   Input Domain Coverage
   Output Domain Coverage
   GUI Script Examples




                     Session 25 –Web Scripting
   Checking Links
   Testing Forms
   Output Domain Coverage
   Cookies Testing
   Web Script Examples


    Session 26 –Introduction, Basic Framework
   Automation Framework, Types of Framework


                                www.gcreddy.com                    12
gcreddy@gcreddy.com

   Creating Folder Structure
   Creating & Storing Automation Resources
   Organizing & Managing Resources
   Generating Driver Scripts
   Generating Initialization Script (AOM Script)



           Session 27 –Data Driven Framework
   Test Data Collection
   Ways of Parameterization
   Data Driven Implementation Techniques
   Using Data Table Methods


       Session 28 –Keyword Driven Framework
   Keywords
   Keyword Driven Approach
   Creating Functions
   Creating Test Automation resources
   Creating Organizer Spread sheet
   Generating the Driver Script
   Generating the Initialization Script


               Session 29 –Hybrid Framework

   Hybrid Automation Framework
   Keyword Driven & Data Driven Test Approach
   Advantages of Hybrid Approach
   Organizing & Managing Resources




                              www.gcreddy.com                        13

Contenu connexe

Tendances

JUnit Kung Fu: Getting More Out of Your Unit Tests
JUnit Kung Fu: Getting More Out of Your Unit TestsJUnit Kung Fu: Getting More Out of Your Unit Tests
JUnit Kung Fu: Getting More Out of Your Unit TestsJohn Ferguson Smart Limited
 
Refactoring In Tdd The Missing Part
Refactoring In Tdd The Missing PartRefactoring In Tdd The Missing Part
Refactoring In Tdd The Missing PartGabriele Lana
 
JSR-303 Bean Validation API
JSR-303 Bean Validation APIJSR-303 Bean Validation API
JSR-303 Bean Validation APIHeiko Scherrer
 
Some useful tips with qtp
Some useful tips with qtpSome useful tips with qtp
Some useful tips with qtpSandeep
 
Recommending Method Invocation Context Changes
Recommending Method Invocation Context ChangesRecommending Method Invocation Context Changes
Recommending Method Invocation Context ChangesBeat Fluri
 
Qtp certification questions and answers
Qtp certification questions and answersQtp certification questions and answers
Qtp certification questions and answersRamu Palanki
 
Writing and using Hamcrest Matchers
Writing and using Hamcrest MatchersWriting and using Hamcrest Matchers
Writing and using Hamcrest MatchersShai Yallin
 
OSGi and Eclipse RCP
OSGi and Eclipse RCPOSGi and Eclipse RCP
OSGi and Eclipse RCPEric Jain
 
Redux for ReactJS Programmers
Redux for ReactJS ProgrammersRedux for ReactJS Programmers
Redux for ReactJS ProgrammersDavid Rodenas
 
Smarter Testing With Spock
Smarter Testing With SpockSmarter Testing With Spock
Smarter Testing With SpockIT Weekend
 
Testing Django Applications
Testing Django ApplicationsTesting Django Applications
Testing Django ApplicationsGareth Rushgrove
 
The Ring programming language version 1.5.4 book - Part 14 of 185
The Ring programming language version 1.5.4 book - Part 14 of 185The Ring programming language version 1.5.4 book - Part 14 of 185
The Ring programming language version 1.5.4 book - Part 14 of 185Mahmoud Samir Fayed
 
Introduction to web programming for java and c# programmers by @drpicox
Introduction to web programming for java and c# programmers by @drpicoxIntroduction to web programming for java and c# programmers by @drpicox
Introduction to web programming for java and c# programmers by @drpicoxDavid Rodenas
 
Spock: Test Well and Prosper
Spock: Test Well and ProsperSpock: Test Well and Prosper
Spock: Test Well and ProsperKen Kousen
 
Custom deployments with sbt-native-packager
Custom deployments with sbt-native-packagerCustom deployments with sbt-native-packager
Custom deployments with sbt-native-packagerGaryCoady
 
Conf soat tests_unitaires_Mockito_jUnit_170113
Conf soat tests_unitaires_Mockito_jUnit_170113Conf soat tests_unitaires_Mockito_jUnit_170113
Conf soat tests_unitaires_Mockito_jUnit_170113SOAT
 

Tendances (20)

JUnit Kung Fu: Getting More Out of Your Unit Tests
JUnit Kung Fu: Getting More Out of Your Unit TestsJUnit Kung Fu: Getting More Out of Your Unit Tests
JUnit Kung Fu: Getting More Out of Your Unit Tests
 
Refactoring In Tdd The Missing Part
Refactoring In Tdd The Missing PartRefactoring In Tdd The Missing Part
Refactoring In Tdd The Missing Part
 
JSR-303 Bean Validation API
JSR-303 Bean Validation APIJSR-303 Bean Validation API
JSR-303 Bean Validation API
 
Qtp 11 notes
Qtp 11 notesQtp 11 notes
Qtp 11 notes
 
Some useful tips with qtp
Some useful tips with qtpSome useful tips with qtp
Some useful tips with qtp
 
Recommending Method Invocation Context Changes
Recommending Method Invocation Context ChangesRecommending Method Invocation Context Changes
Recommending Method Invocation Context Changes
 
Qtp Summary
Qtp SummaryQtp Summary
Qtp Summary
 
Qtp certification questions and answers
Qtp certification questions and answersQtp certification questions and answers
Qtp certification questions and answers
 
Writing and using Hamcrest Matchers
Writing and using Hamcrest MatchersWriting and using Hamcrest Matchers
Writing and using Hamcrest Matchers
 
SOLID Principles
SOLID PrinciplesSOLID Principles
SOLID Principles
 
OSGi and Eclipse RCP
OSGi and Eclipse RCPOSGi and Eclipse RCP
OSGi and Eclipse RCP
 
JUnit Pioneer
JUnit PioneerJUnit Pioneer
JUnit Pioneer
 
Redux for ReactJS Programmers
Redux for ReactJS ProgrammersRedux for ReactJS Programmers
Redux for ReactJS Programmers
 
Smarter Testing With Spock
Smarter Testing With SpockSmarter Testing With Spock
Smarter Testing With Spock
 
Testing Django Applications
Testing Django ApplicationsTesting Django Applications
Testing Django Applications
 
The Ring programming language version 1.5.4 book - Part 14 of 185
The Ring programming language version 1.5.4 book - Part 14 of 185The Ring programming language version 1.5.4 book - Part 14 of 185
The Ring programming language version 1.5.4 book - Part 14 of 185
 
Introduction to web programming for java and c# programmers by @drpicox
Introduction to web programming for java and c# programmers by @drpicoxIntroduction to web programming for java and c# programmers by @drpicox
Introduction to web programming for java and c# programmers by @drpicox
 
Spock: Test Well and Prosper
Spock: Test Well and ProsperSpock: Test Well and Prosper
Spock: Test Well and Prosper
 
Custom deployments with sbt-native-packager
Custom deployments with sbt-native-packagerCustom deployments with sbt-native-packager
Custom deployments with sbt-native-packager
 
Conf soat tests_unitaires_Mockito_jUnit_170113
Conf soat tests_unitaires_Mockito_jUnit_170113Conf soat tests_unitaires_Mockito_jUnit_170113
Conf soat tests_unitaires_Mockito_jUnit_170113
 

Similaire à QTP Training

Testing tools concepts
Testing tools conceptsTesting tools concepts
Testing tools conceptsKrishna Gurjar
 
Qtp (basics to advanced)
Qtp (basics to advanced)Qtp (basics to advanced)
Qtp (basics to advanced)G.C Reddy
 
Hp quick test professional 10
Hp quick test professional 10Hp quick test professional 10
Hp quick test professional 10Sap Tao Bpt
 
Hp quick test professional 10
Hp quick test professional 10Hp quick test professional 10
Hp quick test professional 10Sap Tao Bpt
 
Advanced Qtp
Advanced QtpAdvanced Qtp
Advanced QtpG.C Reddy
 
Agile Open Source Performance Testing Workshop for Business Managers
Agile Open Source Performance Testing Workshop for Business ManagersAgile Open Source Performance Testing Workshop for Business Managers
Agile Open Source Performance Testing Workshop for Business ManagersClever Moe
 
HP Quick Test Professional
HP Quick Test ProfessionalHP Quick Test Professional
HP Quick Test ProfessionalVitaliy Ganzha
 
Agile Open Source Performance Test Workshop for Developers, Testers, IT Ops
Agile Open Source Performance Test Workshop for Developers, Testers, IT OpsAgile Open Source Performance Test Workshop for Developers, Testers, IT Ops
Agile Open Source Performance Test Workshop for Developers, Testers, IT OpsClever Moe
 
Qtp interview questions
Qtp interview questionsQtp interview questions
Qtp interview questionsRamu Palanki
 
Qtp interview questions
Qtp interview questionsQtp interview questions
Qtp interview questionsRamu Palanki
 
Qtp92 Presentation
Qtp92 PresentationQtp92 Presentation
Qtp92 Presentationa34sharm
 

Similaire à QTP Training (20)

Qtp
QtpQtp
Qtp
 
Testing tools concepts
Testing tools conceptsTesting tools concepts
Testing tools concepts
 
QTP AUTOMATION TESTING SYLLABUS
QTP AUTOMATION TESTING SYLLABUSQTP AUTOMATION TESTING SYLLABUS
QTP AUTOMATION TESTING SYLLABUS
 
Qtp
QtpQtp
Qtp
 
Qtp basic
Qtp basicQtp basic
Qtp basic
 
Qtp (basics to advanced)
Qtp (basics to advanced)Qtp (basics to advanced)
Qtp (basics to advanced)
 
Hp quick test professional 10
Hp quick test professional 10Hp quick test professional 10
Hp quick test professional 10
 
Hp quick test professional 10
Hp quick test professional 10Hp quick test professional 10
Hp quick test professional 10
 
Qtp Training
Qtp TrainingQtp Training
Qtp Training
 
Qtp syllabus
Qtp syllabus Qtp syllabus
Qtp syllabus
 
Advanced Qtp
Advanced QtpAdvanced Qtp
Advanced Qtp
 
Agile Open Source Performance Testing Workshop for Business Managers
Agile Open Source Performance Testing Workshop for Business ManagersAgile Open Source Performance Testing Workshop for Business Managers
Agile Open Source Performance Testing Workshop for Business Managers
 
HP Quick Test Professional
HP Quick Test ProfessionalHP Quick Test Professional
HP Quick Test Professional
 
Agile Open Source Performance Test Workshop for Developers, Testers, IT Ops
Agile Open Source Performance Test Workshop for Developers, Testers, IT OpsAgile Open Source Performance Test Workshop for Developers, Testers, IT Ops
Agile Open Source Performance Test Workshop for Developers, Testers, IT Ops
 
Qtp interview questions
Qtp interview questionsQtp interview questions
Qtp interview questions
 
Qtp interview questions
Qtp interview questionsQtp interview questions
Qtp interview questions
 
Complete contents
Complete contentsComplete contents
Complete contents
 
Sap testing
Sap testingSap testing
Sap testing
 
Automation Testing Syllabus - Checklist
Automation Testing Syllabus - ChecklistAutomation Testing Syllabus - Checklist
Automation Testing Syllabus - Checklist
 
Qtp92 Presentation
Qtp92 PresentationQtp92 Presentation
Qtp92 Presentation
 

Plus de G.C Reddy

New features in qtp11
New features in qtp11New features in qtp11
New features in qtp11G.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
 
Object Repository
Object RepositoryObject Repository
Object RepositoryG.C Reddy
 
Advanced Qtp Book
Advanced Qtp BookAdvanced Qtp Book
Advanced Qtp BookG.C Reddy
 
QTP 10 00 Guide
QTP 10 00 GuideQTP 10 00 Guide
QTP 10 00 GuideG.C Reddy
 
Manual Testing
Manual TestingManual Testing
Manual TestingG.C Reddy
 
File System Operations
File System OperationsFile System Operations
File System OperationsG.C Reddy
 
Web Dictionary
Web DictionaryWeb Dictionary
Web DictionaryG.C Reddy
 

Plus de G.C Reddy (14)

Html
HtmlHtml
Html
 
Functions
FunctionsFunctions
Functions
 
New features in qtp11
New features in qtp11New features in qtp11
New features in qtp11
 
Software+struc+doc
Software+struc+docSoftware+struc+doc
Software+struc+doc
 
Qtp (advanced)
Qtp (advanced)Qtp (advanced)
Qtp (advanced)
 
Object Repository
Object RepositoryObject Repository
Object Repository
 
Advanced Qtp Book
Advanced Qtp BookAdvanced Qtp Book
Advanced Qtp Book
 
QTP 10 00 Guide
QTP 10 00 GuideQTP 10 00 Guide
QTP 10 00 Guide
 
Qtp Scripts
Qtp ScriptsQtp Scripts
Qtp Scripts
 
Manual Testing
Manual TestingManual Testing
Manual Testing
 
File System Operations
File System OperationsFile System Operations
File System Operations
 
Qtp Faq
Qtp FaqQtp Faq
Qtp Faq
 
Qtp Scripts
Qtp ScriptsQtp Scripts
Qtp Scripts
 
Web Dictionary
Web DictionaryWeb Dictionary
Web Dictionary
 

Dernier

AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdf
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdfAMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdf
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdfphamnguyenenglishnb
 
Barangay Council for the Protection of Children (BCPC) Orientation.pptx
Barangay Council for the Protection of Children (BCPC) Orientation.pptxBarangay Council for the Protection of Children (BCPC) Orientation.pptx
Barangay Council for the Protection of Children (BCPC) Orientation.pptxCarlos105
 
ENGLISH6-Q4-W3.pptxqurter our high choom
ENGLISH6-Q4-W3.pptxqurter our high choomENGLISH6-Q4-W3.pptxqurter our high choom
ENGLISH6-Q4-W3.pptxqurter our high choomnelietumpap1
 
Gas measurement O2,Co2,& ph) 04/2024.pptx
Gas measurement O2,Co2,& ph) 04/2024.pptxGas measurement O2,Co2,& ph) 04/2024.pptx
Gas measurement O2,Co2,& ph) 04/2024.pptxDr.Ibrahim Hassaan
 
Earth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatEarth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatYousafMalik24
 
Procuring digital preservation CAN be quick and painless with our new dynamic...
Procuring digital preservation CAN be quick and painless with our new dynamic...Procuring digital preservation CAN be quick and painless with our new dynamic...
Procuring digital preservation CAN be quick and painless with our new dynamic...Jisc
 
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptxINTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptxHumphrey A Beña
 
Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17Celine George
 
Roles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in PharmacovigilanceRoles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in PharmacovigilanceSamikshaHamane
 
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdfLike-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdfMr Bounab Samir
 
Choosing the Right CBSE School A Comprehensive Guide for Parents
Choosing the Right CBSE School A Comprehensive Guide for ParentsChoosing the Right CBSE School A Comprehensive Guide for Parents
Choosing the Right CBSE School A Comprehensive Guide for Parentsnavabharathschool99
 
Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)Mark Reed
 
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxiammrhaywood
 
How to Add Barcode on PDF Report in Odoo 17
How to Add Barcode on PDF Report in Odoo 17How to Add Barcode on PDF Report in Odoo 17
How to Add Barcode on PDF Report in Odoo 17Celine George
 
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...Nguyen Thanh Tu Collection
 
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptxMULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptxAnupkumar Sharma
 
Judging the Relevance and worth of ideas part 2.pptx
Judging the Relevance  and worth of ideas part 2.pptxJudging the Relevance  and worth of ideas part 2.pptx
Judging the Relevance and worth of ideas part 2.pptxSherlyMaeNeri
 

Dernier (20)

AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdf
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdfAMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdf
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdf
 
Barangay Council for the Protection of Children (BCPC) Orientation.pptx
Barangay Council for the Protection of Children (BCPC) Orientation.pptxBarangay Council for the Protection of Children (BCPC) Orientation.pptx
Barangay Council for the Protection of Children (BCPC) Orientation.pptx
 
ENGLISH6-Q4-W3.pptxqurter our high choom
ENGLISH6-Q4-W3.pptxqurter our high choomENGLISH6-Q4-W3.pptxqurter our high choom
ENGLISH6-Q4-W3.pptxqurter our high choom
 
Gas measurement O2,Co2,& ph) 04/2024.pptx
Gas measurement O2,Co2,& ph) 04/2024.pptxGas measurement O2,Co2,& ph) 04/2024.pptx
Gas measurement O2,Co2,& ph) 04/2024.pptx
 
YOUVE_GOT_EMAIL_PRELIMS_EL_DORADO_2024.pptx
YOUVE_GOT_EMAIL_PRELIMS_EL_DORADO_2024.pptxYOUVE_GOT_EMAIL_PRELIMS_EL_DORADO_2024.pptx
YOUVE_GOT_EMAIL_PRELIMS_EL_DORADO_2024.pptx
 
Earth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatEarth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice great
 
Procuring digital preservation CAN be quick and painless with our new dynamic...
Procuring digital preservation CAN be quick and painless with our new dynamic...Procuring digital preservation CAN be quick and painless with our new dynamic...
Procuring digital preservation CAN be quick and painless with our new dynamic...
 
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptxINTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
 
Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17
 
Roles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in PharmacovigilanceRoles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in Pharmacovigilance
 
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdfLike-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
 
Choosing the Right CBSE School A Comprehensive Guide for Parents
Choosing the Right CBSE School A Comprehensive Guide for ParentsChoosing the Right CBSE School A Comprehensive Guide for Parents
Choosing the Right CBSE School A Comprehensive Guide for Parents
 
Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)
 
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
 
How to Add Barcode on PDF Report in Odoo 17
How to Add Barcode on PDF Report in Odoo 17How to Add Barcode on PDF Report in Odoo 17
How to Add Barcode on PDF Report in Odoo 17
 
Raw materials used in Herbal Cosmetics.pptx
Raw materials used in Herbal Cosmetics.pptxRaw materials used in Herbal Cosmetics.pptx
Raw materials used in Herbal Cosmetics.pptx
 
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
 
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
 
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptxMULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
 
Judging the Relevance and worth of ideas part 2.pptx
Judging the Relevance  and worth of ideas part 2.pptxJudging the Relevance  and worth of ideas part 2.pptx
Judging the Relevance and worth of ideas part 2.pptx
 

QTP Training

  • 1. gcreddy@gcreddy.com QuickTest Professional 10.00 (In Scripting Orientation) Duration: 40 Hours (Weekly 10 Hours, One Month) Prerequisites: a) Software Testing Principles & Practices b) QTP Basics c) Programming Fundamentals d) Database Fundamentals ******************************************************************* Session 1-Introduction & QTP Test Process ----------------------------------------------------------------------------- o Overview on Test Automation & Types of Test Tool  Drawbacks of Manual Testing  Advantages of Test Automation  Drawbacks of Test Automation  Types of Test Tool (Business Classification)  Types of Test Tool (Technical Classification) o Basic Features of QTP  Supporting Environments  Version History  Types of License  Built-in features  Integrated Tools (from HP)  Integrated Tools (Others) o QTP Test Process  Planning  Generating Basic Tests www.gcreddy.com 1
  • 2. gcreddy@gcreddy.com  Enhancing Tests  Debugging Tests  Running Tests  Analyzing Test Results  Reporting Defects Session 2-Key Elements of QTP, Recording & Running ------------------------------------------------------------------------------ o Key Elements of QTP  Test Pane  Active Screen  Data Table  Debug Viewer  Missing Resources  Information  QTP Commands o Recording & Running Tests  Recording Process  Running Process  Recording Modes  Advantages of Recording  Drawbacks of Recording Session 3- Object Repository ------------------------------------------------------------ Software objects Types of object in QTP  Runtime Objects  Test Objects  Utility Objects  Automation Objects Object Repository  Local Repository  Shared Repository www.gcreddy.com 2
  • 3. gcreddy@gcreddy.com Operations on Object Repository  Adding Objects  Renaming Objects  Deleting Objects  Associating Object Repositories to an Action  Exporting Local Objects  Merging Repositories  View Options  Spying Objects  Importing and Exporting Repositories using XML  Defining New Test Objects  Keyword driven methodology  Generating Tests Manually through Expert view  Generating Steps through Keyword view  Generating statements through Step Generator Session 4 Object Identification Configuration Object Identification Configuration  Normal Identification  Mandatory Properties  Assertive Properties  Smart Identification  Base filter Properties  Option filter properties  Ordinal Identifier  Making Tool Settings Global Virtual Object Configuration  Virtual Object Manager  Defining a Virtual Object  Removing or Disabling Virtual Object Definitions Session 5 -Descriptive Programming -------------------------------------------------------------------- Descriptive Programming www.gcreddy.com 3
  • 4. gcreddy@gcreddy.com  Advantages of Descriptive Programming  Static Programming  Dynamic Programming  Creating Library files using Constants /Collection objects  Handling Dynamic Objects  Handling duplicate Objects  Retrieving Child Objects Methods/Operations (Activate Click, Close, dblclick, Set, SetSecure, Select, GetVisibleText, GetRoProperty, GetContent, GetItemsCount, GetItem, Sync, Navigate, WaitProperty and Others…) Session 6-Checkpoints & Output Values Inserting Check points  Standard Checkpoint  Text Checkpoint  Text Area Checkpoint  Bitmap Checkpoint  Database Checkpoint  Accessibility Checkpoint  XML Checkpoint (From Application)  XML Checkpoint (From Resource)  Page Checkpoint  Image Checkpoint  Table Checkpoint Inserting Output values  Standard Output value  Text Output value  Text Area Output value  Database Output value  XML Output value (From Application)  XML Output value (From Resource) Session 7-Parameterization, Synchronization Synchronization  Inserting Wait Statement www.gcreddy.com 4
  • 5. gcreddy@gcreddy.com  Inserting Synchronization Point  Increasing Tool Default Synchronization Time  Sync method (only for web)  Selecting appropriate method Parameterization  Data Driven Testing through Loop statements  Dynamic Test Data Submission through Looping  Data Driven Testing through Data Table  Importing Test Data from External files (Text and Excel Files)  Creating a Database, Tables and Entering Data  Creating DSN  Importing Test Data from Databases  Data Driven Testing using Data Table Methods  Data Driven Testing by fetching the Test Data directly from a Text file  Data Driven Testing by fetching the Test Data directly from an Excel file  Data Driven Testing by fetching the Test Data directly from a Database Session 8- Actions, Environment Variables Actions  Types of actions  Non-reusable Actions  Re-Usable actions  External Actions  Creating an Action  Splitting Actions  Renaming an Action  Deleting an Action  Making an Reusable/Non-Reusable  Calling an existing Action  Copying an Actions  Action Parameters Environment Variables Built-in Variables User Defined Variables www.gcreddy.com 5
  • 6. gcreddy@gcreddy.com Defining, modifying and associating environment variables Loading Environment file during run-time Session 9 Transaction Points, Adding Comments Inserting Transaction Points  Start Transaction & End Transaction  Timer Function  Defining Test Results Adding Comments  Purpose of Comments  Basic Syntax  Comment a Block of Statements  Uncomment a Block Session 10- Debugging Tests, Batch Testing Debug Commands & Break Points  Step Into  Step Over  Step Out o Inserting/Removing Brake Points o Watching variables o Changing Variable values Batch Testing  Test Batch Runner  Creating Test Batches  Providing permission to Test Batch Runner  Running Test Batches  Running Partial Batches Automation Object Model Automating QuickTest Operations Session 11- Recovery Scenarios, Quality Center Recovery Scenarios Trigger events www.gcreddy.com 6
  • 7. gcreddy@gcreddy.com Pop-Up window Object State Test Run Error Application Crash Recovery Operations Keyboard or Mouse Operation Close Application Process Function Call Restart Microsoft Windows Creating Recovery Scenarios Associating Recovery Scenarios Quality Center (Site Administration)  Creating Domains/ Deleting domains  Creating a project/ deleting a project  Creating users  Deleting users  Assigning users to a project  Tracking a project status Session 12 –Quality Center Quality Center a) Requirements Creating/Modifying/Deleting test requirements and child requirements b) Test plan Creating/Modifying/Viewing/Deleting manual as well as automated tests Mapping requirements with test cases Exporting Manual test cases to quality center project Exporting QTP tests to quality center project c) Test Lab Creating folders www.gcreddy.com 7
  • 8. gcreddy@gcreddy.com Forming test batches Executing manual and automated tests d) Defects Posting defects Tracking defects Sending defects directly from QTP result window VB Script Session 13 –Introduction, Variables VB Script Fundamentals & Features o Scripting Languages vs. Programming Languages o Basic Features of VBScript o Hosting Environments & Script Engines o Crating & Running a Script Data Types, Variables o VBScript data types o Declaring Variables and Option Explicit Statement o Assigning Values to Variables o Scalar Variables and Array Variables o Dynamic Arrays, Dimensional Arrays Session 14 –Comments, Constants, Operators Comments Constants Operators o Operator Precedence o Arithmetic Operators o Comparison Operators o Concatenation Operators o Logical Operators www.gcreddy.com 8
  • 9. gcreddy@gcreddy.com Session 15 –Flow Control (Conditional Statements) o VBScript Conditional Statements o Running a statement if condition is true (Single line Syntax) o Running a block of Statements if Condition is true o Running Certain Statements if a Condition is True and Running Others if a Condition is False o Deciding Among Several Alternatives (IF..Else If…) o Executing a certain block of statements when two / more conditions are True (Nested If…) o Deciding among several Alternatives (Select Case Statement) Session16 –Flow Control (Looping through the Code) o Do…Loop (Loops while or until a condition is True.) o While…Wend (Loops while a condition is True.) o For…Next: Uses a counter to run statements a specified number of times. o For Each…Next (Repeats a group of statements for each item in a collection or each element of an array.) o Nested Loops Session 17 –User Defined Functions o Types of Procedures o Internal & External Functions o Creating Library files o Creating Sub Procedures o Creating Function Procedures o Associating Library files o Loading Function Libraries run-time o Generic Functions o Project Specific Functions Session 18–Built-In Functions o Conversions (Cdbl. Cint etcc…) www.gcreddy.com 9
  • 10. gcreddy@gcreddy.com o Dates/Times (Date, Time, Now, IsDate, DateDiff, etc…) o Formatting Strings o Input/Output (InputBox and MsgBox) o Math o Miscellaneous o Rounding o Strings (Len, Left, Right, Mid Etc….) o Arrays (Array, IsArray, Split etc..) o Variants Session 19 –File System Operations File System Operations o Computer File System o OS Distribution o FileSystemObject Examples: o Create a Folder o Check if the Folder Exist or not? If not create the Folder o Copy a Folder o Delete a folder o Return a Collection of Disk Drives o Get available space on a Drive o Creating a Text File o Check if the File Exist or not? If not create the File o Read Data Character by Character from a text file o Read Line by Line from a Text File o Data Driven Testing by fetching Test data directly from a Text file. o Write Data to a Text File o Delete a Text File o Check if the File Exists or not? If Exists delete the File o Calculate size of a Text File o Compare Two Text File by Size, by Text and by Binary values o Count the number of times a word appears in a Text File o Capture all Button Names and Export to a Text File www.gcreddy.com 10
  • 11. gcreddy@gcreddy.com o Capture Customer Names from 1 to 10 Orders in FR and export to a Text File Session 20 –Excel Object Model Excel Object Model: Creating an Automation Object in Excel.Application class Excel Scripting Examples: o Create an Excel file, enter some data and save the file through VB script? o Check if the Excel file exists or not, if exists open the file and enter some data, If not Exists create the file and enter some data and save the file through VB script? o Data Driven Testing through an External Excel Sheet o Data Driven Testing using Data Table methods o Calculator Example using Data Table methods o Open an Excel Spreadsheet o Read an Excel Spreadsheet o Add Formatted Data to a Spreadsheet o Sort an Excel Spreadsheet on Three Different Columns o Short an excel sheet column o Add New Sheet to Excel File o Rename Sheets in an Excel File (WorkBook) o Add a Sheet to an Excel File (WorkBook) and change the Position Session 21–Database Object Model o ActiveX Data Objects o ADODB Connection Object & Recordset Object o Test Database Creation & Collecting Test Data o Databases Connections (Ms-Access, SQL Server and Oracle) o Data Driven Testing by fetching Data from a Database o Data Comparisons Session 22 –Regular Expressions www.gcreddy.com 11
  • 12. gcreddy@gcreddy.com  Understanding & Using Regular Expressions  Handling Dynamic Objects  Using Regular Expressions in Checkpoints  Defining Regular Expressions  Search Operations  Regular expressions in Recovery scenarios  Regular Expression Object Session 23–Error Handling  Overview on Error Handling  Error Handling Methods in QTP  Synchronization  Exist Property  Exit Statement  On Error Statement  Recovery scenarios Session 24 –GUI Scripting  Handling GUI Objects  Object State Verification  Input Domain Coverage  Output Domain Coverage  GUI Script Examples Session 25 –Web Scripting  Checking Links  Testing Forms  Output Domain Coverage  Cookies Testing  Web Script Examples Session 26 –Introduction, Basic Framework  Automation Framework, Types of Framework www.gcreddy.com 12
  • 13. gcreddy@gcreddy.com  Creating Folder Structure  Creating & Storing Automation Resources  Organizing & Managing Resources  Generating Driver Scripts  Generating Initialization Script (AOM Script) Session 27 –Data Driven Framework  Test Data Collection  Ways of Parameterization  Data Driven Implementation Techniques  Using Data Table Methods Session 28 –Keyword Driven Framework  Keywords  Keyword Driven Approach  Creating Functions  Creating Test Automation resources  Creating Organizer Spread sheet  Generating the Driver Script  Generating the Initialization Script Session 29 –Hybrid Framework  Hybrid Automation Framework  Keyword Driven & Data Driven Test Approach  Advantages of Hybrid Approach  Organizing & Managing Resources www.gcreddy.com 13