123 automation framework
TRANSCRIPT
![Page 1: 123 automation framework](https://reader031.vdocument.in/reader031/viewer/2022022413/58ef7b7f1a28ab846e8b45c5/html5/thumbnails/1.jpg)
1 AUTOMATION FRAMEWORK, 2 MOBILE APPS, 3 PLATFORMS
Bhumika SrinivasLead Quality Analyst
![Page 2: 123 automation framework](https://reader031.vdocument.in/reader031/viewer/2022022413/58ef7b7f1a28ab846e8b45c5/html5/thumbnails/2.jpg)
ABOUT US
linkedin - bhumikaiyengar
![Page 3: 123 automation framework](https://reader031.vdocument.in/reader031/viewer/2022022413/58ef7b7f1a28ab846e8b45c5/html5/thumbnails/3.jpg)
What isTest Automation?
![Page 4: 123 automation framework](https://reader031.vdocument.in/reader031/viewer/2022022413/58ef7b7f1a28ab846e8b45c5/html5/thumbnails/4.jpg)
Automation -
A Safety Net
![Page 5: 123 automation framework](https://reader031.vdocument.in/reader031/viewer/2022022413/58ef7b7f1a28ab846e8b45c5/html5/thumbnails/5.jpg)
Why do we doTest Automation?
![Page 6: 123 automation framework](https://reader031.vdocument.in/reader031/viewer/2022022413/58ef7b7f1a28ab846e8b45c5/html5/thumbnails/6.jpg)
QUICK FEEDBACK
![Page 7: 123 automation framework](https://reader031.vdocument.in/reader031/viewer/2022022413/58ef7b7f1a28ab846e8b45c5/html5/thumbnails/7.jpg)
What are we testing?
![Page 8: 123 automation framework](https://reader031.vdocument.in/reader031/viewer/2022022413/58ef7b7f1a28ab846e8b45c5/html5/thumbnails/8.jpg)
Manual / Exploratory
UI
View
JavaScript
Integration
Unit
PLATFORMS SUPPORTED
![Page 9: 123 automation framework](https://reader031.vdocument.in/reader031/viewer/2022022413/58ef7b7f1a28ab846e8b45c5/html5/thumbnails/9.jpg)
2 AIRLINE APPS
![Page 10: 123 automation framework](https://reader031.vdocument.in/reader031/viewer/2022022413/58ef7b7f1a28ab846e8b45c5/html5/thumbnails/10.jpg)
10
![Page 11: 123 automation framework](https://reader031.vdocument.in/reader031/viewer/2022022413/58ef7b7f1a28ab846e8b45c5/html5/thumbnails/11.jpg)
How are we testing?
![Page 12: 123 automation framework](https://reader031.vdocument.in/reader031/viewer/2022022413/58ef7b7f1a28ab846e8b45c5/html5/thumbnails/12.jpg)
TOOLS & METHODOLOGY
○ Page Object Pattern○ Functional Tests and Visual Tests○ Calabash & Watir-Webdriver as drivers
○ Code in Ruby
○ Harper for mocks
○ Nakal for Visual tests
○Cucumber for english style scenarios (automation & manual)○ Espresso for Android Integration Tests○ XUnit for iOS Unit Tests○Go CI for CI/CD
![Page 13: 123 automation framework](https://reader031.vdocument.in/reader031/viewer/2022022413/58ef7b7f1a28ab846e8b45c5/html5/thumbnails/13.jpg)
CALABASH & CUCUMBER - HOW?
![Page 14: 123 automation framework](https://reader031.vdocument.in/reader031/viewer/2022022413/58ef7b7f1a28ab846e8b45c5/html5/thumbnails/14.jpg)
Traps we fell Into
![Page 15: 123 automation framework](https://reader031.vdocument.in/reader031/viewer/2022022413/58ef7b7f1a28ab846e8b45c5/html5/thumbnails/15.jpg)
CUP-CAKE ANTI-PATTERN
![Page 16: 123 automation framework](https://reader031.vdocument.in/reader031/viewer/2022022413/58ef7b7f1a28ab846e8b45c5/html5/thumbnails/16.jpg)
Web Service
View
JavaScript
Integration
Unit
Developers Test Pyramid QA Team Test Pyramid
DUAL TEST PYRAMID ANTI-PATTERN
Manual / Exploratory
UI
Web Service
![Page 17: 123 automation framework](https://reader031.vdocument.in/reader031/viewer/2022022413/58ef7b7f1a28ab846e8b45c5/html5/thumbnails/17.jpg)
Whoa! How did we solve that problem
![Page 18: 123 automation framework](https://reader031.vdocument.in/reader031/viewer/2022022413/58ef7b7f1a28ab846e8b45c5/html5/thumbnails/18.jpg)
SOLUTIONSRewriting our automation Code
○ SWAT team
○ Functional to POP○ Addition of Visual Tests○ Fix library issues, upgrades○ Imperative to Declarative scenarios - User
journeys instead of User scenarios
![Page 19: 123 automation framework](https://reader031.vdocument.in/reader031/viewer/2022022413/58ef7b7f1a28ab846e8b45c5/html5/thumbnails/19.jpg)
SOLUTIONSBiggest Win - Visual Tests
![Page 20: 123 automation framework](https://reader031.vdocument.in/reader031/viewer/2022022413/58ef7b7f1a28ab846e8b45c5/html5/thumbnails/20.jpg)
SOLUTIONSOptimising Test Runs - Running them in Parallel
![Page 21: 123 automation framework](https://reader031.vdocument.in/reader031/viewer/2022022413/58ef7b7f1a28ab846e8b45c5/html5/thumbnails/21.jpg)
SOLUTIONSA Good CI Setup - Right Dependencies
![Page 22: 123 automation framework](https://reader031.vdocument.in/reader031/viewer/2022022413/58ef7b7f1a28ab846e8b45c5/html5/thumbnails/22.jpg)
SOLUTIONSA Good CI Setup - Splitting tests based on what is being tested
![Page 23: 123 automation framework](https://reader031.vdocument.in/reader031/viewer/2022022413/58ef7b7f1a28ab846e8b45c5/html5/thumbnails/23.jpg)
SOLUTIONSAdditional Tools to help us improve code quality - Sonar
![Page 24: 123 automation framework](https://reader031.vdocument.in/reader031/viewer/2022022413/58ef7b7f1a28ab846e8b45c5/html5/thumbnails/24.jpg)
THANK YOU
linkedin - bhumikaiyengar