際際滷

際際滷Share a Scribd company logo
Software Development Lifecycle (SLDC) QA process and the automation process can be different for different software lifecycles 2 most popular SLDC Agile Waterfall
Agile Complete software development is broken in many sprints. For every sprint, certain software features need to be completed Each sprint is typically 2 to 3 weeks
QA process for Agile   2 kinds of testing needs to be done: New feature testing- Make sure new features working properly Regression testing- Make sure features from last weeks are still working Regression testing are automated. Tests for new features from each sprint are added to existing automation tests.
Waterfall   Waterfall SLDC consists of following steps: Idea Analysis Design Development Test Final product
QA process for Waterfall   Test case is prepared after Design and before Development Automation is done after development when Software is relatively stable (towards the middle of test period) Generally Smoke test and Regression tests are automated
Automation Testing   Simulates actual user testing the software Based on scripting languages QTP  VBS Selenium  Perl, Ruby, Python etc Rational robot  SQABasic (similar to visual basic) PAMIE  Python High initial cost/effort  Pays off when used for long time.
When to Automate? When same tests need to be performed on an application repeatedly, automation comes handy.  Regression testing to check features are working properly enter massive amount of data to the application to facilitate next level of testing (manual/automated)
Why Automate? Fast - Much faster in populating data and testing them Reliable - tireless. no fatigue Repeatable  same scenario can be recreated again and again following exact same steps. programmable-expert users can program tests using standard VBS Reusable - can use the tests even after the application changed unattended testing - keeps testing without the presence of a tester (generally done over night to morning)
Why Automate? detailed test report - generates helpful report maintain log of software health - QTP reports can show what was the over all health of the software
Test Methodologies Sanity Test  This test is conducted to determine if further testing can be done. This tests the most fundamental functionalities of the software. Smoke test  Making sure every basic functionality of the software is working fine  after software is updated with new codes. This is commonly automated Regression Test  Previously working functionalities are still working fine. Automated in most cases Integration test  How a specific part of the software interacting with other parts.  New feature testing  Testing a feature after development. Not automated most cases
Critical Path Testing  Testing for cases that has to work in order for the user to perform a task. This ignores corner cases. Most automation commonly takes critical path Functional Testing  Testing calculations, workflows Format testing  Testing for looks, color, spelling.
Sanity->Smoke->Regression Sanity test takes the least amount of time (less than an hour) to conduct and covers only most fundamental functionalities at high level Smoke test takes more time than sanity (half day or one day) and this covers all the functionality of the software but at high level Regression test takes the most amount of time (one or two weeks) and this covers all functionality at low level (very detail)
Steps for automation Know the application and functional specifications.  Find out what steps need to be performed to complete the process Find out what information from the application can tell you if the test passed or failed Create the automation script (navigation and checkpoints) Analyze the result Verify the result manually Log bug
Know the application and functional specifications Know spec  Know what is expected result Find out what needs to be tested
Steps to perform the job After determining what needs to be tested, determine what steps needed to perform that test A manual test case Determine a step by step process
Determine good Checkpoint In the application, determine what can be good check point A check point can be set on an object or value in the application that is particularly searched and a pass/fail report is created
Automation Automate using VBS to navigate with in the application Insert checkpoints in useful places
Analyze result and log bug View Test result/report. Try to understand in which step Test failed. Verify assumption by trying out manually If the assumption is true, log bug.
QTP Quick Test Pro Winrunner is replaced by QTP From Mercury Integrated with other Mercury product: Quality Center,Test Director Record and Play option for simple tests VBS programming for complex tests
How QTP works To perform certain tasks, QTP needs to identify objects in the page Browser Frame Image Link Page ViewLink WebArea WebButton WebCheckBox WebEdit WebElement WebFile WebList WebRadioGroup WebTable
There can be many of same object in the page but QTP needs to perform an operation on only one QTP separates that object from others by specific properties unique to that object QTP defines an object in an hierarchical manner
For example, when QTP want to click on Search on google page: It first defines the Browser, then defines the Page, then defines the webbutton (Search is a webbutton) QTP needs to identify each of the object uniquely  QTP programmer needs to define each object such a way that QTP does not confuse with other objects

