Enterprise Appium by Experitest - Enhance your Existing Appium Testing
Beyond Appium: Testing with Espresso & the Real Device Cloud
-
Upload
sauce-labs -
Category
Technology
-
view
402 -
download
0
Transcript of Beyond Appium: Testing with Espresso & the Real Device Cloud
![Page 1: Beyond Appium: Testing with Espresso & the Real Device Cloud](https://reader036.fdocuments.us/reader036/viewer/2022062523/5a6ecf0a7f8b9a70728b65bf/html5/thumbnails/1.jpg)
Beyond Appium:Testing with Espresso and the Real Device Cloud
Asaf Saar, Director Product Management, RDC
Clint Sprauve, Director Product Marketing, Mobile
![Page 2: Beyond Appium: Testing with Espresso & the Real Device Cloud](https://reader036.fdocuments.us/reader036/viewer/2022062523/5a6ecf0a7f8b9a70728b65bf/html5/thumbnails/2.jpg)
By 2018, more than 50 percent of users will go to a tablet or smartphone first for all online activities
THE WORLD GOES MOBILE
2
![Page 3: Beyond Appium: Testing with Espresso & the Real Device Cloud](https://reader036.fdocuments.us/reader036/viewer/2022062523/5a6ecf0a7f8b9a70728b65bf/html5/thumbnails/3.jpg)
IT’S MOBILE FIRST, BUT NOT MOBILE ONLYTHE NEED FOR MOBILE WEB TESTING
45% 50% 5%Year-On-Year Change:
-20% +30%
Year-On-Year Change: Year-On-Year Change:
-5%
Laptops &Desktops
MobilePhones
TabletDevices
Source: Digital in 2017: Global Review
More than half of the world’s web traffic now comes from mobile devices
3
![Page 4: Beyond Appium: Testing with Espresso & the Real Device Cloud](https://reader036.fdocuments.us/reader036/viewer/2022062523/5a6ecf0a7f8b9a70728b65bf/html5/thumbnails/4.jpg)
IMPACT OF POOR MOBILE QUALITY
Source: The 2016 Mobile App Report, ComScore
THE CONSEQUENCES OF POOR APP QUALITY ARE HIGH
● User frustration
● Lost revenue
● App abandonment
● Bad Reviews and word of mouth
● Damage to brand reputation
4
A 4.5 star app is downloaded 3.7x more than a 3.5 star app.
x3.7
79%Of users will only retry an app once or twice if it fails to work the first time.
![Page 5: Beyond Appium: Testing with Espresso & the Real Device Cloud](https://reader036.fdocuments.us/reader036/viewer/2022062523/5a6ecf0a7f8b9a70728b65bf/html5/thumbnails/5.jpg)
THE CHALLENGES ARE REAL
5
MASSIVE VARIABILITY MAKES MOBILE TESTING COMPLEX
WebHybridNative
DeviceFragmentation
VariousApp Types
Geographically Dispersed
Users
![Page 6: Beyond Appium: Testing with Espresso & the Real Device Cloud](https://reader036.fdocuments.us/reader036/viewer/2022062523/5a6ecf0a7f8b9a70728b65bf/html5/thumbnails/6.jpg)
Test Automation Frameworks
![Page 7: Beyond Appium: Testing with Espresso & the Real Device Cloud](https://reader036.fdocuments.us/reader036/viewer/2022062523/5a6ecf0a7f8b9a70728b65bf/html5/thumbnails/7.jpg)
WHY MOBILE AUTOMATION FRAMEWORKS?
7
![Page 8: Beyond Appium: Testing with Espresso & the Real Device Cloud](https://reader036.fdocuments.us/reader036/viewer/2022062523/5a6ecf0a7f8b9a70728b65bf/html5/thumbnails/8.jpg)
Appium is an open-source tool for automating
native, mobile web, and hybrid applications on iOS
and Android platforms
WHAT IS APPIUM?
8
![Page 9: Beyond Appium: Testing with Espresso & the Real Device Cloud](https://reader036.fdocuments.us/reader036/viewer/2022062523/5a6ecf0a7f8b9a70728b65bf/html5/thumbnails/9.jpg)
▪ Automate native, web and hybrid mobile apps
▪ Test on real devices and emulators/simulators
▪ Use any language that Selenium supports (Java, Python, C#, Ruby, JavaScript, PHP, etc.)
▪ Single framework for both iOS and Android
▪ Supported by a large Open Source Community
ADVANTAGES OF APPIUM
9
![Page 10: Beyond Appium: Testing with Espresso & the Real Device Cloud](https://reader036.fdocuments.us/reader036/viewer/2022062523/5a6ecf0a7f8b9a70728b65bf/html5/thumbnails/10.jpg)
Espresso is a Test Automation frameworks for Android that provides
a set of APIs to build UI tests to test user flows within an app. These
APIs let you write automated UI tests that are concise and that run
reliably. Espresso is well-suited for writing white box-style automated
tests, where the test code utilizes implementation code details from
the app under test
WHAT IS ESPRESSO?
10
![Page 11: Beyond Appium: Testing with Espresso & the Real Device Cloud](https://reader036.fdocuments.us/reader036/viewer/2022062523/5a6ecf0a7f8b9a70728b65bf/html5/thumbnails/11.jpg)
ADVANTAGES OF ESPRESSO
11
▪ Espresso test development is easy○ Integrated with Android Studio○ Automatically updated○ Based on Java & JUnit○ CI/CD Ready
▪ Simple, super fast and reliable
▪ Automatic synchronization ○ Automatic synchronization results in less flakiness○ Ensures your activity is started before the tests run
![Page 12: Beyond Appium: Testing with Espresso & the Real Device Cloud](https://reader036.fdocuments.us/reader036/viewer/2022062523/5a6ecf0a7f8b9a70728b65bf/html5/thumbnails/12.jpg)
Demo
![Page 13: Beyond Appium: Testing with Espresso & the Real Device Cloud](https://reader036.fdocuments.us/reader036/viewer/2022062523/5a6ecf0a7f8b9a70728b65bf/html5/thumbnails/13.jpg)
Questions?
![Page 14: Beyond Appium: Testing with Espresso & the Real Device Cloud](https://reader036.fdocuments.us/reader036/viewer/2022062523/5a6ecf0a7f8b9a70728b65bf/html5/thumbnails/14.jpg)
MOBILE APP TESTING FRAMEWORK RESOURCES
Source: The 2016Mobile App Report, ComScore
● Continuous Integration for Espresso - The Sauce Labs Cookbook ...
● 3 Step Guide On Parallel Testing on Multiple Mobile Devices ...
● Mobile Testing Automation Framework – Choose The Right One …
● https://github.com/testobject/espresso-reference-test
● https://github.com/testobject/espresso-runner
● https://wiki.saucelabs.com/display/DOCS/Continuous+Integration+for+Espresso
● Additional resources on open source frameworks
14