1 / 34

HP QuickTest Professional 10.0 BASICS TRAINING

HP QuickTest Professional 10.0 BASICS TRAINING. September 2010, Version 4.0. Charter. 1. What is Automation? 2. Why do you need Automation? 3. Is Automation a replacement for Manual Testing? 4. What are the different automation tools available?

kapila
Download Presentation

HP QuickTest Professional 10.0 BASICS TRAINING

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. HP QuickTest Professional 10.0 BASICS TRAINING September 2010, Version 4.0

  2. Charter 1. What is Automation? 2. Why do you need Automation? 3. Is Automation a replacement for Manual Testing? 4. What are the different automation tools available? 5. Why we are concentrating only on QTP tool (MERCURY now HP) 6. About HP-QuickTest Professional & Tool Walk through 7. Automated Testing process 8. When do you think application is ready for automation? 9. What are the parameters we must consider during identifying an AUT? 10. Add in Manager 11. Tool architecture 12. Configure record and run settings & Recording and Play back 13. Object Spy 14. Object Identification 15. Object Repository

  3. 16. Object Repository Manager 17. Object Repository Merge Tool & Comparison Tool 18. Synchronization 19. Checkpoints 20. Parameterization 21. Regular Expressions 22. Recovery Scenarios 23. Quality Center connectivity 24. Actions 25. VB Script - Basics 26. What are types of Test cases which can be automated? 27. What are types of Test cases which cannot be automated? 28. Different Frame works – Over View

  4. What is Automation ? • Automation is a technology that makes it possible to access software objects inside one application from other applications. • These objects can be created and manipulated using a scripting or programming language such as VBScript or VC++. • Automation enables you to control the functionality of an application programmatically.

  5. Why do you need Automation? • Automation helps to avoid human errors and also expedite the testing process • When application undergoes regression, some of the steps might be missed out or skipped which can be avoided through Automation • Automated tests can be run at the same time on different machines, whereas the manual tests would have to be run sequentially. • Automation saves time and effort which results in reduction of the Test life cycle • To implement the Test Automation detailed planning and effort is required

  6. Benefits of Automation • Consistency of Test Execution • Reducing cycle time of regression test cycles • Data driven testing • Repeatability • Coverage • Reliability • Reusability of test wares

  7. Why QTP Tool?

  8. QTP Window

  9. QTP Window Cont… Test Pane: Test Pane contains two labs to view the tests, • Keyword View • Expert View Keyword View: • Quick Test Pro displays your test in the form of a collapsible, icon based tree… Expert View: • Quick Test Pro displays the source code (VB Script) of the tests in this view.

  10. Automated testing Process

  11. Add in Manager • Default Add-ins • ActiveX • Visual basic • Web • Other Add-Ins • Siebel • Web Services • Java • SAP • Oracle • .Net • PowerBuilder and many more

  12. Add in Manager Cont… • QTP’s Add-in Manager facilitates the users to select the technology / environment from variety of environments suitable for the AUT (Application Under Test) • Once an add-in is loaded, users can record that application in its supported environment and thus QTP recognizes the objects specific to the application under test (AUT) as loaded through Add-in Manager. • It is critical for the users to know the development technologies / environment of AUT, and load right Add-Ins while invoking Quick Test Pro.

  13. Recording and Play Back Recording Modes Normal Analog Low level Run Modes Normal Fast Best Practices for Record & Run Settings • Set the options to configure QTP to "Record and run test on any open Windows- based application“ • Set the option - This window will appear the first time you click on the Record button in the new test. • Manually recall this window by selecting Automation Record and Run settings

  14. Object Spy… Run-Time NATIVE Object Run-Time QTP (Test) Object

  15. Object Identification • QTP’s has default set of properties that it always learn to identify the objects • Mandatory Properties • Assistive Properties • Ordinal Identifier • Usually, only few properties are needed to uniquely identify an object. • Smart Identification

  16. Object Repository

  17. Object Repository Manager

  18. Object Repository Merge Tool

  19. Object Repository Comparison Tool

  20. Parameterization • To check how script performs the same operations with multiple sets of data • Test and Action Parameters • Data Table (Global & Action Specific)

  21. Check Points

  22. Check Points cont’d….

  23. Synchronization • Synchronization point enables the anticipated time problems between the application and QTP • Progress bas reaches 100% completion • Status message appears • Button becomes enabled • Window opens and is ready fro data entry • Pop up message appears in response to an operation

  24. How to Synchronize tests Using tool menu options Wait & Exist Wait property Programmatically

  25. Regular Expressions • Regular expressions enable Quick test to identify Objects and test strings which are changing dynamically • A regular expression is a string that specifies a complex search phrase. • By using Special Characters you define the conditions of search • Can be used in Checkpoint Properties window and also in Object Identification

  26. Quality Center Connectivity

  27. QC Test Plan & File System:

  28. Actions • Actions help divide your test into logical units, such as the main sections of a Web site, or specific activities that you perform in your application. • An action consists of its own test script, including all of the steps in that action, and any objects in its local object repository • A test comprises calls to actions Types of Actions • Reusable action • Non-reusable action • External action

  29. Recovery Scenario • To Instruct Quick test to recover from unexpected events and errors that occur in the testing environment during run time. • We can create the recovery scenario using recovery scenario wizard • The Recovery Scenario Wizard leads you, step-by-step, through the process of creating a recovery scenario, steps: • Defining the trigger event that interrupts the run session • Specifying the recovery operations required to continue • Choosing a post-recovery test run operation • Specifying a name and description for the recovery scenario • (for tests) Specifying whether to associate the recovery scenario to the current test and/or to all new tests

  30. Frame Works • Data Driven • Modular • Keyword Driven • Hybrid

  31. Thank you *kprasad@qwest.com Learning never ends. Every day is a learning day…

More Related