ºÝºÝߣ

ºÝºÝߣShare a Scribd company logo
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

What's hot (19)

Mochovce Unit 3 & 4 Full-Scope Simulator Project Key Points and Successes
Mochovce Unit 3 & 4 Full-Scope Simulator Project Key Points and SuccessesMochovce Unit 3 & 4 Full-Scope Simulator Project Key Points and Successes
Mochovce Unit 3 & 4 Full-Scope Simulator Project Key Points and Successes
GSE Systems, Inc.
Ìý
Jmeter Walkthrough
Jmeter WalkthroughJmeter Walkthrough
Jmeter Walkthrough
Bhuvaneswari Subramani
Ìý
Ganesamoorthi P_Performance_Testing_Loadrunner_2.9_yrs_of_Exp
Ganesamoorthi P_Performance_Testing_Loadrunner_2.9_yrs_of_ExpGanesamoorthi P_Performance_Testing_Loadrunner_2.9_yrs_of_Exp
Ganesamoorthi P_Performance_Testing_Loadrunner_2.9_yrs_of_Exp
Ganesamoorthi Pandi
Ìý
Continuous Performance Testing with Taurus and Jmeter
Continuous Performance Testing with Taurus and JmeterContinuous Performance Testing with Taurus and Jmeter
Continuous Performance Testing with Taurus and Jmeter
Agile Testing Alliance
Ìý
Flash automation tools benchmarking v3
Flash automation tools benchmarking v3Flash automation tools benchmarking v3
Flash automation tools benchmarking v3
JohnRizer
Ìý
Load testing
Load testingLoad testing
Load testing
Muhammad Faheem
Ìý
PSA-HD Simulator for Severe Accidents
PSA-HD Simulator for Severe AccidentsPSA-HD Simulator for Severe Accidents
PSA-HD Simulator for Severe Accidents
GSE Systems, Inc.
Ìý
sudhir_2016
sudhir_2016sudhir_2016
sudhir_2016
Sudhir Purohit
Ìý
Case study on Test Automation under RUP
Case study on Test Automation under RUPCase study on Test Automation under RUP
Case study on Test Automation under RUP
Oak Systems
Ìý
QSpiders - Introduction to HP Load Runner
QSpiders - Introduction to HP Load RunnerQSpiders - Introduction to HP Load Runner
QSpiders - Introduction to HP Load Runner
Qspiders - Software Testing Training Institute
Ìý
Jmeter Tester Certification
Jmeter Tester CertificationJmeter Tester Certification
Jmeter Tester Certification
Vskills
Ìý
(ATS6-PLAT08) AEP in a Validated Environment
(ATS6-PLAT08) AEP in a Validated Environment(ATS6-PLAT08) AEP in a Validated Environment
(ATS6-PLAT08) AEP in a Validated Environment
BIOVIA
Ìý
Sadiya_Resume
Sadiya_ResumeSadiya_Resume
Sadiya_Resume
Sadiya S
Ìý
Automation Testing with JMeter
Automation Testing with JMeterAutomation Testing with JMeter
Automation Testing with JMeter
Prince K. Raman Kinth
Ìý
Resume - Santi Gong__
Resume - Santi Gong__Resume - Santi Gong__
Resume - Santi Gong__
Zhenglei Gong
Ìý
LoadRunner Performance Testing
LoadRunner Performance TestingLoadRunner Performance Testing
LoadRunner Performance Testing
Atul Pant
Ìý
QSpiders - Simple Recording and Configuration of recording options for HP Loa...
QSpiders - Simple Recording and Configuration of recording options for HP Loa...QSpiders - Simple Recording and Configuration of recording options for HP Loa...
QSpiders - Simple Recording and Configuration of recording options for HP Loa...
Qspiders - Software Testing Training Institute
Ìý
Performance Engineering
Performance EngineeringPerformance Engineering
Performance Engineering
Kumar Gupta
Ìý
Alemu Arimo Atumo Resume
Alemu Arimo Atumo ResumeAlemu Arimo Atumo Resume
Alemu Arimo Atumo Resume
ALEMU ATUMO
Ìý
Mochovce Unit 3 & 4 Full-Scope Simulator Project Key Points and Successes
Mochovce Unit 3 & 4 Full-Scope Simulator Project Key Points and SuccessesMochovce Unit 3 & 4 Full-Scope Simulator Project Key Points and Successes
Mochovce Unit 3 & 4 Full-Scope Simulator Project Key Points and Successes
GSE Systems, Inc.
Ìý
Ganesamoorthi P_Performance_Testing_Loadrunner_2.9_yrs_of_Exp
Ganesamoorthi P_Performance_Testing_Loadrunner_2.9_yrs_of_ExpGanesamoorthi P_Performance_Testing_Loadrunner_2.9_yrs_of_Exp
Ganesamoorthi P_Performance_Testing_Loadrunner_2.9_yrs_of_Exp
Ganesamoorthi Pandi
Ìý
Continuous Performance Testing with Taurus and Jmeter
Continuous Performance Testing with Taurus and JmeterContinuous Performance Testing with Taurus and Jmeter
Continuous Performance Testing with Taurus and Jmeter
Agile Testing Alliance
Ìý
Flash automation tools benchmarking v3
Flash automation tools benchmarking v3Flash automation tools benchmarking v3
Flash automation tools benchmarking v3
JohnRizer
Ìý
PSA-HD Simulator for Severe Accidents
PSA-HD Simulator for Severe AccidentsPSA-HD Simulator for Severe Accidents
PSA-HD Simulator for Severe Accidents
GSE Systems, Inc.
Ìý
Case study on Test Automation under RUP
Case study on Test Automation under RUPCase study on Test Automation under RUP
Case study on Test Automation under RUP
Oak Systems
Ìý
Jmeter Tester Certification
Jmeter Tester CertificationJmeter Tester Certification
Jmeter Tester Certification
Vskills
Ìý
(ATS6-PLAT08) AEP in a Validated Environment
(ATS6-PLAT08) AEP in a Validated Environment(ATS6-PLAT08) AEP in a Validated Environment
(ATS6-PLAT08) AEP in a Validated Environment
BIOVIA
Ìý
Sadiya_Resume
Sadiya_ResumeSadiya_Resume
Sadiya_Resume
Sadiya S
Ìý
Automation Testing with JMeter
Automation Testing with JMeterAutomation Testing with JMeter
Automation Testing with JMeter
Prince K. Raman Kinth
Ìý
Resume - Santi Gong__
Resume - Santi Gong__Resume - Santi Gong__
Resume - Santi Gong__
Zhenglei Gong
Ìý
LoadRunner Performance Testing
LoadRunner Performance TestingLoadRunner Performance Testing
LoadRunner Performance Testing
Atul Pant
Ìý
QSpiders - Simple Recording and Configuration of recording options for HP Loa...
QSpiders - Simple Recording and Configuration of recording options for HP Loa...QSpiders - Simple Recording and Configuration of recording options for HP Loa...
QSpiders - Simple Recording and Configuration of recording options for HP Loa...
Qspiders - Software Testing Training Institute
Ìý
Performance Engineering
Performance EngineeringPerformance Engineering
Performance Engineering
Kumar Gupta
Ìý
Alemu Arimo Atumo Resume
Alemu Arimo Atumo ResumeAlemu Arimo Atumo Resume
Alemu Arimo Atumo Resume
ALEMU ATUMO
Ìý

