1 AUTOMATION FRAMEWORK, 2 MOBILE APPS, 3 PLATFORMS
Bhumika SrinivasLead Quality Analyst
ABOUT US
linkedin - bhumikaiyengar
What isTest Automation?
Automation -
A Safety Net
Why do we doTest Automation?
QUICK FEEDBACK
What are we testing?
Manual / Exploratory
UI
View
JavaScript
Integration
Unit
PLATFORMS SUPPORTED
2 AIRLINE APPS
10
How are we testing?
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
CALABASH & CUCUMBER - HOW?
Traps we fell Into
CUP-CAKE ANTI-PATTERN
Web Service
View
JavaScript
Integration
Unit
Developers Test Pyramid QA Team Test Pyramid
DUAL TEST PYRAMID ANTI-PATTERN
Manual / Exploratory
UI
Web Service
Whoa! How did we solve that problem
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
SOLUTIONSBiggest Win - Visual Tests
SOLUTIONSOptimising Test Runs - Running them in Parallel
SOLUTIONSA Good CI Setup - Right Dependencies
SOLUTIONSA Good CI Setup - Splitting tests based on what is being tested
SOLUTIONSAdditional Tools to help us improve code quality - Sonar
THANK YOU
linkedin - bhumikaiyengar