Successful Methods in   Test Automation 12/29/10 For more QTP Scripts, www.ramupalanki.com
Content … Why Automation ? Manual vs. Automated Automation Methodologies – Best Method Why QTP? – Advantages of QTP   Architecture   Setup Test Automation Architecture Parallel Run – Manual vs. Automation Prerequisite - Resource selection   Designing – Coding – Testing  Setup Requirements for Automation Runs Maintenance/Support   12/29/10 For more QTP Scripts, www.ramupalanki.com
Why Automation ? - Benefits Benefits to Automation include increased software quality, improved time to market, repeatable test procedures, and reduced testing costs.   REDUCED TESTING TIME IMPROVED TESTING PRODUCTIVITY IMPROVED PRODUCT QUALITY REDUCED QA COSTS CONSISTENT TEST PROCEDURES CAN SCHEDULE TEST RUNS 12/29/10 For more QTP Scripts, www.ramupalanki.com
Manual vs. Automated Manual Execution   More No. of resources required Slow,takes time to retest incase  of testing in multiple environments There is a chance of overlook Automation   Less No. of resources required Fast, Accurate and Reliable Improves testing productivity Easy to Learn & Maintain 12/29/10 For more QTP Scripts, www.ramupalanki.com
Automation Methodologies Methodologies that have been found to be effective for automating functional or system testing for most business applications are broadly categorized as: 1. The "Functional Decomposition" Method:   (Mostly followed for Desktop applications) To reduce all test cases to their most fundamental tasks, and write User-Defined Functions, Business Function Scripts, and "Sub-routine" or "Utility“ Scripts which perform these tasks independently of one another   2.  The "Key-Word Driven" or "Test Plan Driven" Method:   (Mostly followed for Web based applications)  In this method, the entire process is data-driven, including  functionality. This method uses the actual Test Case document  developed by the tester using a spreadsheet containing special  "Key-Words".   12/29/10 For more QTP Scripts, www.ramupalanki.com
Why QTP ?  Allows even novice testers to be productive in minutes.  Create a test script by simply pressing a Record button and  using an application to perform a typical business process.  Each step in the business process is automated documented with a plain-English sentence and screen shot.  Can easily modify, remove, or rearrange test steps. By capturing, verifying and replaying user interactions automatically,  Identifies defects and helps ensure that business processes deliver the expected results and remain reliable throughout the lifecycle. Available for browser-based and Java-based applications and ERP/CRM solutions. 12/29/10 For more QTP Scripts, www.ramupalanki.com
Why QTP ? Contd… Report displays all aspects of the test run:  :: a high-level results overview,  :: an expandable Tree View of the test script  Specifying exactly :: Where application failures occurred  The test data used Application screen shots for every step that highlight any discrepancies Detailed explanations of each checkpoint pass and failure Can share reports across an entire QA and development team 12/29/10 For more QTP Scripts, www.ramupalanki.com
Why QTP ?  Contd… Supports functional testing of all popular environments, including :: Windows,  Web,  .Net,  Visual Basic,  ActiveX,  Java,  SAP,  Siebel,  Oracle,  PeopleSoft, terminal emulators 12/29/10 For more QTP Scripts, www.ramupalanki.com
Architecture   Setup It takes at least 3 – 6 months to setup an architecture, which includes the following phases. 1. Installation: This includes hardware, software and network setup .  2 .  Analysis: This includes better understanding/definition of the base  system covering all the Functional Area to be automated. 3.  Pilot Project: This covers the scripting of the base functional area based  on the analysis/defined architecture.After Completion of  pilot,a Parallel Run (Manual Vs. Automation) is required. 4.  Architecture Acceptance: This includes the Test Run of the pilot project on the  defined architecture to continue further automation of  functional areas over the base project. 12/29/10 For more QTP Scripts, www.ramupalanki.com
Test Automation Architecture 12/29/10 For more QTP Scripts, www.ramupalanki.com Test Environments
Parallel Run – Manual vs. Automation Parallel Execution: After the completion of Pilot Project, a parallel run can be done between Manual and Automation for at least 2 Releases to see the results Manual - 300 People Hours Automation - 30 Machine Hours  12/29/10 For more QTP Scripts, www.ramupalanki.com 1 2 3 … 50 n
Prerequisite - Resource selection   Following skills are required for the Automation Scripting/Projects. Testers having exposure to coding Good Analytical skills Good Logic /  Aptitude Better understanding of SDLC and Testing Life Cycle  Problem Identification / Solving skills Developers having testing knowledge Attitude to learn Exposure to other Automation Tools like Win Runner, Rational  etc… 12/29/10 For more QTP Scripts, www.ramupalanki.com
Designing – Coding – Testing   Functional Area  Analysis/Requirement gathering/ Logical Designing   Deployment/    Functional Maintenance/     Area PR/CR Requests     Scripting   Testing / UAT /   Bug Fixes 12/29/10 For more QTP Scripts, www.ramupalanki.com
Setup Requirements for Automation Runs Following are the base requirements for run Setup: Dedicated machines for test runs Stable Test Environment Dedicated resources having exposure to QTP and Datasheets Resources having Automated Functional Area knowledge Latest Merged Automated test scripts Quality Centre Setup – For Scheduling Automation Runs Defect Tracking tool to log PR s / CR s Updated test cases of the respective Functional areas 12/29/10 For more QTP Scripts, www.ramupalanki.com
Maintenance/Support   Following points should be taken into consideration for proper maintenance and support : Dedicated Maintenance / Support Team  Tracking of all the changes in the coming releases Team should respond to the PR’s on Priority Team should update the script for all the PR’s / CR’s as per the  coming release  Separate QTP setup for maintenance / support team Version Control for test scripts, datasheets & library files Merging of updated scripts should be in accordance with the  standards 12/29/10 For more QTP Scripts, www.ramupalanki.com
Thank You ! 12/29/10 For more QTP Scripts, www.ramupalanki.com