Similar to Test automation (20)

Test Automation for QTP
Test Automation for QTPTest Automation for QTP
Test Automation for QTP
Kiran Rayachoti
Ìý
Test Automation
Test AutomationTest Automation
Test Automation
Kiran Rayachoti
Ìý
Qtp testing
Qtp testingQtp testing
Qtp testing
Ramu Palanki
Ìý
Qtp testing
Qtp testingQtp testing
Qtp testing
Ramu Palanki
Ìý
Qtp presentation
Qtp presentationQtp presentation
Qtp presentation
Ramu Palanki
Ìý
Qtp presentation
Qtp presentationQtp presentation
Qtp presentation
Ramu Palanki
Ìý
Qtp Training Deepti 1 Of 4187
Qtp Training Deepti 1 Of 4187Qtp Training Deepti 1 Of 4187
Qtp Training Deepti 1 Of 4187
Azhar Satti
Ìý
Performance Testing for SAP Applications
Performance Testing for SAP ApplicationsPerformance Testing for SAP Applications
Performance Testing for SAP Applications
Globe Testing
Ìý
Shalini Sharma Resume
Shalini Sharma ResumeShalini Sharma Resume
Shalini Sharma Resume
Shalini Sharma
Ìý
OS-Final-Transform-Manual-Testing-Processes-to-incorporate-Automatio....pptx
OS-Final-Transform-Manual-Testing-Processes-to-incorporate-Automatio....pptxOS-Final-Transform-Manual-Testing-Processes-to-incorporate-Automatio....pptx
OS-Final-Transform-Manual-Testing-Processes-to-incorporate-Automatio....pptx
ShivareddyGangam
Ìý
How to Deliver Winning Mobile Apps
How to Deliver Winning Mobile AppsHow to Deliver Winning Mobile Apps
How to Deliver Winning Mobile Apps
TechWell
Ìý
Resume_QA
Resume_QAResume_QA
Resume_QA
Nimish Kumar
Ìý
Qtp presentation
Qtp presentationQtp presentation
Qtp presentation
Ramu Palanki
Ìý
How to Improve Performance Testing Using InfluxDB and Apache JMeter
How to Improve Performance Testing Using InfluxDB and Apache JMeterHow to Improve Performance Testing Using InfluxDB and Apache JMeter
How to Improve Performance Testing Using InfluxDB and Apache JMeter
InfluxData
Ìý
Qtp
QtpQtp
Qtp
priya_trivedi
Ìý
Qtp questions and answers
Qtp questions and answersQtp questions and answers
Qtp questions and answers
Ramu Palanki
Ìý
About Qtp_1 92
About Qtp_1 92About Qtp_1 92
About Qtp_1 92
techgajanan
Ìý
About QTP 9.2
About QTP 9.2About QTP 9.2
About QTP 9.2
chandrasekhar
Ìý
About Qtp 92
About Qtp 92About Qtp 92
About Qtp 92
techgajanan
Ìý
Automation Best Practices.pptx
Automation Best Practices.pptxAutomation Best Practices.pptx
Automation Best Practices.pptx
pavelpopov43
Ìý
Test Automation for QTP
Test Automation for QTPTest Automation for QTP
Test Automation for QTP
Kiran Rayachoti
Ìý
Qtp presentation
Qtp presentationQtp presentation
Qtp presentation
Ramu Palanki
Ìý
Qtp presentation
Qtp presentationQtp presentation
Qtp presentation
Ramu Palanki
Ìý
Qtp Training Deepti 1 Of 4187
Qtp Training Deepti 1 Of 4187Qtp Training Deepti 1 Of 4187
Qtp Training Deepti 1 Of 4187
Azhar Satti
Ìý
Performance Testing for SAP Applications
Performance Testing for SAP ApplicationsPerformance Testing for SAP Applications
Performance Testing for SAP Applications
Globe Testing
Ìý
Shalini Sharma Resume
Shalini Sharma ResumeShalini Sharma Resume
Shalini Sharma Resume
Shalini Sharma
Ìý
OS-Final-Transform-Manual-Testing-Processes-to-incorporate-Automatio....pptx
OS-Final-Transform-Manual-Testing-Processes-to-incorporate-Automatio....pptxOS-Final-Transform-Manual-Testing-Processes-to-incorporate-Automatio....pptx
OS-Final-Transform-Manual-Testing-Processes-to-incorporate-Automatio....pptx
ShivareddyGangam
Ìý
How to Deliver Winning Mobile Apps
How to Deliver Winning Mobile AppsHow to Deliver Winning Mobile Apps
How to Deliver Winning Mobile Apps
TechWell
Ìý
Qtp presentation
Qtp presentationQtp presentation
Qtp presentation
Ramu Palanki
Ìý
How to Improve Performance Testing Using InfluxDB and Apache JMeter
How to Improve Performance Testing Using InfluxDB and Apache JMeterHow to Improve Performance Testing Using InfluxDB and Apache JMeter
How to Improve Performance Testing Using InfluxDB and Apache JMeter
InfluxData
Ìý
Qtp questions and answers
Qtp questions and answersQtp questions and answers
Qtp questions and answers
Ramu Palanki
Ìý
About Qtp_1 92
About Qtp_1 92About Qtp_1 92
About Qtp_1 92
techgajanan
Ìý
About Qtp 92
About Qtp 92About Qtp 92
About Qtp 92
techgajanan
Ìý
Automation Best Practices.pptx
Automation Best Practices.pptxAutomation Best Practices.pptx
Automation Best Practices.pptx
pavelpopov43
Ìý

