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.
Hi,
I am also trying to automate an application with just a .apk file. I have tried using the re-sign from http://troido.de/en/downloadslsmallgsoftware-a-driverslsmallg but it gives me an error. Can you help?
Hi Ahbi,
You can try this link from the same website:
http://www.troido.de/re-sign.jar
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 “applicationName.apk.zip” , 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
androiddebugkey
> zipalign 4 applicationName.apk TempApplicationName.apk