More Related Content

PPT
Copyofqtppresentation 101229032428-phpapp01
DOC
Anupam_Chaubey_QA_Resume_1Sep
PDF
Past Experiences and Future Challenges using Automatic Performance Modelling ...
PPT
Copy of qtp presentation
PPTX
Response time difference analysis of performance testing tools
PPTX
Automation Framework Presentation
PDF
Fundamentals Performance Testing
PPT
A S A P M E T H E D O L O G Y
Copyofqtppresentation 101229032428-phpapp01
Anupam_Chaubey_QA_Resume_1Sep
Past Experiences and Future Challenges using Automatic Performance Modelling ...
Copy of qtp presentation
Response time difference analysis of performance testing tools
Automation Framework Presentation
Fundamentals Performance Testing
A S A P M E T H E D O L O G Y

What's hot (19)

PPTX
Mochovce Unit 3 & 4 Full-Scope Simulator Project Key Points and Successes
PDF
Jmeter Walkthrough
DOC
Ganesamoorthi P_Performance_Testing_Loadrunner_2.9_yrs_of_Exp
PPTX
Continuous Performance Testing with Taurus and Jmeter
PPT
Flash automation tools benchmarking v3
PPTX
Load testing
PDF
PSA-HD Simulator for Severe Accidents
DOC
sudhir_2016
PDF
Case study on Test Automation under RUP
PPTX
QSpiders - Introduction to HP Load Runner
PDF
Jmeter Tester Certification
PDF
(ATS6-PLAT08) AEP in a Validated Environment
DOCX
Sadiya_Resume
PDF
Automation Testing with JMeter
DOCX
Resume - Santi Gong__
PDF
LoadRunner Performance Testing
PPTX
QSpiders - Simple Recording and Configuration of recording options for HP Loa...
PPTX
Performance Engineering
DOCX
Alemu Arimo Atumo Resume
Mochovce Unit 3 & 4 Full-Scope Simulator Project Key Points and Successes
Jmeter Walkthrough
Ganesamoorthi P_Performance_Testing_Loadrunner_2.9_yrs_of_Exp
Continuous Performance Testing with Taurus and Jmeter
Flash automation tools benchmarking v3
Load testing
PSA-HD Simulator for Severe Accidents
sudhir_2016
Case study on Test Automation under RUP
QSpiders - Introduction to HP Load Runner
Jmeter Tester Certification
(ATS6-PLAT08) AEP in a Validated Environment
Sadiya_Resume
Automation Testing with JMeter
Resume - Santi Gong__
LoadRunner Performance Testing
QSpiders - Simple Recording and Configuration of recording options for HP Loa...
Performance Engineering
Alemu Arimo Atumo Resume
Ad

Similar to Test automation (20)