More from Ramu Palanki (20)

Qtp sample certification questions and answers
Qtp sample certification questions and answersQtp sample certification questions and answers
Qtp sample certification questions and answers
Ramu Palanki
Ìý
Qtp realtime scripts
Qtp realtime scriptsQtp realtime scripts
Qtp realtime scripts
Ramu Palanki
Ìý
Qtp material for beginners
Qtp material for beginnersQtp material for beginners
Qtp material for beginners
Ramu Palanki
Ìý
Qtp interview questions
Qtp interview questionsQtp interview questions
Qtp interview questions
Ramu Palanki
Ìý
Qtp interview questions and answers
Qtp interview questions and answersQtp interview questions and answers
Qtp interview questions and answers
Ramu Palanki
Ìý
Qtp interview questions3
Qtp interview questions3Qtp interview questions3
Qtp interview questions3
Ramu Palanki
Ìý
Qtp complete guide for all
Qtp complete guide for allQtp complete guide for all
Qtp complete guide for all
Ramu Palanki
Ìý
Qtp compare two xml files
Qtp compare two xml filesQtp compare two xml files
Qtp compare two xml files
Ramu Palanki
Ìý
Qtp change excel cell color with condition
Qtp change excel cell color with conditionQtp change excel cell color with condition
Qtp change excel cell color with condition
Ramu Palanki
Ìý
Qtp certification questions
Qtp certification questionsQtp certification questions
Qtp certification questions
Ramu Palanki
Ìý
Qtp certification questions and tutorial
Qtp certification questions and tutorialQtp certification questions and tutorial
Qtp certification questions and tutorial
Ramu Palanki
Ìý
Qtp certification questions2
Qtp certification questions2Qtp certification questions2
Qtp certification questions2
Ramu Palanki
Ìý
Qtp best tutorial
Qtp best tutorialQtp best tutorial
Qtp best tutorial
Ramu Palanki
Ìý
Qtp basic stuff
Qtp basic stuffQtp basic stuff
Qtp basic stuff
Ramu Palanki
Ìý
Qtp automation estimation techniques
Qtp automation estimation techniquesQtp automation estimation techniques
Qtp automation estimation techniques
Ramu Palanki
Ìý
Qtp 11 new enhacements in
Qtp 11 new enhacements inQtp 11 new enhacements in
Qtp 11 new enhacements in
Ramu Palanki
Ìý
Qtp sample resume
Qtp sample resumeQtp sample resume
Qtp sample resume
Ramu Palanki
Ìý
Qtp passing parameters between actions
Qtp passing parameters between actionsQtp passing parameters between actions
Qtp passing parameters between actions
Ramu Palanki
Ìý
Qtp wsh scripts examples
Qtp wsh scripts examplesQtp wsh scripts examples
Qtp wsh scripts examples
Ramu Palanki
Ìý
Quick test professional certifcation questions and tutorial2
Quick test professional certifcation questions and tutorial2Quick test professional certifcation questions and tutorial2
Quick test professional certifcation questions and tutorial2
Ramu Palanki
Ìý
Qtp sample certification questions and answers
Qtp sample certification questions and answersQtp sample certification questions and answers
Qtp sample certification questions and answers
Ramu Palanki
Ìý
Qtp realtime scripts
Qtp realtime scriptsQtp realtime scripts
Qtp realtime scripts
Ramu Palanki
Ìý
Qtp material for beginners
Qtp material for beginnersQtp material for beginners
Qtp material for beginners
Ramu Palanki
Ìý
Qtp interview questions
Qtp interview questionsQtp interview questions
Qtp interview questions
Ramu Palanki
Ìý
Qtp interview questions and answers
Qtp interview questions and answersQtp interview questions and answers
Qtp interview questions and answers
Ramu Palanki
Ìý
Qtp interview questions3
Qtp interview questions3Qtp interview questions3
Qtp interview questions3
Ramu Palanki
Ìý
Qtp complete guide for all
Qtp complete guide for allQtp complete guide for all
Qtp complete guide for all
Ramu Palanki
Ìý
Qtp compare two xml files
Qtp compare two xml filesQtp compare two xml files
Qtp compare two xml files
Ramu Palanki
Ìý
Qtp change excel cell color with condition
Qtp change excel cell color with conditionQtp change excel cell color with condition
Qtp change excel cell color with condition
Ramu Palanki
Ìý
Qtp certification questions
Qtp certification questionsQtp certification questions
Qtp certification questions
Ramu Palanki
Ìý
Qtp certification questions and tutorial
Qtp certification questions and tutorialQtp certification questions and tutorial
Qtp certification questions and tutorial
Ramu Palanki
Ìý
Qtp certification questions2
Qtp certification questions2Qtp certification questions2
Qtp certification questions2
Ramu Palanki
Ìý
Qtp best tutorial
Qtp best tutorialQtp best tutorial
Qtp best tutorial
Ramu Palanki
Ìý
Qtp basic stuff
Qtp basic stuffQtp basic stuff
Qtp basic stuff
Ramu Palanki
Ìý
Qtp automation estimation techniques
Qtp automation estimation techniquesQtp automation estimation techniques
Qtp automation estimation techniques
Ramu Palanki
Ìý
Qtp 11 new enhacements in
Qtp 11 new enhacements inQtp 11 new enhacements in
Qtp 11 new enhacements in
Ramu Palanki
Ìý
Qtp sample resume
Qtp sample resumeQtp sample resume
Qtp sample resume
Ramu Palanki
Ìý
Qtp passing parameters between actions
Qtp passing parameters between actionsQtp passing parameters between actions
Qtp passing parameters between actions
Ramu Palanki
Ìý
Qtp wsh scripts examples
Qtp wsh scripts examplesQtp wsh scripts examples
Qtp wsh scripts examples
Ramu Palanki
Ìý
Quick test professional certifcation questions and tutorial2
Quick test professional certifcation questions and tutorial2Quick test professional certifcation questions and tutorial2
Quick test professional certifcation questions and tutorial2
Ramu Palanki
Ìý

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