Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Appium vs Espresso for automated testing framework

For last few weeks, I was using Appium(python) for android testing but yesterday we have decided to shift to Expresso(Java) for automated testing. There are couple of reasons why we are making this shift:

  • We want to scale out our automated testing, and there are lot of features not present in appium.

  • This is one of the latest testing framework for android, and has nice backward compatibility.

  • Small API and very easy to customize.

I have been reading for Espresso but I don't find anything great at all, If I compare it with Appium. I am a Python/R developer so maybe there are couple of points I am not able to understand. Would anyone like to help me understand if the shift to this new testing framework will be good for future? I am missing the bigger picture here, and any help would be greatly appreciated.

like image 753
python Avatar asked Feb 23 '16 17:02

python


People also ask

Which is better espresso or Appium?

Overall, Espresso is much more stable than Appium for automated Android UI testing. In addition to that, the execution of test scripts is much faster.

What is the alternative for Appium?

Selendroid, Detox, BrowserStack, Selenium, and Kobiton are the most popular alternatives and competitors to Appium.

Is Appium black box testing?

Like Selenium, Appium can facilitate black box testing by simulating a user's workflow in a mobile app or a website accessed via a mobile device browser.


2 Answers

  1. The Shifting will be very much useful as Espresso supports testing activities outside the app like camera, browser and dialer etc which appium does not support.
  2. Espresso you can test toast message, auto complete and dialogs which are outside app.
  3. With Espresso Test Suit you can find code coverage and measure your testing efforts.
like image 114
anuja jain Avatar answered Sep 22 '22 05:09

anuja jain


You can go to Espresso if you're sticking only to Android automation and have no idea of automating iOS.

AFIKW, Espresso needs source code of the app in order to automate it.

Advantage is, it's directly open-sourced by google.

But my go is to go with Appium since its a large open sourced community with huge enhancements on its way and easy to automate with any programming language and needless to say it supports both Android and iOS.

like image 40
karthick23 Avatar answered Sep 22 '22 05:09

karthick23