Your SlideShare is downloading. ×
0
Keyword Driven Methodology
Keyword Driven Methodology
Keyword Driven Methodology
Keyword Driven Methodology
Keyword Driven Methodology
Keyword Driven Methodology
Keyword Driven Methodology
Keyword Driven Methodology
Keyword Driven Methodology
Keyword Driven Methodology
Keyword Driven Methodology
Keyword Driven Methodology
Keyword Driven Methodology
Keyword Driven Methodology
Keyword Driven Methodology
Keyword Driven Methodology
Keyword Driven Methodology
Keyword Driven Methodology
Keyword Driven Methodology
Keyword Driven Methodology
Keyword Driven Methodology
Keyword Driven Methodology
Keyword Driven Methodology
Keyword Driven Methodology
Keyword Driven Methodology
Keyword Driven Methodology
Keyword Driven Methodology
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×
Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Text the download link to your phone
Standard text messaging rates apply

Keyword Driven Methodology

368

Published on

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

  • Be the first to like this

No Downloads
Views
Total Views
368
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
14
Comments
0
Likes
0
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide

Transcript

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

×