Guest Blog: How to Use Gherkin and Espresso for Android Test Automation

How to Use Gherkin for Android Test Automation
How to Use Gherkin for Android Test Automation

Hello everyone,

Today’s guest is Tobias Doll, Test Automation Engineer in the Mobile Development Department of Deutsche Welle (DW). DW is a German public international broadcaster with goals to convey Germany as a “liberal, democratic state based on the rule of law”, to produce reliable news coverage and to provide access to the German language. 

With rich experience in mobile QA, Tobias is excited to share some insights on how to explore the possibilities of Espresso and how to fully leverage the power of Gherkin with Espresso for Android test automation. If you want to move on from Calabash and look for a new way to handle your Android app testing, this article is for you. Read on. 

Read more

Recording from WebView

Hi all,

I would like to present how to implement WebView in your application for good cooperation with Testdroid Recorder.

First issue is, that we can’t handle any events from WebView, if you don’t use own WebClient and don’t override method shouldOverrideUrlLoading with command view.loadUrl(url) For example:

[sourcecode language=”java”]
webView.setWebViewClient(new MyWebViewClient());

private class MyWebViewClient extends WebViewClient {
public boolean shouldOverrideUrlLoading(WebView view, String url) {
return false; //it doesn’t matter true or false for recording

If you override this method websites are opened directly in WebView, not in default browser. Anyway, all what we are able to record from WebView are clicks on screen (x, y), drags, send keys and enter texts. I hope this help you testing your application with WebViews.

Happy New Year and highlights of 2011

Greetings and Happy New Year 2012!

On the behalf of everyone here at Bitbar, allow me to thank each of you for  participating in the Testdroid story this past year—and take a moment to share some of the highlights.

Year 2011 was a huge success for Android, becoming the #1 smartphone platform in the world, and year 2012 will undoubtedly be even better for the entire community. More than 700 000 Android devices are activated every day,
more people use now mobile apps than mobile browser, for the first time ever and Android Market just recently reached 400 000 applications.
Demand for great apps and mobile services is enormous, and we are here to help everyone to launch the best Android apps & services around.
We at Bitbar have expanded our product offering during last year from Testdroid Recorder and Testdroid Server to Testdroid Cloud. We will continue to deliver our vision for making software testing as fast and easy as possible.