Test Creation in QuickTest Professional Using Keyword Driven Methodology www.softwaretestinggenius.com A Storehouse of Vas...
What is Keyword Driven Methodology All About ? >>>>>>>>>>>>>>    www.softwaretestinggenius.com    <<<<<<<<<<<<<<
What is Keyword Driven Methodology ? <ul><li>It is a Test Creation Methodology </li></ul><ul><li>Involves Selection of Key...
Keyword Driven Methodology :  <ul><li>Having Technically Expert Users :     For Maintaining Resource Frameworks </li></ul>...
Where do the Keywords Come From ? <ul><li>First Source is :       Built-in Keywords from QuickTest Professional itself </l...
What All do We Need to Implement  Keyword Driven Methodology >>>>>>>>>>>>>>    www.softwaretestinggenius.com    <<<<<<<<<<...
Keyword Driven Methodology :  <ul><li>Desired Resources Like :   </li></ul><ul><li>Shared Object Repositories  </li></ul><...
Keyword Driven Methodology :  <ul><li>Desired Infrastructure </li></ul><ul><li>Persons with Thorough Knowledge of Applicat...
Seven Steps to Implement Keyword Driven Methodology In QuickTest Professional >>>>>>>>>>>>>>    www.softwaretestinggenius....
Step 1:   <ul><li>Find out t he Application’s Development    Environment : Like Web, Java or .NET </li></ul><ul><li>Load t...
Step 2:   <ul><li>Decide how to Divide our Actions </li></ul><ul><li>Build Resources to be used by our Tests:   The most w...
Step 3:   <ul><li>Creation of function libraries containing Functions    which Extend QTP Functionality </li></ul><ul><li>...
Step 4:  <ul><li>Setting up of Preferences Like:   Global Testing Preferences   Run Session Preferences   Any Test-Specifi...
Step 4: <ul><li>Configuration of QTP window to Easily Access    Panes like:   The Test Flow Pane   The Resources Pane   Th...
Step 5:  <ul><li>Construction of the Tests by Inserting Calls to the    Relevant Actions from the Tests </li></ul><ul><li>...
Step 5: <ul><li>Association of the Function Libraries and Recovery    Scenarios with the Relevant Tests, so that Steps    ...
Step 6: <ul><li>Addition of steps which use the Keywords Created    in Previous Steps </li></ul><ul><li>Enhancement  of Te...
Step 7: <ul><li>When the Tests are Ready:   We run them   View the Run Results   Troubleshoot the tests, as needed </li></...
Advantages of  Keyword Driven Testing In QuickTest Professional >>>>>>>>>>>>>>    www.softwaretestinggenius.com    <<<<<<<...
Advantages of Keyword Driven Testing <ul><li>Enables Test Design at a Business Level Rather    than at Object Level; For E...
Advantages of Keyword Driven Testing <ul><li>Tests are Easier to Read and Easier to Maintain due    to use of Technical Op...
Advantages of Keyword Driven Testing <ul><li>Enables Automation Experts to Focus on    Maintaining Objects And Functions w...
Advantages of Keyword Driven Testing <ul><li>Creation of Test with Little Preparation or Planning </li></ul><ul><li>Easier...
Advantages of Keyword Driven Testing <ul><li>Results in well-planned and better-structured tests,    which also results in...
Advantages of Keyword Driven Testing <ul><li>Enables Addition of Objects and Functions based on    Detailed Product Specif...
www.softwaretestinggenius.com A Storehouse of Vast Knowledge on Multiple Answer Interview Questions / Quiz as used by Seve...
Thank You >>>>>>>>>>>>>>    www.softwaretestinggenius.com    <<<<<<<<<<<<<<
Upcoming SlideShare
Loading in …5
×

How to Implement Keyword Driven Methodology in QTP

10,670
-1

Published on

This Presentation, offers Simple Explanation to Various Ways & Means of Implentation of Keyword Driven Methodology in Designing & Creation of Test Cases in QTP

Published in: Technology, Education
3 Comments
3 Likes
Statistics
Notes
  • QTP is awesome!
    Tritton Ax Pro - http://www.trittonaxpro.org
    Canon MP620 reviews - http://www.canonmp620.org
    Canon best camera - http://www.canon550dreview.org

    Thanks,

    John
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
  • Hi all

    A very good presentation on Keyword driven methodology in QTP.

    For more information on QTP 9.2 and how to go about working in QTP you can also visit my blog at

    http://www.qtp4free.blogspot.com

    Kiran
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
  • Brief yet helpful
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
No Downloads
Views
Total Views
10,670
On Slideshare
0
From Embeds
0
Number of Embeds
30
Actions
Shares
0
Downloads
742
Comments
3
Likes
3
Embeds 0
No embeds

No notes for slide

