Robotium in Action

Be patient from 00:10 to 00:24 as I run the program.

Here I wrote a small Robotium project to test Skype apk I got from Google Play after properly processing it. No source code is needed. I clear previous user name and enter new username/ password, go to contact, call Echo / Sound Service, turn on speaker to make it louder, take a screenshot at exact 5 seconds (or any time you want), then end call, go back and log out.

The screen shot is in Robotium-Screenshot folder on sdcard. You can add time stamp to the file name in Robotium so you can take a lot of screenshots.

The only drawback is that the password will show up on device, whether you use enterText() or typeText(). I think I might have a solution but I haven’t try it out.


2 thoughts on “Robotium in Action

  1. Hi Ahbi,
    You can try this link from the same website:
    Or use jarsigner
    follow the steps (reference: Robotium website):
    Un-zip the apk file
    * Delete the META-¬INF folder
    * Re-zip the apk file
    It will zip file as “” , rename it and make it as “applicationName.apk”
    * In Dos prompt/Terminal write following commands
    > jarsigner -keystore ~/.android/debug.keystore -storepass android -keypass android applicationName.apk
    > zipalign 4 applicationName.apk TempApplicationName.apk

Leave a Reply

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

You are commenting using your 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