Android - issue in controlling builtin app using Robotium

0
0

I am writing an android testing application which automates testing on the device.

I am targeting facebook as my base application and writing an app using the Robotium framework in order to accomplish my requirement.

Until now i have successfully implemented a few features, but I am stuck at one point: I want to automate the “upload picture” functionality, but as soon as the upload button is clicked, the device builtin application gets activated. I could not control the default app using Robotium.

Is there any way to solve this, by writing some code using robotium or writing a layer between the OS and Robotium which can generate key stokes?

  • You must to post comments
0
0

I don’t think you can do that. However you might be able to make your own modified version of the built-in application and use that instead (if you can make it default and so not have to go through a selection screen), or root a phone and break its security model to use as an automated testing device.

  • You must to post comments
Showing 1 result
Your Answer
Post as a guest by filling out the fields below or if you already have an account.
Name*
E-mail*
Website