More Related Content

What's hot (18)

Automation testing
Automation testingAutomation testing
Automation testing
Biswajit Pratihari
Automation Testing
Automation TestingAutomation Testing
Automation Testing
Sun Technlogies
Journey To Excellence
Journey To ExcellenceJourney To Excellence
Journey To Excellence
Walter Mamed
Test automation in agile ecosystem
Test automation in agile ecosystemTest automation in agile ecosystem
Test automation in agile ecosystem
JohnRizer
Software testing tools
Software testing toolsSoftware testing tools
Software testing tools
Gaurav Paliwal
Test Automation Approach
Test Automation ApproachTest Automation Approach
Test Automation Approach
tomek tomek
Agile Engineering Sparker GLASScon 2015
Agile Engineering Sparker GLASScon 2015Agile Engineering Sparker GLASScon 2015
Agile Engineering Sparker GLASScon 2015
Stephen Ritchie
Automation testing IBM RFT - Rational Functional Tester
Automation testing IBM RFT - Rational Functional TesterAutomation testing IBM RFT - Rational Functional Tester
Automation testing IBM RFT - Rational Functional Tester
VijayChowthri Nagaprakasham
" Performance testing for Automation QA - why and how " by Andrey Kovalenko f...
" Performance testing for Automation QA - why and how " by Andrey Kovalenko f..." Performance testing for Automation QA - why and how " by Andrey Kovalenko f...
" Performance testing for Automation QA - why and how " by Andrey Kovalenko f...
Lohika_Odessa_TechTalks
Automation Tools Overview
Automation Tools OverviewAutomation Tools Overview
Automation Tools Overview
Murageppa-QA
Automation testing
Automation testingAutomation testing
Automation testing
Mona M. Abd El-Rahman
Testing Tools
Testing ToolsTesting Tools
Testing Tools
Ted Husted
Automation testing introduction for FujiNet
Automation testing introduction for FujiNetAutomation testing introduction for FujiNet
Automation testing introduction for FujiNet
Hai Tran Son
Testing
TestingTesting
Testing
S奪単 Hss単
How To Transform the Manual Testing Process to Incorporate Test Automation
How To Transform the Manual Testing Process to Incorporate Test AutomationHow To Transform the Manual Testing Process to Incorporate Test Automation
How To Transform the Manual Testing Process to Incorporate Test Automation
Ranorex
Tutorial ranorex
Tutorial ranorexTutorial ranorex
Tutorial ranorex
radikalzen
Agile test practices
Agile test practicesAgile test practices
Agile test practices
Leonard Fingerman
Continuous Test Automation via CI (CodeMash 2012) - Automating the Agile way
Continuous Test Automation via CI (CodeMash 2012) - Automating the Agile wayContinuous Test Automation via CI (CodeMash 2012) - Automating the Agile way
Continuous Test Automation via CI (CodeMash 2012) - Automating the Agile way
Leonard Fingerman
Journey To Excellence
Journey To ExcellenceJourney To Excellence
Journey To Excellence
Walter Mamed
Test automation in agile ecosystem
Test automation in agile ecosystemTest automation in agile ecosystem
Test automation in agile ecosystem
JohnRizer
Software testing tools
Software testing toolsSoftware testing tools
Software testing tools
Gaurav Paliwal
Test Automation Approach
Test Automation ApproachTest Automation Approach
Test Automation Approach
tomek tomek
Agile Engineering Sparker GLASScon 2015
Agile Engineering Sparker GLASScon 2015Agile Engineering Sparker GLASScon 2015
Agile Engineering Sparker GLASScon 2015
Stephen Ritchie
Automation testing IBM RFT - Rational Functional Tester
Automation testing IBM RFT - Rational Functional TesterAutomation testing IBM RFT - Rational Functional Tester
Automation testing IBM RFT - Rational Functional Tester
VijayChowthri Nagaprakasham
" Performance testing for Automation QA - why and how " by Andrey Kovalenko f...
" Performance testing for Automation QA - why and how " by Andrey Kovalenko f..." Performance testing for Automation QA - why and how " by Andrey Kovalenko f...
" Performance testing for Automation QA - why and how " by Andrey Kovalenko f...
Lohika_Odessa_TechTalks
Automation Tools Overview
Automation Tools OverviewAutomation Tools Overview
Automation Tools Overview
Murageppa-QA
Testing Tools
Testing ToolsTesting Tools
Testing Tools
Ted Husted
Automation testing introduction for FujiNet
Automation testing introduction for FujiNetAutomation testing introduction for FujiNet
Automation testing introduction for FujiNet
Hai Tran Son
How To Transform the Manual Testing Process to Incorporate Test Automation
How To Transform the Manual Testing Process to Incorporate Test AutomationHow To Transform the Manual Testing Process to Incorporate Test Automation
How To Transform the Manual Testing Process to Incorporate Test Automation
Ranorex
Tutorial ranorex
Tutorial ranorexTutorial ranorex
Tutorial ranorex
radikalzen
Continuous Test Automation via CI (CodeMash 2012) - Automating the Agile way
Continuous Test Automation via CI (CodeMash 2012) - Automating the Agile wayContinuous Test Automation via CI (CodeMash 2012) - Automating the Agile way
Continuous Test Automation via CI (CodeMash 2012) - Automating the Agile way
Leonard Fingerman