How to Implement Keyword Driven Methodology in QTP

  1. 1. Test Creation in QuickTest Professional Using Keyword Driven Methodology www.softwaretestinggenius.com A Storehouse of Vast Knowledge on Software Testing & Quality Assurance
  2. 2. What is Keyword Driven Methodology All About ? >>>>>>>>>>>>>> www.softwaretestinggenius.com <<<<<<<<<<<<<<
  3. 3. What is Keyword Driven Methodology ? <ul><li>It is a Test Creation Methodology </li></ul><ul><li>Involves Selection of Keywords </li></ul><ul><li>Keywords Indicate Operations to be Performed </li></ul><ul><li>Meant for Structured Test Creation </li></ul><ul><li>Structured Tests - Easy to Update & Maintain </li></ul>>>>>>>>>>>>>>> www.softwaretestinggenius.com <<<<<<<<<<<<<<
  4. 4. Keyword Driven Methodology : <ul><li>Having Technically Expert Users : For Maintaining Resource Frameworks </li></ul><ul><li>Having Less Technically Proficient Users : For Design & Maintenance of Automated Test Steps Objective: Clear Division of Automation Tasks </li></ul>Suitable for Which Type of Companies ? >>>>>>>>>>>>>> www.softwaretestinggenius.com <<<<<<<<<<<<<<
  5. 5. Where do the Keywords Come From ? <ul><li>First Source is : Built-in Keywords from QuickTest Professional itself </li></ul><ul><li>Second Source is : Our Own User Defined Keywords </li></ul>>>>>>>>>>>>>>> www.softwaretestinggenius.com <<<<<<<<<<<<<<
  6. 6. What All do We Need to Implement Keyword Driven Methodology >>>>>>>>>>>>>> www.softwaretestinggenius.com <<<<<<<<<<<<<<
  7. 7. Keyword Driven Methodology : <ul><li>Desired Resources Like : </li></ul><ul><li>Shared Object Repositories </li></ul><ul><li>Function Libraries </li></ul><ul><li>Recovery Scenarios </li></ul>What all do we Need to Implement it ? >>>>>>>>>>>>>> www.softwaretestinggenius.com <<<<<<<<<<<<<<
  8. 8. Keyword Driven Methodology : <ul><li>Desired Infrastructure </li></ul><ul><li>Persons with Thorough Knowledge of Application </li></ul><ul><li>Expertise of QuickTest Professional Software </li></ul>What all do we Need to Implement it ? >>>>>>>>>>>>>> www.softwaretestinggenius.com <<<<<<<<<<<<<<
  9. 9. Seven Steps to Implement Keyword Driven Methodology In QuickTest Professional >>>>>>>>>>>>>> www.softwaretestinggenius.com <<<<<<<<<<<<<<
  10. 10. Step 1: <ul><li>Find out t he Application’s Development Environment : Like Web, Java or .NET </li></ul><ul><li>Load the Desired QTP Add-ins </li></ul><ul><li>Find out the Business Processes and Functionality we want to Test </li></ul>Analyzing the Application to find out the Testing Needs: >>>>>>>>>>>>>> www.softwaretestinggenius.com <<<<<<<<<<<<<<
  11. 11. Step 2: <ul><li>Decide how to Divide our Actions </li></ul><ul><li>Build Resources to be used by our Tests: The most widely used Resource is the Shared Object Repository </li></ul>Setting up the Object Repositories: >>>>>>>>>>>>>> www.softwaretestinggenius.com <<<<<<<<<<<<<<
  12. 12. Step 3: <ul><li>Creation of function libraries containing Functions which Extend QTP Functionality </li></ul><ul><li>Use these keywords to Build Keyword-Driven Tests </li></ul>Creation of Function Libraries: >>>>>>>>>>>>>> www.softwaretestinggenius.com <<<<<<<<<<<<<<
  13. 13. Step 4: <ul><li>Setting up of Preferences Like: Global Testing Preferences Run Session Preferences Any Test-Specific Preferences </li></ul><ul><li>Creation of Recovery Scenarios to Instruct QTP how to Proceed when a Step Fails </li></ul>Configuration of QTP according to the Testing Needs: Contd.... >>>>>>>>>>>>>> www.softwaretestinggenius.com <<<<<<<<<<<<<<
  14. 14. Step 4: <ul><li>Configuration of QTP window to Easily Access Panes like: The Test Flow Pane The Resources Pane The Available Keywords Pane. </li></ul>Configuration of QTP according to the Testing Needs: >>>>>>>>>>>>>> www.softwaretestinggenius.com <<<<<<<<<<<<<<
  15. 15. Step 5: <ul><li>Construction of the Tests by Inserting Calls to the Relevant Actions from the Tests </li></ul><ul><li>Creation of one or more Empty Tests and Addition of Actions to them </li></ul><ul><li>Association of the Object Repositories with the Relevant Actions </li></ul>Building of the Tests: Contd.... >>>>>>>>>>>>>> www.softwaretestinggenius.com <<<<<<<<<<<<<<
  16. 16. Step 5: <ul><li>Association of the Function Libraries and Recovery Scenarios with the Relevant Tests, so that Steps can be Inserted Using Keywords </li></ul><ul><li>Configuration of Test Preferences </li></ul>Building of the Tests: >>>>>>>>>>>>>> www.softwaretestinggenius.com <<<<<<<<<<<<<<
  17. 17. Step 6: <ul><li>Addition of steps which use the Keywords Created in Previous Steps </li></ul><ul><li>Enhancement of Tests by Inserting Checkpoints and Output Values: Objective - To verify that the Application is Behaving According to Expectations </li></ul><ul><li>Addition of Programmatic Statements to Enhance the Tests Further </li></ul>Addition of Steps to the Test Actions: >>>>>>>>>>>>>> www.softwaretestinggenius.com <<<<<<<<<<<<<<
  18. 18. Step 7: <ul><li>When the Tests are Ready: We run them View the Run Results Troubleshoot the tests, as needed </li></ul>Running, Analyzing and Troubleshooting the Tests: >>>>>>>>>>>>>> www.softwaretestinggenius.com <<<<<<<<<<<<<<
  19. 19. Advantages of Keyword Driven Testing In QuickTest Professional >>>>>>>>>>>>>> www.softwaretestinggenius.com <<<<<<<<<<<<<<
  20. 20. Advantages of Keyword Driven Testing <ul><li>Enables Test Design at a Business Level Rather than at Object Level; For Example QTP Recognizes a Single Option Selection in the application as many steps Like: Click on a Button Object Mouse Operation on a List Object </li></ul><ul><li>Keyboard Operation on a list sub-item </li></ul>Contd.... Helps in Creating one Function to Represent All Such Lower - Level Operations in a Single, Business - Level Keyword
  21. 21. Advantages of Keyword Driven Testing <ul><li>Tests are Easier to Read and Easier to Maintain due to use of Technical Operations, like Synchronization Statement which Waits for Client-Server Communications to Finish, into Higher Level Keywords </li></ul><ul><li>Leads to a more Efficient Separation between Resource Maintenance and Test Maintenance </li></ul>Contd.... >>>>>>>>>>>>>> www.softwaretestinggenius.com <<<<<<<<<<<<<<
  22. 22. Advantages of Keyword Driven Testing <ul><li>Enables Automation Experts to Focus on Maintaining Objects And Functions while Application Testers Focus on Maintaining The Test Structure and Design </li></ul><ul><li>Avoids Local Object Repositories having Copies of the Same Objects in Many Cases </li></ul>Contd.... >>>>>>>>>>>>>> www.softwaretestinggenius.com <<<<<<<<<<<<<<
  23. 23. Advantages of Keyword Driven Testing <ul><li>Creation of Test with Little Preparation or Planning </li></ul><ul><li>Easier to Create Tests Quickly, since QTP enters the Correct Objects, Methods, and Argument values for us </li></ul>Contd.... >>>>>>>>>>>>>> www.softwaretestinggenius.com <<<<<<<<<<<<<<
  24. 24. Advantages of Keyword Driven Testing <ul><li>Results in well-planned and better-structured tests, which also results in easier long-term maintenance: What is the Reason for this? We select from Existing Objects and Operation Keywords needing Familiarity with Object Repositories and Available Function Libraries We need to have a good idea of what we want our Test to look like before we begin inserting steps </li></ul>Contd.... >>>>>>>>>>>>>> www.softwaretestinggenius.com <<<<<<<<<<<<<<
  25. 25. Advantages of Keyword Driven Testing <ul><li>Enables Addition of Objects and Functions based on Detailed Product Specifications even before a Feature has been added to the Product </li></ul><ul><li>Enables to Begin to Develop Tests for a New Product or Feature Earlier in the Development Cycle </li></ul>Contd.... >>>>>>>>>>>>>> www.softwaretestinggenius.com <<<<<<<<<<<<<<
  26. 26. www.softwaretestinggenius.com A Storehouse of Vast Knowledge on Multiple Answer Interview Questions / Quiz as used by Several MNC’s to Evaluate New Testers and Hundreds of Interview Preparation Questions on QuickTest Professional (QTP) , LoadRunner , Software Testing & Quality Assurance >>>>>>>>>>>>>> www.softwaretestinggenius.com <<<<<<<<<<<<<<
  27. 27. Thank You >>>>>>>>>>>>>> www.softwaretestinggenius.com <<<<<<<<<<<<<<
  1. A particular slide catching your eye?

    Clipping is a handy way to collect important slides you want to go back to later.

×