Reputation: 7062
I have the whole project for tablets with resources and already have bunch of test cases written in combination of Robotium, Android and JUnit APIs
In a project which under testing is used special attribute for one of activities android:process=":remote"
. At the point where activity with this attribute already loaded I can use Robotium methods but can't get access to the elements on current screen. So seems like I should relaunch instrumentation or initialize new instance of Solo
. I tried to do this, but no help, seems like I can't relaunch it in other process from my test. Maybe someone have an experience of testing such kind of applications and know how to implement it with Robotium
or using directly android.test API?
Upvotes: 3
Views: 1388
Reputation: 3720
You can use IUAutomator, but it works on api >= 16: http://developer.android.com/tools/testing/testing_ui.html
You can always use monkey runner: http://developer.android.com/tools/help/monkeyrunner_concepts.html however it's based on x,y
There is no option to use robotium, neither instrumentation to test multiple processes.
Upvotes: 1