Westpac Banking Corporation ABN 33 007 457 141. AUTOMATION FRAMEWORK MAKING AUTOMATION EASIER PRESENTATION BY: BEN NGO
Manual Test Cases…. Short on Staff Short on Time Budget.. or Just lost….
Manual to Automation…. Need forAutomation Framework  Increase testing scope  Increase comfort level to go live  Increase quality and productivity  Increase testing abilities  Increase reporting and manageability Reduce Risk Most Reliableand Repeatabletests Reduce Execution Time Easy andFast Tests (Smoke , Functional and RegressionTests) Reduce Script Development Time RapidDesignand Development Low Maintenanceandyet High Quality and Productivity Increase Reduce Training Time Saving and ResourceSaving
Automation Framework What is an Automation Framework? Automation Framework is a well-structured, planned, practiced and supported environment for Automation Testing. It’s a warehouse where automation testing process: begins, executes and accumulates results. Automation Framework uses established implementation such as initiation, moderation, execution and finalization. Automation Framework is a complete reference of the Automation Testing Process: the structure, guidelines and implementation. A comprehensive architecture to drive the complete test automation process.
Automation Framework
Automation Framework
Automation Framework
Tallyman
Manual >> Automation Current testing process… Manual Test Scripts Automation Test Scripts
Manual >> Automation 10’s to 100’s of test cases preforming same steps
Conversion >> Automation
COLLECTION OF MODULES Module = QTP Action • A Module is a test case or Action • Package is a collection of modules built together to test a particular scenario. Depending on a particular scenario the QA Team can create/update a module to fit a test scenario, insuring minimum script development.
LIBRARY OF MODULES COLLECTION OF PACKAGES (Test Scenarios)
Requirements are built into the modules for later Reporting use.
Automation Checkpoints Check Form Change Check Data Change
Automation Checkpoints Check Form Change Check Data Change Check Results
Automation Checkpoints
Automation Framework
Automation Framework
Automation Framework
DATA DRIVEN FRAMEWORK Data driven depends on the individual application and the scenario under test. A clear direction is needed to utilised and maintain the data to its full potential. RANDOM GENERATED DATA Benefit: Data creation, Minimize: Datatable size, data scenarios, errors. DATA INSERTION – (Global Database) Benefit: only insert the data we need. DATA INSERTION – (Hard Code within Module) DATA-TABLE INSERTION Each modules object has a relationship with the data table. Benefit: test a particular scenario over many records sets or define by customer.
Automation Framework
Automation Framework
© Copyright 2013 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice. HP Confidential. ROAD MAP
Automation Framework
The 4th framework is reporting. Reporting the Solution/Functional Requirements. What Requirement has been tested. Reporting the Results of a Package. Reporting the overall Results by HTML. The Test Results Reports are located in the Framework folder structure. Automation Framework REQUIREMENT REPORT PACKAGE & MODULES REPORT HTML SUMMARY REPORT HTML report will only be produce once a Package is run by the Driver script.
Automation Framework
Automation Framework Presentation

Automation Framework Presentation

  • 1.
    Westpac Banking CorporationABN 33 007 457 141. AUTOMATION FRAMEWORK MAKING AUTOMATION EASIER PRESENTATION BY: BEN NGO
  • 2.
    Manual Test Cases…. Shorton Staff Short on Time Budget.. or Just lost….
  • 3.
    Manual to Automation…. NeedforAutomation Framework  Increase testing scope  Increase comfort level to go live  Increase quality and productivity  Increase testing abilities  Increase reporting and manageability Reduce Risk Most Reliableand Repeatabletests Reduce Execution Time Easy andFast Tests (Smoke , Functional and RegressionTests) Reduce Script Development Time RapidDesignand Development Low Maintenanceandyet High Quality and Productivity Increase Reduce Training Time Saving and ResourceSaving
  • 4.
    Automation Framework What isan Automation Framework? Automation Framework is a well-structured, planned, practiced and supported environment for Automation Testing. It’s a warehouse where automation testing process: begins, executes and accumulates results. Automation Framework uses established implementation such as initiation, moderation, execution and finalization. Automation Framework is a complete reference of the Automation Testing Process: the structure, guidelines and implementation. A comprehensive architecture to drive the complete test automation process.
  • 5.
  • 6.
  • 7.
  • 8.
  • 9.
    Manual >> Automation Currenttesting process… Manual Test Scripts Automation Test Scripts
  • 10.
    Manual >> Automation 10’sto 100’s of test cases preforming same steps
  • 11.
  • 12.
    COLLECTION OF MODULES Module= QTP Action • A Module is a test case or Action • Package is a collection of modules built together to test a particular scenario. Depending on a particular scenario the QA Team can create/update a module to fit a test scenario, insuring minimum script development.
  • 13.
    LIBRARY OF MODULESCOLLECTION OF PACKAGES (Test Scenarios)
  • 14.
    Requirements are builtinto the modules for later Reporting use.
  • 15.
    Automation Checkpoints Check FormChange Check Data Change
  • 16.
    Automation Checkpoints Check FormChange Check Data Change Check Results
  • 17.
  • 18.
  • 19.
  • 20.
  • 21.
    DATA DRIVEN FRAMEWORK Datadriven depends on the individual application and the scenario under test. A clear direction is needed to utilised and maintain the data to its full potential. RANDOM GENERATED DATA Benefit: Data creation, Minimize: Datatable size, data scenarios, errors. DATA INSERTION – (Global Database) Benefit: only insert the data we need. DATA INSERTION – (Hard Code within Module) DATA-TABLE INSERTION Each modules object has a relationship with the data table. Benefit: test a particular scenario over many records sets or define by customer.
  • 22.
  • 23.
  • 24.
    © Copyright 2013Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice. HP Confidential. ROAD MAP
  • 25.
  • 26.
    The 4th frameworkis reporting. Reporting the Solution/Functional Requirements. What Requirement has been tested. Reporting the Results of a Package. Reporting the overall Results by HTML. The Test Results Reports are located in the Framework folder structure. Automation Framework REQUIREMENT REPORT PACKAGE & MODULES REPORT HTML SUMMARY REPORT HTML report will only be produce once a Package is run by the Driver script.
  • 27.

Editor's Notes

  • #4 Need for Automation Framework
  • #5 Moderation - Quality of being moderate and avoiding extremes
  • #9 200 test cases Tallyman
  • #11 Manual or QTP script you built = House
  • #12 Manual or QTP script you built = House
  • #16 CHECKPOINT Check Form Change This Checkpoint captures bitmap and only the form and disregard all text fills. 'CHECKPOINT Check Data Change 'This Checkpoint ccaptures bitmap and only the form and checks all text fills with account 0907673289 'change to account 08 06226 01 7 and see the results.
  • #17 CHECKPOINT Check Form Change This Checkpoint captures bitmap and only the form and disregard all text fills. 'CHECKPOINT Check Data Change 'This Checkpoint ccaptures bitmap and only the form and checks all text fills with account 0907673289 'change to account 08 06226 01 7 and see the results.