QTP Training Session IPresented By : Aisha Mazhar
Agenda - Basic• Manual testing v/s Automation.• Introduction to QTP and its purpose.• Key Elements of QTP.• Testing Proces...
Manual testing v/s AutomationDisadvantages of Manual Testing• Time consuming• More resource(s) required• Human errors• Rep...
Manual testing v/s AutomationAdvantages of Automation• Fast – tools are fast in execution than human users• Reliable – in ...
Introduction to QTP and its purpose• Quick Test Professional, abbreviated as QTP.• Launched in Nov 2002 by Mercury interac...
Key Elements of QTPKey elements of QTP tool window are:• Test Pane – Expert View , Keyword View• Active screen• Data Table...
Key Elements of QTP
Testing Process1. Analyzing your application•   Applications development environments•   Business processes and functional...
Testing Process2. Preparing the testing infrastructure•   What resources are required•   Configure QuickTest settings so t...
Testing Process3. Building your tests and adding steps to them•   Add actions
Testing Process4. Enhancing your test•   Inserting checkpoints•   Replacing fixed values with parameters•   Adding logic a...
Testing Process5. Debugging, running, and analyzing your test•   To ensure that it operates smoothly and without    interr...
Recording Test• Process of recording user operations on AUT(Application under test)• Creates steps in keyword view• Genera...
Recording Test - TypesNormalDefault mode of recording which takes full advantage of Quick Test Professionals test objectmo...
PlaybackReads statements one by one and gets object informationfrom the object repository, based on that informationperfor...
References• Build in QTP Tutorial. Help > Quick Test ProfessionalTutorial• http://www.gcreddy.com/
Thank you 
Upcoming SlideShare
Loading in …5
×

Qtp training session I

663 views
589 views

Published on

0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
663
On SlideShare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
17
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Qtp training session I

  1. 1. QTP Training Session IPresented By : Aisha Mazhar
  2. 2. Agenda - Basic• Manual testing v/s Automation.• Introduction to QTP and its purpose.• Key Elements of QTP.• Testing Process• Recording Test.• Playback
  3. 3. Manual testing v/s AutomationDisadvantages of Manual Testing• Time consuming• More resource(s) required• Human errors• Repetition of task is not much• Tiredness• Simultaneous of tasks is not possible (parallel)
  4. 4. Manual testing v/s AutomationAdvantages of Automation• Fast – tools are fast in execution than human users• Reliable – in complex calculation & tasks.• Reusable – reuse at any no. of times.• Repeatable – can repeat some steps for required no. of time.• Programmable – can use flow control statements to apply logic.• Comprehensive – can execute test batch without humaninteraction.
  5. 5. Introduction to QTP and its purpose• Quick Test Professional, abbreviated as QTP.• Launched in Nov 2002 by Mercury interactive• Provides functional and regression test automation• An object based testing tool.• Follows keyword driven approach• Supports windows operating environment only• Latest version 11.0
  6. 6. Key Elements of QTPKey elements of QTP tool window are:• Test Pane – Expert View , Keyword View• Active screen• Data Table – Global sheet, Action sheet• Debug Viewer• Missing resources• Information
  7. 7. Key Elements of QTP
  8. 8. Testing Process1. Analyzing your application• Applications development environments• Business processes and functionality do you want to test• Consider how to divide these business processes into smaller units
  9. 9. Testing Process2. Preparing the testing infrastructure• What resources are required• Configure QuickTest settings so that QuickTest will perform the tasks you need
  10. 10. Testing Process3. Building your tests and adding steps to them• Add actions
  11. 11. Testing Process4. Enhancing your test• Inserting checkpoints• Replacing fixed values with parameters• Adding logic and conditional or loop statements
  12. 12. Testing Process5. Debugging, running, and analyzing your test• To ensure that it operates smoothly and without interruption• Examine the test results to pinpoint defects in your application6. Reporting Defects
  13. 13. Recording Test• Process of recording user operations on AUT(Application under test)• Creates steps in keyword view• Generates script in Expert view• Adds objects identification in object repositryTypes of recordings1. Normal2. Analogue3. Low level
  14. 14. Recording Test - TypesNormalDefault mode of recording which takes full advantage of Quick Test Professionals test objectmodel. It recognizes objects in application regardless of their location on the screen. Itrecords the objects in your application and the operations performed on themAnalogue - Automation > Analogue recordingExact keyboard and mouse operations are recorded in relation to either screen or the applicationwindow. Records and tracks every movement of the mouse for e.g recording a signatureproduced by dragginf the mouseLow level - Automation > Low level recordingRecords at the object level and records all run-time objects as either Window or WinObject testobjects. It is used when the exact coordinates of the object are important for your tests. Lowlevel mode records the x,y coordinates of any clicks
  15. 15. PlaybackReads statements one by one and gets object informationfrom the object repository, based on that informationperforms operations in AUT.
  16. 16. References• Build in QTP Tutorial. Help > Quick Test ProfessionalTutorial• http://www.gcreddy.com/
  17. 17. Thank you 

×