24
1 AUTOMATION FRAMEWORK, 2 MOBILE APPS, 3 PLATFORMS Bhumika Srinivas Lead Quality Analyst

123 automation framework

Embed Size (px)

Citation preview

Page 1: 123 automation framework

1 AUTOMATION FRAMEWORK, 2 MOBILE APPS, 3 PLATFORMS

Bhumika SrinivasLead Quality Analyst

Page 3: 123 automation framework

What isTest Automation?

Page 4: 123 automation framework

Automation -

A Safety Net

Page 5: 123 automation framework

Why do we doTest Automation?

Page 6: 123 automation framework

QUICK FEEDBACK

Page 7: 123 automation framework

What are we testing?

Page 8: 123 automation framework

Manual / Exploratory

UI

View

JavaScript

Integration

Unit

PLATFORMS SUPPORTED

Page 9: 123 automation framework

2 AIRLINE APPS

Page 10: 123 automation framework

10

Page 11: 123 automation framework

How are we testing?

Page 12: 123 automation framework

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

CALABASH & CUCUMBER - HOW?

Page 14: 123 automation framework

Traps we fell Into

Page 15: 123 automation framework

CUP-CAKE ANTI-PATTERN

Page 16: 123 automation framework

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

Whoa! How did we solve that problem

Page 18: 123 automation framework

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

SOLUTIONSBiggest Win - Visual Tests

Page 20: 123 automation framework

SOLUTIONSOptimising Test Runs - Running them in Parallel

Page 21: 123 automation framework

SOLUTIONSA Good CI Setup - Right Dependencies

Page 22: 123 automation framework

SOLUTIONSA Good CI Setup - Splitting tests based on what is being tested

Page 23: 123 automation framework

SOLUTIONSAdditional Tools to help us improve code quality - Sonar