Viewers also liked (18)

SLDC Presentation
SLDC PresentationSLDC Presentation
SLDC Presentation
Charles Husemann
Feature SLDC
Feature SLDCFeature SLDC
Feature SLDC
Yevheniy Veselov, MBA, PMP
Assignment4
Assignment4Assignment4
Assignment4
spitfire69
How to test the inside of your head
How to test the inside of your headHow to test the inside of your head
How to test the inside of your head
Liz Keogh
Agile101
Agile101Agile101
Agile101
Liz Keogh
Teams and responsibilities
Teams and responsibilitiesTeams and responsibilities
Teams and responsibilities
Amir Barylko
ITIL and DevOps at War in the Enterprise - DevOpsDays Amsterdam 2014
ITIL and DevOps at War in the Enterprise - DevOpsDays Amsterdam 2014ITIL and DevOps at War in the Enterprise - DevOpsDays Amsterdam 2014
ITIL and DevOps at War in the Enterprise - DevOpsDays Amsterdam 2014
Jan-Joost Bouwman
Risk Management Plan Example
Risk Management Plan ExampleRisk Management Plan Example
Risk Management Plan Example
THE HANG SENG UNIVERSITY OF HONG KONG
Waterfall-ITIL vs Agile-DevOps
Waterfall-ITIL vs Agile-DevOpsWaterfall-ITIL vs Agile-DevOps
Waterfall-ITIL vs Agile-DevOps
Paul Peissner
PMP - Risk Management plan & template
PMP - Risk Management plan & templatePMP - Risk Management plan & template
PMP - Risk Management plan & template
Allie Gentry
Risk identification
Risk identificationRisk identification
Risk identification
murukkada
Basic Risk Identification Techniques
Basic Risk Identification TechniquesBasic Risk Identification Techniques
Basic Risk Identification Techniques
Ricardo Viana Vargas
MS Project Presentation
MS Project PresentationMS Project Presentation
MS Project Presentation
Khem Singh
Introduction to Scrum for Project Managers
Introduction to Scrum for Project ManagersIntroduction to Scrum for Project Managers
Introduction to Scrum for Project Managers
cPrime | Project Management | Agile | Consulting | Staffing | Training
Software cost estimation project
Software  cost estimation projectSoftware  cost estimation project
Software cost estimation project
Shashank Puppala
Practical Use of Microsoft Project for Project Managers
Practical Use of Microsoft Project for Project ManagersPractical Use of Microsoft Project for Project Managers
Practical Use of Microsoft Project for Project Managers
Steve Gladstone
How to Create S Curve by MS Project 2013
How to Create S Curve by MS Project 2013How to Create S Curve by MS Project 2013
How to Create S Curve by MS Project 2013
Ong-Art Sanpinit
Agile Scrum Methodology
Agile Scrum MethodologyAgile Scrum Methodology
Agile Scrum Methodology
Rajeev Misra
Assignment4
Assignment4Assignment4
Assignment4
spitfire69
How to test the inside of your head
How to test the inside of your headHow to test the inside of your head
How to test the inside of your head
Liz Keogh
Teams and responsibilities
Teams and responsibilitiesTeams and responsibilities
Teams and responsibilities
Amir Barylko
ITIL and DevOps at War in the Enterprise - DevOpsDays Amsterdam 2014
ITIL and DevOps at War in the Enterprise - DevOpsDays Amsterdam 2014ITIL and DevOps at War in the Enterprise - DevOpsDays Amsterdam 2014
ITIL and DevOps at War in the Enterprise - DevOpsDays Amsterdam 2014
Jan-Joost Bouwman
Waterfall-ITIL vs Agile-DevOps
Waterfall-ITIL vs Agile-DevOpsWaterfall-ITIL vs Agile-DevOps
Waterfall-ITIL vs Agile-DevOps
Paul Peissner
PMP - Risk Management plan & template
PMP - Risk Management plan & templatePMP - Risk Management plan & template
PMP - Risk Management plan & template
Allie Gentry
Risk identification
Risk identificationRisk identification
Risk identification
murukkada
Basic Risk Identification Techniques
Basic Risk Identification TechniquesBasic Risk Identification Techniques
Basic Risk Identification Techniques
Ricardo Viana Vargas
MS Project Presentation
MS Project PresentationMS Project Presentation
MS Project Presentation
Khem Singh
Software cost estimation project
Software  cost estimation projectSoftware  cost estimation project
Software cost estimation project
Shashank Puppala
Practical Use of Microsoft Project for Project Managers
Practical Use of Microsoft Project for Project ManagersPractical Use of Microsoft Project for Project Managers
Practical Use of Microsoft Project for Project Managers
Steve Gladstone
How to Create S Curve by MS Project 2013
How to Create S Curve by MS Project 2013How to Create S Curve by MS Project 2013
How to Create S Curve by MS Project 2013
Ong-Art Sanpinit
Agile Scrum Methodology
Agile Scrum MethodologyAgile Scrum Methodology
Agile Scrum Methodology
Rajeev Misra

