Test Automation best practices - WordPress.com · 2016-11-14 · Best practices for Managers...
Transcript of Test Automation best practices - WordPress.com · 2016-11-14 · Best practices for Managers...
![Page 1: Test Automation best practices - WordPress.com · 2016-11-14 · Best practices for Managers •Best Practice #03: Test Automation Dashboard •Test Automation Coverage (prioritize](https://reader035.fdocuments.in/reader035/viewer/2022070805/5f0381457e708231d40964b1/html5/thumbnails/1.jpg)
Test Automation best
practices
Syed Tassuduq Hussain
![Page 2: Test Automation best practices - WordPress.com · 2016-11-14 · Best practices for Managers •Best Practice #03: Test Automation Dashboard •Test Automation Coverage (prioritize](https://reader035.fdocuments.in/reader035/viewer/2022070805/5f0381457e708231d40964b1/html5/thumbnails/2.jpg)
Agenda
• Best practices for Managers
• Best practices for Engineer
![Page 3: Test Automation best practices - WordPress.com · 2016-11-14 · Best practices for Managers •Best Practice #03: Test Automation Dashboard •Test Automation Coverage (prioritize](https://reader035.fdocuments.in/reader035/viewer/2022070805/5f0381457e708231d40964b1/html5/thumbnails/3.jpg)
Best practices for Managers
• Best Practice #01: Top Manual Challenges
• Build Management
• Regression Testing
• Performance Testing
![Page 4: Test Automation best practices - WordPress.com · 2016-11-14 · Best practices for Managers •Best Practice #03: Test Automation Dashboard •Test Automation Coverage (prioritize](https://reader035.fdocuments.in/reader035/viewer/2022070805/5f0381457e708231d40964b1/html5/thumbnails/4.jpg)
Best practices for Managers
• Best Practice #02: Test Automation ROI
• Testing time to delivery (Development Ready -> Testing -> Delivery)
• Regression Time
• Build Automation Time
![Page 5: Test Automation best practices - WordPress.com · 2016-11-14 · Best practices for Managers •Best Practice #03: Test Automation Dashboard •Test Automation Coverage (prioritize](https://reader035.fdocuments.in/reader035/viewer/2022070805/5f0381457e708231d40964b1/html5/thumbnails/5.jpg)
Best practices for Managers
• Best Practice #03: Test Automation Dashboard
• Test Automation Coverage (prioritize test suite)
• Test status (Automated, Manual)
• Flaky Cases
• Defect in automation suite
• Enhancement in framework
![Page 6: Test Automation best practices - WordPress.com · 2016-11-14 · Best practices for Managers •Best Practice #03: Test Automation Dashboard •Test Automation Coverage (prioritize](https://reader035.fdocuments.in/reader035/viewer/2022070805/5f0381457e708231d40964b1/html5/thumbnails/6.jpg)
Best practices for Managers
• Best Practice #04: What & How to Automate
• Test
• Feature testcase with priority set
• Not to Test
• Field Validation
• Spell Check and Grammar Check
![Page 7: Test Automation best practices - WordPress.com · 2016-11-14 · Best practices for Managers •Best Practice #03: Test Automation Dashboard •Test Automation Coverage (prioritize](https://reader035.fdocuments.in/reader035/viewer/2022070805/5f0381457e708231d40964b1/html5/thumbnails/7.jpg)
Best practices for Managers
• Best Practice #05: Testing team formation
• Software development engineer in test
• Software testers in feature team
![Page 8: Test Automation best practices - WordPress.com · 2016-11-14 · Best practices for Managers •Best Practice #03: Test Automation Dashboard •Test Automation Coverage (prioritize](https://reader035.fdocuments.in/reader035/viewer/2022070805/5f0381457e708231d40964b1/html5/thumbnails/8.jpg)
Best practices for Engineers
• Best Practice #01: Control flaky test
• Locator Strategy
• Implicit and explicit wait
• Random issues (take snapshot and fetch logging)
![Page 9: Test Automation best practices - WordPress.com · 2016-11-14 · Best practices for Managers •Best Practice #03: Test Automation Dashboard •Test Automation Coverage (prioritize](https://reader035.fdocuments.in/reader035/viewer/2022070805/5f0381457e708231d40964b1/html5/thumbnails/9.jpg)
Best practices for Engineers
• Best Practice #02: Use Automation Design Pattern
• POM
• Singleton
• Factory
![Page 10: Test Automation best practices - WordPress.com · 2016-11-14 · Best practices for Managers •Best Practice #03: Test Automation Dashboard •Test Automation Coverage (prioritize](https://reader035.fdocuments.in/reader035/viewer/2022070805/5f0381457e708231d40964b1/html5/thumbnails/10.jpg)
Best practices for Engineers
• Best Practice #03: Test Automation Framework type
• Modular
• Data driven
• Keyword driven
• Hybrid
![Page 11: Test Automation best practices - WordPress.com · 2016-11-14 · Best practices for Managers •Best Practice #03: Test Automation Dashboard •Test Automation Coverage (prioritize](https://reader035.fdocuments.in/reader035/viewer/2022070805/5f0381457e708231d40964b1/html5/thumbnails/11.jpg)
Best practices for Engineers
• Best Practice #04: Use vendor products to match speed of light
• Hp Unified functional tester
• Hp Roadrunner
![Page 12: Test Automation best practices - WordPress.com · 2016-11-14 · Best practices for Managers •Best Practice #03: Test Automation Dashboard •Test Automation Coverage (prioritize](https://reader035.fdocuments.in/reader035/viewer/2022070805/5f0381457e708231d40964b1/html5/thumbnails/12.jpg)
Best practices for Engineers
• Best Practice #05: Performance testing
• Access log
• Browser Performance
• endurance ( CPU, memory, disk)
![Page 13: Test Automation best practices - WordPress.com · 2016-11-14 · Best practices for Managers •Best Practice #03: Test Automation Dashboard •Test Automation Coverage (prioritize](https://reader035.fdocuments.in/reader035/viewer/2022070805/5f0381457e708231d40964b1/html5/thumbnails/13.jpg)
Questions