Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.
QucikTest Professional 8.2 Tutorial
<ul><li>Automated Testing </li></ul><ul><li>QTP Introduction </li></ul><ul><li>Preparation </li></ul><ul><li>Record </li><...
Drawbacks of manual testing <ul><li>Time-consuming and tedious </li></ul><ul><li>Impossible to test each feature  thorough...
Benefits of AT <ul><li>Fast ( 快速 ) </li></ul><ul><li>Reliable ( 可靠 ) </li></ul><ul><li>Repeatable ( 可重复 ) </li></ul><ul><l...
QTP Introduction <ul><li>What is QTP? </li></ul><ul><li>Mercury QuickTest Professional is functional test and regression t...
Testing process <ul><li>Preparation </li></ul><ul><li>Record </li></ul><ul><li>Enhance </li></ul><ul><li>Run & Debug </li>...
Preparation Testing Plan: What process and web? What’s the expected? When to begin and end? Computer: Close unneeded softw...
Record <ul><li>QuickTest Window </li></ul><ul><li>Hop to record? </li></ul>
 
Enhance your test <ul><li>Add comment  </li></ul><ul><li>Creating checkpoints </li></ul><ul><li>Parameterizing Tests </li>...
Add Comment <ul><li>‘ </li></ul><ul><li>‘ Browser(&quot;Browser&quot;).Page(&quot;Page_2&quot;).WebEdit(&quot;#hobby&quot;...
Creating checkpoints <ul><li>A  checkpoint  is  a verification point  </li></ul><ul><li>that compares a current value for ...
 
User-defined checkpoint <ul><li>Dim Style , index  </li></ul><ul><li>Style = Browser(&quot;Browser&quot;).Page(&quot;Page_...
Parameterizing Tests <ul><li>A  parameter  is  a variable that is assigned a value from an external data source or generat...
Parameters’ types  <ul><li>Test, action or component parameters  enable you to use values passed from your test or compone...
Parameters’ types (Continued) <ul><li>Environment variable parameters  enable you to </li></ul><ul><li>use variable values...
Two types of Data sheets <ul><li>Global Sheet </li></ul><ul><li>Usage: it will be available to all actions and control </l...
Advanced configuration <ul><li>Regular expression </li></ul><ul><li>Use Data Table formula </li></ul>
Run & Debug <ul><li>Wait() and sync </li></ul><ul><li>Msgbox() </li></ul><ul><li>Object Spy  </li></ul><ul><li>Debug toolb...
Analyze  <ul><li>Read test report </li></ul><ul><li>Why it fails if it exits </li></ul>
Features of QTP <ul><li>Active Screen  </li></ul><ul><li>Keyword View & Expert View </li></ul><ul><li>Auto-Documentation  ...
What’s not mentioned <ul><li>Split Action </li></ul><ul><li>Insert Action  </li></ul><ul><li>Find objects  </li></ul><ul><...
Plus <ul><li>Keyword driven Testing  </li></ul><ul><li>It deploys the concept of Keyword-driven testing to radically simpl...
Qualification <ul><li>Be familiar with the system  </li></ul><ul><li>Have a better understanding of QTP </li></ul><ul><li>...
Resource <ul><li>http://softwareqatestings.com/content/category/8/46/90/ </li></ul>
Any Questions?
Summary <ul><li>QTP is  one  Keyword-driven testing tool  suitable for functional testing and regression testing. </li></u...
Upcoming SlideShare
Loading in …5
×

QTP Tutorial Slides Presentation.

3,485 views

Published on

My first test qtp tutorial slide presentation.

--------------------------------------------------------------------
mail2web - Check your email from the web at
http://link.mail2web.com/mail2web


Published in: Technology
  • Be the first to comment

QTP Tutorial Slides Presentation.

  1. 1. QucikTest Professional 8.2 Tutorial
  2. 2. <ul><li>Automated Testing </li></ul><ul><li>QTP Introduction </li></ul><ul><li>Preparation </li></ul><ul><li>Record </li></ul><ul><li>Enhance </li></ul><ul><li>Run & Debug </li></ul><ul><li>Reference </li></ul>Outline
  3. 3. Drawbacks of manual testing <ul><li>Time-consuming and tedious </li></ul><ul><li>Impossible to test each feature thoroughly </li></ul>
  4. 4. Benefits of AT <ul><li>Fast ( 快速 ) </li></ul><ul><li>Reliable ( 可靠 ) </li></ul><ul><li>Repeatable ( 可重复 ) </li></ul><ul><li>Programmable </li></ul><ul><li>Comprehensive ( 全面 ) </li></ul><ul><li>Reusable( 可重用 ) </li></ul>
  5. 5. QTP Introduction <ul><li>What is QTP? </li></ul><ul><li>Mercury QuickTest Professional is functional test and regression test automation solution that address every major software application and environment. </li></ul><ul><li>Basic purpose: to test standard web object, </li></ul><ul><li>ActiveX controls and Visual Basic controls </li></ul><ul><li>Structure: B/S and C/S </li></ul>
  6. 6. Testing process <ul><li>Preparation </li></ul><ul><li>Record </li></ul><ul><li>Enhance </li></ul><ul><li>Run & Debug </li></ul><ul><li>Analyze </li></ul>
  7. 7. Preparation Testing Plan: What process and web? What’s the expected? When to begin and end? Computer: Close unneeded software (anti-virus, etc) Internet Explorer settings QTP: QTP 8.2 or newer Required add-in
  8. 8. Record <ul><li>QuickTest Window </li></ul><ul><li>Hop to record? </li></ul>
  9. 10. Enhance your test <ul><li>Add comment </li></ul><ul><li>Creating checkpoints </li></ul><ul><li>Parameterizing Tests </li></ul><ul><li>Suggestions : </li></ul><ul><li>Playback of it first </li></ul>
  10. 11. Add Comment <ul><li>‘ </li></ul><ul><li>‘ Browser(&quot;Browser&quot;).Page(&quot;Page_2&quot;).WebEdit(&quot;#hobby&quot;).Set &quot;Reading novels&quot; </li></ul><ul><li>Browser(&quot;Browser&quot;).Page(&quot;Page_2&quot;).WebButton(&quot;Submit&quot;).Click </li></ul><ul><li>Rem </li></ul><ul><li>Rem <<<<<<<<<<<<<check the output </li></ul><ul><li>Browser(&quot;Browser&quot;).Page(&quot;Page_3&quot;).WebElement(&quot;input_text_1&quot;).Check CheckPoint(&quot;input_text_1&quot;) </li></ul><ul><li>Browser(&quot;Browser&quot;).Page(&quot;Page_3&quot;).WebEdit(&quot;#hobby&quot;).Set &quot;Watching TV&quot; </li></ul><ul><li>Browser(&quot;Browser&quot;).Page(&quot;Page_3&quot;).WebButton(&quot;Submit&quot;).Click </li></ul>
  11. 12. Creating checkpoints <ul><li>A checkpoint is a verification point </li></ul><ul><li>that compares a current value for a specified property with the expected value for that property. </li></ul><ul><li>Effect: it enables you to identify whether your Web </li></ul><ul><li>site or application is functioning correctly. </li></ul><ul><li>Pre-defined checkpoint </li></ul><ul><li>User-defined checkpoint </li></ul>
  12. 14. User-defined checkpoint <ul><li>Dim Style , index </li></ul><ul><li>Style = Browser(&quot;Browser&quot;).Page(&quot;Page_22&quot;).WebEdit(&quot;#Aim&quot;).GetROProperty(&quot;outerHTML&quot;) </li></ul><ul><li>index = InStr (Style, &quot;color=read&quot;) </li></ul><ul><li>If index <>0 Then Reporter.ReportEvent micPass, &quot;HTML compared&quot;, &quot;OK&quot; Else </li></ul><ul><li>Reporter.ReportEvent micFail, &quot;HTML compared&quot;, &quot;Trouble&quot; End If </li></ul>
  13. 15. Parameterizing Tests <ul><li>A parameter is a variable that is assigned a value from an external data source or generator. </li></ul><ul><li>It greatly increases the power and flexibility of your test or component. </li></ul>
  14. 16. Parameters’ types <ul><li>Test, action or component parameters enable you to use values passed from your test or component, or values from other actions in your test. </li></ul><ul><li>Data Table parameters enable you to create a data-driven test (or action) that runs several times using the data you supply. </li></ul>
  15. 17. Parameters’ types (Continued) <ul><li>Environment variable parameters enable you to </li></ul><ul><li>use variable values from other sources during the run session. </li></ul><ul><li>Random number parameters enable you to </li></ul><ul><li>insert random numbers as values in your test </li></ul><ul><li>or component. </li></ul>
  16. 18. Two types of Data sheets <ul><li>Global Sheet </li></ul><ul><li>Usage: it will be available to all actions and control </li></ul><ul><li>the number of test iterations. </li></ul><ul><li>Local Sheet </li></ul><ul><li>Usage : it will be available in </li></ul><ul><li>that action only and control the </li></ul><ul><li>number of action iterations. </li></ul>
  17. 19. Advanced configuration <ul><li>Regular expression </li></ul><ul><li>Use Data Table formula </li></ul>
  18. 20. Run & Debug <ul><li>Wait() and sync </li></ul><ul><li>Msgbox() </li></ul><ul><li>Object Spy </li></ul><ul><li>Debug toolbar </li></ul>
  19. 21. Analyze <ul><li>Read test report </li></ul><ul><li>Why it fails if it exits </li></ul>
  20. 22. Features of QTP <ul><li>Active Screen </li></ul><ul><li>Keyword View & Expert View </li></ul><ul><li>Auto-Documentation </li></ul><ul><li>Generator : Step & Function </li></ul><ul><li>Check Point :Standard, Table, Text, etc.. </li></ul><ul><li>DataTable: Global & Local </li></ul><ul><li>Parameterizing </li></ul><ul><li>Object Spy </li></ul><ul><li>Object Repository </li></ul>
  21. 23. What’s not mentioned <ul><li>Split Action </li></ul><ul><li>Insert Action </li></ul><ul><li>Find objects </li></ul><ul><li>VBScript </li></ul><ul><li>Descriptive Programming </li></ul><ul><li>…… </li></ul>
  22. 24. Plus <ul><li>Keyword driven Testing </li></ul><ul><li>It deploys the concept of Keyword-driven testing to radically simplify test creation and maintenance. </li></ul><ul><li>When to use QTP? </li></ul><ul><li>When the system is relatively stable </li></ul><ul><li>Functional testing & Regression testing </li></ul><ul><li>How long and how frequent </li></ul>
  23. 25. Qualification <ul><li>Be familiar with the system </li></ul><ul><li>Have a better understanding of QTP </li></ul><ul><li>Others </li></ul>
  24. 26. Resource <ul><li>http://softwareqatestings.com/content/category/8/46/90/ </li></ul>
  25. 27. Any Questions?
  26. 28. Summary <ul><li>QTP is one Keyword-driven testing tool suitable for functional testing and regression testing. </li></ul><ul><li>Testing Process </li></ul><ul><li>Preparation </li></ul><ul><li>Record </li></ul><ul><li>Enhance </li></ul><ul><li>Run & Debug </li></ul><ul><li>Analyze </li></ul>

×