Similar to Why Automate (20)

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
Qtp Basics
Qtp BasicsQtp Basics
Qtp Basics
mehramit
Hp Quick Test Professional
Hp Quick Test ProfessionalHp Quick Test Professional
Hp Quick Test Professional
sunny.deb
Introduction to Automation Testing
Introduction to Automation TestingIntroduction to Automation Testing
Introduction to Automation Testing
Archana Krushnan
Introduction to Automation Testing
Introduction to Automation TestingIntroduction to Automation Testing
Introduction to Automation Testing
Archana Krushnan
Qtp interview questions and answers
Qtp interview questions and answersQtp interview questions and answers
Qtp interview questions and answers
Ramu Palanki
Qtp interview questions and answers
Qtp interview questions and answersQtp interview questions and answers
Qtp interview questions and answers
Ramu Palanki
What are the features in qtp
What are the features in qtpWhat are the features in qtp
What are the features in qtp
Ramu Palanki
QTP with Descriptive programming
QTP with Descriptive programmingQTP with Descriptive programming
QTP with Descriptive programming
Kuldeep Sharma
Qtp with descriptive programming
Qtp with descriptive programmingQtp with descriptive programming
Qtp with descriptive programming
medsherb
Qtp With Descriptive Programming
Qtp With Descriptive ProgrammingQtp With Descriptive Programming
Qtp With Descriptive Programming
Kuldeep Sharma
Automation Testing with Test Complete
Automation Testing with Test CompleteAutomation Testing with Test Complete
Automation Testing with Test Complete
Vartika Saxena
Automation testing
Automation testingAutomation testing
Automation testing
Arta Doci
QTP 9.2
QTP 9.2QTP 9.2
QTP 9.2
Kuldeep Sharma
Qtp 9.2 tutorials
Qtp 9.2 tutorialsQtp 9.2 tutorials
Qtp 9.2 tutorials
medsherb
HP Software Testing project (Advanced)
HP Software Testing project (Advanced)HP Software Testing project (Advanced)
HP Software Testing project (Advanced)
Lokesh Singrol
Resume_QA
Resume_QAResume_QA
Resume_QA
Nimish Kumar
Qtp questions and answers
Qtp questions and answersQtp questions and answers
Qtp questions and answers
Ramu Palanki
Upstream testing.
Upstream testing.Upstream testing.
Upstream testing.
Mindtree Ltd.
Automated Regression Testing for Embedded Systems in Action
Automated Regression Testing for Embedded Systems in ActionAutomated Regression Testing for Embedded Systems in Action
Automated Regression Testing for Embedded Systems in Action
AANDTech
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
Qtp Basics
Qtp BasicsQtp Basics
Qtp Basics
mehramit
Hp Quick Test Professional
Hp Quick Test ProfessionalHp Quick Test Professional
Hp Quick Test Professional
sunny.deb
Introduction to Automation Testing
Introduction to Automation TestingIntroduction to Automation Testing
Introduction to Automation Testing
Archana Krushnan
Introduction to Automation Testing
Introduction to Automation TestingIntroduction to Automation Testing
Introduction to Automation Testing
Archana Krushnan
Qtp interview questions and answers
Qtp interview questions and answersQtp interview questions and answers
Qtp interview questions and answers
Ramu Palanki
Qtp interview questions and answers
Qtp interview questions and answersQtp interview questions and answers
Qtp interview questions and answers
Ramu Palanki
What are the features in qtp
What are the features in qtpWhat are the features in qtp
What are the features in qtp
Ramu Palanki
QTP with Descriptive programming
QTP with Descriptive programmingQTP with Descriptive programming
QTP with Descriptive programming
Kuldeep Sharma
Qtp with descriptive programming
Qtp with descriptive programmingQtp with descriptive programming
Qtp with descriptive programming
medsherb
Qtp With Descriptive Programming
Qtp With Descriptive ProgrammingQtp With Descriptive Programming
Qtp With Descriptive Programming
Kuldeep Sharma
Automation Testing with Test Complete
Automation Testing with Test CompleteAutomation Testing with Test Complete
Automation Testing with Test Complete
Vartika Saxena
Automation testing
Automation testingAutomation testing
Automation testing
Arta Doci
Qtp 9.2 tutorials
Qtp 9.2 tutorialsQtp 9.2 tutorials
Qtp 9.2 tutorials
medsherb
HP Software Testing project (Advanced)
HP Software Testing project (Advanced)HP Software Testing project (Advanced)
HP Software Testing project (Advanced)
Lokesh Singrol
Qtp questions and answers
Qtp questions and answersQtp questions and answers
Qtp questions and answers
Ramu Palanki
Automated Regression Testing for Embedded Systems in Action
Automated Regression Testing for Embedded Systems in ActionAutomated Regression Testing for Embedded Systems in Action
Automated Regression Testing for Embedded Systems in Action
AANDTech

