Hello Espresso! Start with Android Gray box automation by Gaurav Singh

Опубликовано: 01 Ноябрь 2024
на канале: ConfEngine
765
15

TL;DR Summary

Espresso is a powerful UI automation framework for the Android platform that offers gray box automation capabilities and has a simple, concise, and rich API. 
Onboarding to use espresso can however sometimes take time. In this talk, I will explain how to get started with Espresso in the shortest time possible and we’ll look at some recipes on how to automate common app scenarios with espresso API.

Abstract

It’s 2022 and most businesses these days are mobile-first with a presence on major platforms. UI automation is a critical part of the testing strategy of businesses looking to release high-quality apps with confidence. While unit testing is a much wider adopted practice, writing scalable UI automation is often a challenge due to its higher fidelity.


Espresso is the dominant UI automation library for android from Google that provides a rich and concise API to test your android app's UI with confidence without sacrificing reliability and with minimal flakiness due to amazing integration with underlying instrumentation.
For an n00b engineer approaching their first Espresso test, it could be especially tough to wrap your head around its idioms and android context and get set up quickly. 

Well, In this talk:
we’ll solve for that exact persona and provide a quick understanding of an espresso test structure
Follow up by diving deeper into its API
Discuss different ready to use recipes that developers could use to solve some common use cases with mobile UI automation
Provide a boilerplate framework.

I'll share Github repo links that have app source code along with their Espresso UI tests to follow along or revisit later.



More details: https://confengine.com/conferences/se...

Conference Link: https://2022.seleniumconf.in