PPT
Test Automation for QTP
PPT
Test Automation
PPT
Qtp testing
PPT
Qtp testing
PPT
Qtp presentation
PPT
Qtp presentation
PPT
Qtp Training Deepti 1 Of 4187
PDF
Performance Testing for SAP Applications
DOCX
Shalini Sharma Resume
PPTX
OS-Final-Transform-Manual-Testing-Processes-to-incorporate-Automatio....pptx
PDF
How to Deliver Winning Mobile Apps
DOC
Resume_QA
PPT
Qtp presentation
PPTX
How to Improve Performance Testing Using InfluxDB and Apache JMeter
DOC
Qtp questions and answers
PPS
About Qtp 92
PPS
About Qtp_1 92
PPS
About QTP 9.2
PPTX
Automation Best Practices.pptx
Test Automation for QTP
Test Automation
Qtp testing
Qtp testing
Qtp presentation
Qtp presentation
Qtp Training Deepti 1 Of 4187
Performance Testing for SAP Applications
Shalini Sharma Resume
OS-Final-Transform-Manual-Testing-Processes-to-incorporate-Automatio....pptx
How to Deliver Winning Mobile Apps
Resume_QA
Qtp presentation
How to Improve Performance Testing Using InfluxDB and Apache JMeter
Qtp questions and answers
About Qtp 92
About Qtp_1 92
About QTP 9.2
Automation Best Practices.pptx
Ad

More from Ramu Palanki (20)

DOC
Qtp sample certification questions and answers
DOC
Qtp realtime scripts
DOC
Qtp material for beginners
DOC
Qtp interview questions
DOC
Qtp interview questions and answers
DOC
Qtp interview questions3
DOC
Qtp complete guide for all
DOC
Qtp compare two xml files
DOC
Qtp change excel cell color with condition
DOCX
Qtp certification questions
DOCX
Qtp certification questions and tutorial
DOCX
Qtp certification questions2
DOCX
Qtp best tutorial
DOC
Qtp basic stuff
DOC
Qtp automation estimation techniques
DOC
Qtp 11 new enhacements in
DOC
Qtp sample resume
DOCX
Qtp passing parameters between actions
DOC
Qtp wsh scripts examples
DOCX
Quick test professional certifcation questions and tutorial2
Qtp sample certification questions and answers
Qtp realtime scripts
Qtp material for beginners
Qtp interview questions
Qtp interview questions and answers
Qtp interview questions3
Qtp complete guide for all
Qtp compare two xml files
Qtp change excel cell color with condition
Qtp certification questions
Qtp certification questions and tutorial
Qtp certification questions2
Qtp best tutorial
Qtp basic stuff
Qtp automation estimation techniques
Qtp 11 new enhacements in
Qtp sample resume
Qtp passing parameters between actions
Qtp wsh scripts examples
Quick test professional certifcation questions and tutorial2

Test automation

  • 1. Successful Methods in Test Automation 12/29/10 For more QTP Scripts, www.ramupalanki.com
  • 2. Content … Why Automation ? Manual vs. Automated Automation Methodologies – Best Method Why QTP? – Advantages of QTP Architecture Setup Test Automation Architecture Parallel Run – Manual vs. Automation Prerequisite - Resource selection Designing – Coding – Testing Setup Requirements for Automation Runs Maintenance/Support 12/29/10 For more QTP Scripts, www.ramupalanki.com
  • 3. Why Automation ? - Benefits Benefits to Automation include increased software quality, improved time to market, repeatable test procedures, and reduced testing costs. REDUCED TESTING TIME IMPROVED TESTING PRODUCTIVITY IMPROVED PRODUCT QUALITY REDUCED QA COSTS CONSISTENT TEST PROCEDURES CAN SCHEDULE TEST RUNS 12/29/10 For more QTP Scripts, www.ramupalanki.com
  • 4. Manual vs. Automated Manual Execution More No. of resources required Slow,takes time to retest incase of testing in multiple environments There is a chance of overlook Automation Less No. of resources required Fast, Accurate and Reliable Improves testing productivity Easy to Learn & Maintain 12/29/10 For more QTP Scripts, www.ramupalanki.com
  • 5. Automation Methodologies Methodologies that have been found to be effective for automating functional or system testing for most business applications are broadly categorized as: 1. The "Functional Decomposition" Method: (Mostly followed for Desktop applications) To reduce all test cases to their most fundamental tasks, and write User-Defined Functions, Business Function Scripts, and "Sub-routine" or "Utility“ Scripts which perform these tasks independently of one another 2. The "Key-Word Driven" or "Test Plan Driven" Method: (Mostly followed for Web based applications) In this method, the entire process is data-driven, including functionality. This method uses the actual Test Case document developed by the tester using a spreadsheet containing special "Key-Words".  12/29/10 For more QTP Scripts, www.ramupalanki.com
  • 6. Why QTP ? Allows even novice testers to be productive in minutes. Create a test script by simply pressing a Record button and using an application to perform a typical business process. Each step in the business process is automated documented with a plain-English sentence and screen shot. Can easily modify, remove, or rearrange test steps. By capturing, verifying and replaying user interactions automatically, Identifies defects and helps ensure that business processes deliver the expected results and remain reliable throughout the lifecycle. Available for browser-based and Java-based applications and ERP/CRM solutions. 12/29/10 For more QTP Scripts, www.ramupalanki.com
  • 7. Why QTP ? Contd… Report displays all aspects of the test run: :: a high-level results overview, :: an expandable Tree View of the test script Specifying exactly :: Where application failures occurred The test data used Application screen shots for every step that highlight any discrepancies Detailed explanations of each checkpoint pass and failure Can share reports across an entire QA and development team 12/29/10 For more QTP Scripts, www.ramupalanki.com
  • 8. Why QTP ? Contd… Supports functional testing of all popular environments, including :: Windows, Web, .Net, Visual Basic, ActiveX, Java, SAP, Siebel, Oracle, PeopleSoft, terminal emulators 12/29/10 For more QTP Scripts, www.ramupalanki.com
  • 9. Architecture Setup It takes at least 3 – 6 months to setup an architecture, which includes the following phases. 1. Installation: This includes hardware, software and network setup . 2 . Analysis: This includes better understanding/definition of the base system covering all the Functional Area to be automated. 3. Pilot Project: This covers the scripting of the base functional area based on the analysis/defined architecture.After Completion of pilot,a Parallel Run (Manual Vs. Automation) is required. 4. Architecture Acceptance: This includes the Test Run of the pilot project on the defined architecture to continue further automation of functional areas over the base project. 12/29/10 For more QTP Scripts, www.ramupalanki.com
  • 10. Test Automation Architecture 12/29/10 For more QTP Scripts, www.ramupalanki.com Test Environments
  • 11. Parallel Run – Manual vs. Automation Parallel Execution: After the completion of Pilot Project, a parallel run can be done between Manual and Automation for at least 2 Releases to see the results Manual - 300 People Hours Automation - 30 Machine Hours 12/29/10 For more QTP Scripts, www.ramupalanki.com 1 2 3 … 50 n
  • 12. Prerequisite - Resource selection Following skills are required for the Automation Scripting/Projects. Testers having exposure to coding Good Analytical skills Good Logic / Aptitude Better understanding of SDLC and Testing Life Cycle Problem Identification / Solving skills Developers having testing knowledge Attitude to learn Exposure to other Automation Tools like Win Runner, Rational etc… 12/29/10 For more QTP Scripts, www.ramupalanki.com
  • 13. Designing – Coding – Testing Functional Area Analysis/Requirement gathering/ Logical Designing Deployment/ Functional Maintenance/ Area PR/CR Requests Scripting Testing / UAT / Bug Fixes 12/29/10 For more QTP Scripts, www.ramupalanki.com
  • 14. Setup Requirements for Automation Runs Following are the base requirements for run Setup: Dedicated machines for test runs Stable Test Environment Dedicated resources having exposure to QTP and Datasheets Resources having Automated Functional Area knowledge Latest Merged Automated test scripts Quality Centre Setup – For Scheduling Automation Runs Defect Tracking tool to log PR s / CR s Updated test cases of the respective Functional areas 12/29/10 For more QTP Scripts, www.ramupalanki.com
  • 15. Maintenance/Support Following points should be taken into consideration for proper maintenance and support : Dedicated Maintenance / Support Team Tracking of all the changes in the coming releases Team should respond to the PR’s on Priority Team should update the script for all the PR’s / CR’s as per the coming release Separate QTP setup for maintenance / support team Version Control for test scripts, datasheets & library files Merging of updated scripts should be in accordance with the standards 12/29/10 For more QTP Scripts, www.ramupalanki.com
  • 16. Thank You ! 12/29/10 For more QTP Scripts, www.ramupalanki.com