Why Automate

  • 1. Software Development Lifecycle (SLDC) QA process and the automation process can be different for different software lifecycles 2 most popular SLDC Agile Waterfall
  • 2. Agile Complete software development is broken in many sprints. For every sprint, certain software features need to be completed Each sprint is typically 2 to 3 weeks
  • 3. QA process for Agile 2 kinds of testing needs to be done: New feature testing- Make sure new features working properly Regression testing- Make sure features from last weeks are still working Regression testing are automated. Tests for new features from each sprint are added to existing automation tests.
  • 4. Waterfall Waterfall SLDC consists of following steps: Idea Analysis Design Development Test Final product
  • 5. QA process for Waterfall Test case is prepared after Design and before Development Automation is done after development when Software is relatively stable (towards the middle of test period) Generally Smoke test and Regression tests are automated
  • 6. Automation Testing Simulates actual user testing the software Based on scripting languages QTP VBS Selenium Perl, Ruby, Python etc Rational robot SQABasic (similar to visual basic) PAMIE Python High initial cost/effort Pays off when used for long time.
  • 7. When to Automate? When same tests need to be performed on an application repeatedly, automation comes handy. Regression testing to check features are working properly enter massive amount of data to the application to facilitate next level of testing (manual/automated)
  • 8. Why Automate? Fast - Much faster in populating data and testing them Reliable - tireless. no fatigue Repeatable same scenario can be recreated again and again following exact same steps. programmable-expert users can program tests using standard VBS Reusable - can use the tests even after the application changed unattended testing - keeps testing without the presence of a tester (generally done over night to morning)
  • 9. Why Automate? detailed test report - generates helpful report maintain log of software health - QTP reports can show what was the over all health of the software
  • 10. Test Methodologies Sanity Test This test is conducted to determine if further testing can be done. This tests the most fundamental functionalities of the software. Smoke test Making sure every basic functionality of the software is working fine after software is updated with new codes. This is commonly automated Regression Test Previously working functionalities are still working fine. Automated in most cases Integration test How a specific part of the software interacting with other parts. New feature testing Testing a feature after development. Not automated most cases
  • 11. Critical Path Testing Testing for cases that has to work in order for the user to perform a task. This ignores corner cases. Most automation commonly takes critical path Functional Testing Testing calculations, workflows Format testing Testing for looks, color, spelling.
  • 12. Sanity->Smoke->Regression Sanity test takes the least amount of time (less than an hour) to conduct and covers only most fundamental functionalities at high level Smoke test takes more time than sanity (half day or one day) and this covers all the functionality of the software but at high level Regression test takes the most amount of time (one or two weeks) and this covers all functionality at low level (very detail)
  • 13. Steps for automation Know the application and functional specifications. Find out what steps need to be performed to complete the process Find out what information from the application can tell you if the test passed or failed Create the automation script (navigation and checkpoints) Analyze the result Verify the result manually Log bug
  • 14. Know the application and functional specifications Know spec Know what is expected result Find out what needs to be tested
  • 15. Steps to perform the job After determining what needs to be tested, determine what steps needed to perform that test A manual test case Determine a step by step process
  • 16. Determine good Checkpoint In the application, determine what can be good check point A check point can be set on an object or value in the application that is particularly searched and a pass/fail report is created
  • 17. Automation Automate using VBS to navigate with in the application Insert checkpoints in useful places
  • 18. Analyze result and log bug View Test result/report. Try to understand in which step Test failed. Verify assumption by trying out manually If the assumption is true, log bug.
  • 19. QTP Quick Test Pro Winrunner is replaced by QTP From Mercury Integrated with other Mercury product: Quality Center,Test Director Record and Play option for simple tests VBS programming for complex tests
  • 20. How QTP works To perform certain tasks, QTP needs to identify objects in the page Browser Frame Image Link Page ViewLink WebArea WebButton WebCheckBox WebEdit WebElement WebFile WebList WebRadioGroup WebTable
  • 21. There can be many of same object in the page but QTP needs to perform an operation on only one QTP separates that object from others by specific properties unique to that object QTP defines an object in an hierarchical manner
  • 22. For example, when QTP want to click on Search on google page: It first defines the Browser, then defines the Page, then defines the webbutton (Search is a webbutton) QTP needs to identify each of the object uniquely QTP programmer needs to define each object such a way that QTP does not confuse with other objects