Home > testing > Robotium: Android automation testing taken one step further

Robotium: Android automation testing taken one step further

Even if I have been a little low on posts on technical parts of testing and test automation, this is something of an interest to me as well. For example, I have been doing some ruby/watir/cucumber gui automation testing. I really like cucumber and the intentions it has on communication between stakeholders.

This is actually also one of the intentions that my dear friend and colleague Renas Reda has with his new framework Robotium.

Robotium is a test framework created to make automatic black-box testing of Android applications significantly faster and easier than what is possible with Android instrumentation tests out-of-the-box.

With the support of Robotium, test case developers can write system and acceptance test scenarios, spanning multiple Android activities.

Inspired by cucumber, there are great plans to integrate with it or at least create the same kind of BDD syntax in Robotium. And I really like that idea.

Try it out, its open source at google code.

  1. Anders Westrup
    January 28, 2010 at 08:37

    Looks really nice. Now I just have to start doing some android development, so I have something to test… 🙂

  2. November 29, 2010 at 16:57

    I dont know this is the right place to place queries or not, but i got stuck very badly and looking for quick help.

    I have a requirement to write a andriod testing application which automates testing on device. I am targeting facebook as my base application. I am using Robotium framework in order to accomplish my requirement.

    Till now i could successfully implemented few features and stuck at one point very badly. I want to automate upload picture functionality but as soon as upload button click happened device default application gets activated and i couldn’t control the default app using robotium.

    Is there any way by which i can overcome this impediment by writing some code using robotium or writing a layer between OS & Robotim which can generate key stokes.

    Quick help would be much much appreciated.

    Thanks

    • Sigge
      November 29, 2010 at 22:28

      Hi anurag,
      I am glad you came to me with your question, however I am not really able to give you any good answer to you. I would suggest you write the same here:
      http://code.google.com/p/robotium/w/list
      Please provide some sample code as well, where you can show exactly what fails, and I am sure Renas or the others in the forum are able to help you.
      Good luck!

  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: