Skip to Content
Android Espresso Revealed: Writing Automated UI Tests
book

Android Espresso Revealed: Writing Automated UI Tests

by Denys Zelenchuk
March 2019
Intermediate to advanced content levelIntermediate to advanced
314 pages
6h 25m
English
Apress
Content preview from Android Espresso Revealed: Writing Automated UI Tests
© Denys Zelenchuk 2019
Denys ZelenchukAndroid Espresso Revealedhttps://doi.org/10.1007/978-1-4842-4315-2_8

8. Espresso and UI Automator: the Perfect Tandem

Denys Zelenchuk1 
(1)
Zürich, Switzerland
 
Espresso is a perfect and fast test automation framework, but it has one important limitation—we are allowed to operate only inside our test application context. This means that it is not possible to automate tests for the following use cases:
  • Clicking application push notifications

  • Accessing system settings

  • Navigating from another app to the app being tested and vice versa

The reason for such a limitation lies in the nature of the Android Test instrumentation. Since during an Espresso test run, the application being tested and the test application processes ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

How to Communicate Successfully: The Halvorson Collection (2 Books)

How to Communicate Successfully: The Halvorson Collection (2 Books)

Heidi Grant Halvorson

Publisher Resources

ISBN: 9781484243152Purchase LinkPublisher Website